( ! ) Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' in /home/vgallery/web/vgallery.magtu.ru/public_html/components/Db.php on line 23 |
( ! ) PDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/vgallery/web/vgallery.magtu.ru/public_html/components/Db.php on line 23 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 239432 | {main}( ) | ../index.php:0 |
2 | 0.0005 | 266288 | Router->run( ) | ../index.php:18 |
3 | 0.0007 | 281744 | call_user_func_array:{/home/vgallery/web/vgallery.magtu.ru/public_html/components/Router.php:80}
( ) | ../Router.php:80 |
4 | 0.0007 | 282000 | SiteController->actionIndex( ) | ../Router.php:80 |
5 | 0.0011 | 392680 | Category::getCategoriesList( ) | ../SiteController.php:15 |
6 | 0.0012 | 398664 | Db::getConnection( ) | ../Category.php:16 |
7 | 0.0013 | 401928 | __construct
( ) | ../Db.php:23 |