My site has been running for a long time now no probs. Then I just noticed this error the other day. I don't know how long it has been there, maybe weeks.
I've looked through the log in cache/log
[2014-01-07 17:20:04] (ERROR @ /index.php) Error caching script elements/modsnippet/1
[2014-01-07 17:20:04] (ERROR @ /index.php) Error caching script elements/modsnippet/1
[2014-02-12 14:16:09] (ERROR in xPDOConnection::connect @ /content/shard2/sites3/d/a/danoneillmusic.com/web/core/xpdo/xpdo.class.php : 3051) SQLSTATE[HY000] [2002] Connection timed out
[2014-02-12 14:16:39] (ERROR in xPDOConnection::connect @ /content/shard2/sites3/d/a/danoneillmusic.com/web/core/xpdo/xpdo.class.php : 3051) SQLSTATE[HY000] [2002] Connection timed out
[2014-02-12 14:16:39] (ERROR @ /index.php) Error preparing statement for query: SELECT `modSession`.`id` AS `modSession_id`, `modSession`.`access` AS `modSession_access`, `modSession`.`data` AS `modSession_data` FROM `modx_session` AS `modSession` WHERE `modSession`.`id` = ? -
[2014-02-12 14:17:10] (ERROR in xPDOConnection::connect @ /content/shard2/sites3/d/a/danoneillmusic.com/web/core/xpdo/xpdo.class.php : 3051) SQLSTATE[HY000] [2002] Connection timed out
[2014-02-12 14:17:40] (ERROR in xPDOConnection::connect @ /content/shard2/sites3/d/a/danoneillmusic.com/web/core/xpdo/xpdo.class.php : 3051) SQLSTATE[HY000] [2002] Connection timed out
Don't really understand most of this!
There are some timeouts I notice. My [uneducated] guess is that Modx was trying to contact the database and couldn't probably because the upgrade* was happening?
*Note: My hosting upgraded my web server from Zeus to Apache a few weeks ago. They say it wouldn't effect anything - a simple switch they said.
[ed. note: pauloneill79 last edited this post 12 years, 5 months ago.]