Warning: session_start(): Cannot start session when headers already sent in /home/marrakecq/www/config.php on line 2

Warning: Use of undefined constant SERVER - assumed 'SERVER' (this will throw an Error in a future version of PHP) in /home/marrakecq/www/login-admin/config/ASPDO.class.php on line 19

Warning: Use of undefined constant BASE - assumed 'BASE' (this will throw an Error in a future version of PHP) in /home/marrakecq/www/login-admin/config/ASPDO.class.php on line 19

Warning: Use of undefined constant USER - assumed 'USER' (this will throw an Error in a future version of PHP) in /home/marrakecq/www/login-admin/config/ASPDO.class.php on line 19

Warning: Use of undefined constant PASS - assumed 'PASS' (this will throw an Error in a future version of PHP) in /home/marrakecq/www/login-admin/config/ASPDO.class.php on line 19
erreurPDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/marrakecq/www/login-admin/config/ASPDO.class.php:19 Stack trace: #0 /home/marrakecq/www/login-admin/config/ASPDO.class.php(19): PDO->__construct('mysql:host=SERV...', 'USER', 'PASS', Array) #1 /home/marrakecq/www/login-admin/lib/includes/actions.class.php(6): ASPDO::getInstance() #2 /home/marrakecq/www/login-admin/lib/includes/BaseClass.class.php(429): actions->__construct() #3 /home/marrakecq/www/login-admin/lib/languages.class.php(23): BaseClass->__construct() #4 /home/marrakecq/www/config.inc.php(51): languages->__construct() #5 /home/marrakecq/www/index.php(2): require('/home/marrakecq...') #6 {main} Next PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/marrakecq/www/login-admin/config/ASPDO.class.php:19 Stack trace: #0 /home/marrakecq/www/login-admin/config/ASPDO.class.php(19): PDO->__construct('mysql:host=SERV...', 'USER', 'PASS', Array) #1 /home/marrakecq/www/login-admin/lib/includes/actions.class.php(6): ASPDO::getInstance() #2 /home/marrakecq/www/login-admin/lib/includes/BaseClass.class.php(429): actions->__construct() #3 /home/marrakecq/www/login-admin/lib/languages.class.php(23): BaseClass->__construct() #4 /home/marrakecq/www/config.inc.php(51): languages->__construct() #5 /home/marrakecq/www/index.php(2): require('/home/marrakecq...') #6 {main}
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/marrakecq/www/login-admin/lib/includes/actions.class.php:185 Stack trace: #0 /home/marrakecq/www/config.inc.php(57): actions->getByElement('LANG_ALIAS', 'fr') #1 /home/marrakecq/www/index.php(2): require('/home/marrakecq...') #2 {main} thrown in /home/marrakecq/www/login-admin/lib/includes/actions.class.php on line 185