exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /home/entraide/public_html/libs/database/mypdo.php:11 Stack trace: #0 /home/entraide/public_html/libs/database/mypdo.php(11): PDO->__construct('mysql:dbname=en...', 'entraide_root', 'CCI2014', Array) #1 /home/entraide/public_html/libs/model/model.php(5): Libs_Database_MyPDO->__construct() #2 /home/entraide/public_html/modules/content/model/content.php(4): Libs_Model_Model->__construct() #3 /home/entraide/public_html/modules/index/controller/indexcontroller.php(9): Modules_Content_Model_content->__construct() #4 [internal function]: Modules_Index_Controller_indexController->index() #5 /home/entraide/public_html/libs/route/route.php(80): call_user_func(Array) #6 /home/entraide/public_html/libs/kernel.php(117): Libs_Route_Route->router(Object(Libs_Request_Request)) #7 /home/entraide/public_html/index.php(10): Kernel::run() #8 {main}exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /home/entraide/public_html/libs/database/mypdo.php:11 Stack trace: #0 /home/entraide/public_html/libs/database/mypdo.php(11): PDO->__construct('mysql:dbname=en...', 'entraide_root', 'CCI2014', Array) #1 /home/entraide/public_html/libs/model/model.php(5): Libs_Database_MyPDO->__construct() #2 /home/entraide/public_html/modules/category/model/category.php(5): Libs_Model_Model->__construct() #3 /home/entraide/public_html/modules/index/controller/indexcontroller.php(10): Modules_Category_Model_category->__construct() #4 [internal function]: Modules_Index_Controller_indexController->index() #5 /home/entraide/public_html/libs/route/route.php(80): call_user_func(Array) #6 /home/entraide/public_html/libs/kernel.php(117): Libs_Route_Route->router(Object(Libs_Request_Request)) #7 /home/entraide/public_html/index.php(10): Kernel::run() #8 {main}exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /home/entraide/public_html/libs/database/mypdo.php:11 Stack trace: #0 /home/entraide/public_html/libs/database/mypdo.php(11): PDO->__construct('mysql:dbname=en...', 'entraide_root', 'CCI2014', Array) #1 /home/entraide/public_html/libs/model/model.php(5): Libs_Database_MyPDO->__construct() #2 /home/entraide/public_html/modules/video/model/video.php(4): Libs_Model_Model->__construct() #3 /home/entraide/public_html/modules/index/controller/indexcontroller.php(11): Modules_Video_Model_video->__construct() #4 [internal function]: Modules_Index_Controller_indexController->index() #5 /home/entraide/public_html/libs/route/route.php(80): call_user_func(Array) #6 /home/entraide/public_html/libs/kernel.php(117): Libs_Route_Route->router(Object(Libs_Request_Request)) #7 /home/entraide/public_html/index.php(10): Kernel::run() #8 {main}
Fatal error: Call to a member function prepare() on a non-object in /home/entraide/public_html/libs/database/mypdo.php on line 38