Hello, I have a strange problem with my site. From time to time (direct reason not found), the site frontend stop working and the PHP returns status 500. The backend works properly in that moment. There are a lot of errors in the log about missing cached data (see below for an example). I've already identified, that the problem is somehow connected with caching, but clearing the cache from the Manager does not help. But removing all cache directory contents manually (rm -rf *) always helps and site is OK after it.
Does anybody have a clue about the reason of such behavior? Or what kind of testing or investigating might I do to find the problem?
Thanks in advance
Pavel
The error log contains (after manual cache delete and in a few minutes):
[2012-06-06 10:29:10] (ERROR @ /connectors/system/log.php) Could not load class: unknown from mysql.unknown.
[2012-06-06 10:29:10] (ERROR @ /connectors/system/log.php) unknown::load() is not a valid static method.
[2012-06-06 10:29:10] (ERROR @ /connectors/system/log.php) Could not load class: unknown from mysql.unknown.
[2012-06-06 10:29:10] (ERROR @ /connectors/system/log.php) unknown::load() is not a valid static method.
[2012-06-06 10:42:18] (ERROR @ /index.php) Could not retrieve data to cache for resource 74
[2012-06-06 10:53:41] (ERROR @ /index.php) Could not retrieve data to cache for resource 468
Environment:
MODX 2.2.1-pl traditional on a shared hosting with:
PHP 5.3.2
Apache/2.2.13 (Unix) DAV/2
MySQL 5.0.87.d10-ourdelta-log
Linux Centos, kernel 2.6.18.
[ed. note: pavsyk last edited this post 14 years, 3 months ago.]