Fatal error: Class '...' not found


(kars-t) #1

Hi,

I constantly get “Fatal error: Class ‘…’ not found” on random classes. This shifts from page load to page load. And sometime I get a Zend Framework session error.

On my local Ubuntu stage everything runs fine. My Webserver is

Apache/2.2.3 (Debian) PHP/5.2.0-8+etch16 mod_ssl/2.2.3 OpenSSL/0.9.8c

Any idea to resolve this?


(vipsoft) #2

Sounds like filesystem issues. Contact the host provider.


(kars-t) #3

Thanks for your answer.

It is my own root server and I have a lot of drupal sites running without any problems.
I did some debug prints in the autoloader class and really do not understand this.

The autoloader tries to load:
Piwik_ViewDataTable_GenerateGraphData_ChartEvolution

The path is:
/var/kunden/…path…/core/ViewDataTable/GenerateGraphData/ChartEvolution.php

If I copy & paste the path to the shell and load it with nano I can see the class is there. But class_exists() from PHP doesn’t recognise it.

Maybe you can share some light on this? Debian Bug with the autoloader?


(vipsoft) #4

Try a newer php version.


(kars-t) #5

Okay thanks. I feared an answer like this style_emoticons/<#EMO_DIR#>/wink.gif