Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Using PHP classes to call API seems broken #1487

Closed
mattab opened this Issue · 2 comments

1 participant

Matthieu Aubry
Matthieu Aubry
Owner

See in the page: http://dev.piwik.org/trac/wiki/API/CallingTechniques

The error: <b>Fatal error</b>: Class 'Piwik_Session' not found in <b>/home/www/piwik.org/demo/index.php</b> on line <b>44</b><br />

Maybe autoloader doesn't search in the proper paths? any idea?

Matthieu Aubry
Owner

after setting: define('PIWIK_ENABLE_SESSION_START', false);

error is <b>Fatal error</b>: Class 'Piwik_FrontController' not found in <b>/home/www/piwik.org/demo/misc/api_internal_call.php</b> on line <b>9</b><br />

similar to previous report in http://forum.piwik.org/index.php?showtopic=1130

Matthieu Aubry
Owner

seems fixed in trunk....

Matthieu Aubry mattab added this to the Piwik 0.6.4 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.