Warning: Undefined variable $host in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $db in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $user in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $pass in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $host in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $db in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $user in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $pass in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $host in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $db in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $user in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $pass in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $host in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $db in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $user in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $pass in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $host in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $db in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $user in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $pass in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $host in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $db in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $user in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $pass in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $host in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $db in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $user in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $pass in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $host in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $db in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $user in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $pass in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $host in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $db in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $user in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $pass in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $host in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $db in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $user in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $pass in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $host in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $db in /home/vipoemat/public_html/config/database.php on line 30

Warning: Undefined variable $user in /home/vipoemat/public_html/config/database.php on line 37

Warning: Undefined variable $pass in /home/vipoemat/public_html/config/database.php on line 37

Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2) in /home/vipoemat/public_html/config/database.php:37 Stack trace: #0 /home/vipoemat/public_html/config/database.php(37): PDO->__construct() #1 /home/vipoemat/public_html/models/Category.php(52): getPDO() #2 /home/vipoemat/public_html/controllers/ProductController.php(46): Category::getAllWithProductCount() #3 /home/vipoemat/public_html/index.php(65): ProductController->gallery() #4 {main} thrown in /home/vipoemat/public_html/config/database.php on line 37