Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes dependencies from Zend Loader in Pdo Adapter #2331

Closed
anonymous-matomo-user opened this issue Apr 18, 2011 · 2 comments
Closed

Removes dependencies from Zend Loader in Pdo Adapter #2331

anonymous-matomo-user opened this issue Apr 18, 2011 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@anonymous-matomo-user
Copy link

On a fresh install of Piwik 1.3, I've got the following error :

Fatal error: Class 'Zend_Loader' not found in /home/web/stats/piwik/libs/Zend/Db/Adapter/Pdo/Abstract.php on line 182

This error occured during the installation process just after setting database parameters

I've tryed to add the Zend/Loader classes. It fix this bug, but raise an other error that Pdo Statement class in not found (it is expected because the Zend Loader is not initialised with correct path to classes directories).

So, I think the dependencies from Zend Loader is not a feature of your app but a bug (because it should use the core/Loader).

While waiting that the PDO Adapter works (fixed dependencies), I'll use the MysqlI Adapter.

Keep up the good work.

@robocoder
Copy link
Contributor

I'm unable to reproduce this error.

Please check that all files are uploaded correctly. The filenames/directories are case-sensitive on Unix/Linux, eg

  • libs/Zend/Db/Adapter/Pdo/Mysql.php

@robocoder
Copy link
Contributor

In a proper installation, Piwik shouldn't even reach the Zend_Loader::loadClass(). During the Installation's System Check, there would have been warnings about missing files, e.g.,

  • libs/Zend/Db/Statement/Pdo.php

@anonymous-matomo-user anonymous-matomo-user added this to the 1.4 - Piwik 1.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
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants