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
Failed opening required 'Zend/Registry.php' #634
Comments
was it working before the upgrade to the new version? can you try to apply this patch and go to piwik/ and copy paste what is shown on screen (either “false” or the string of include path) ``` -set_include_path(PIWIK_INCLUDE_PATH ``` |
ping |
I applied that patch now as I have exactly the same problem with the latest.zip (downloaded today, april 26 2009). The output is now: bool(false) In case you need to know more about my server config. Here's where I try to run it: http://repogen.simplylinux.ch/phpinfo.php (and here the patched index: http://repogen.simplylinux.ch/piwik/index.php ) |
If you set the php include path in your apache configuration or .htaccess, piwik cannot set it. |
??? I don't understand what you mean. |
Your phpinfo indicates that you have locally overridden the master php.ini value for include_dir. If you can't see this in your Apache configuration, check your .htaccess files. These are applied recursively to subdirectories, so you you should check your piwik folder and parent folders. |
There's nothing there that overrides anything now. I did include the path in the master because by default there is a "." as include. I have no idea how to take that out. |
My guess is that you would comment out the line. |
Hmmm, I added now those three dirs manually to the include path in confixx. The include path in phpinfo shows now as: .:/usr/share/php:/var/www/web30/html/piwik/libs:/var/www/web30/html/piwik/plugins:/var/www/web30/html/piwik/core However now I get this error: Fatal error: Class 'Piwik_Common' not found in /var/www/web30/html/piwik/core/Piwik.php on line 98 |
You're missing the piwik root directory. |
Well, added the piwik root directory and it looks now like: .:/usr/share/php:/var/www/web30/html/piwik:/var/www/web30/html/piwik/libs:/var/www/web30/html/piwik/plugins:/var/www/web30/html/piwik/core However the error persists: Fatal error: Class 'Piwik_Common' not found in /var/www/web30/html/piwik/core/Piwik.php on line 98 |
My guess is that you have a /usr/share/php/Log.php file which Piwik finds instead of its own core/Log.php. Move /usr/share/php to the end of the include patch (as in Piwik's index.php). |
e.g., /var/www/web30/html/piwik:/var/www/web30/html/piwik/libs:/var/www/web30/html/piwik/plugins:/var/www/web30/html/piwik/core:/usr/share/php |
Finally :) thx for the help |
After Upgrade to the lasted versions, i get a lot of this error messages:
Warning: require_once(Zend/Registry.php) [function.require-once]: failed to open stream: No such file or directory in mydomain.ch/subdomains/piwik/httpdocs/core/ErrorHandler.php on line 12
Fatal error: require_once() [function.require]: Failed opening required ‘Zend/Registry.php’ (include_path=‘.:.:’) in mydomain.ch/subdomains/piwik/httpdocs/core/ErrorHandler.php on line 12
All files are existing and new upload with no success.
The text was updated successfully, but these errors were encountered: