Using PHP classes to call API seems broken #1487

Closed
mattab opened this Issue Jul 18, 2010 · 2 comments

1 participant

@mattab
Piwik Open Source Analytics member

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?

@mattab
Piwik Open Source Analytics member

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

@mattab
Piwik Open Source Analytics member

seems fixed in trunk....

@mattab mattab added this to the Piwik 0.6.4 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment