Warning: syntax error, unexpected '(' in /var/www/projetos/p5-biblio/.env on line 8
in /var/www/projetos/p5-biblio/app/src/config.php on line 5
Warning: session_name(): Session name cannot be changed after headers have already been sent in /var/www/projetos/p5-biblio/app/src/bootstrap.php on line 25
Warning: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent in /var/www/projetos/p5-biblio/app/src/bootstrap.php on line 27
Warning: session_start(): Session cannot be started after headers have already been sent in /var/www/projetos/p5-biblio/app/src/bootstrap.php on line 40
Warning: syntax error, unexpected '(' in /var/www/projetos/p5-biblio/.env on line 8
in /var/www/projetos/p5-biblio/app/src/config.php on line 5
Warning: syntax error, unexpected '(' in /var/www/projetos/p5-biblio/.env on line 8
in /var/www/projetos/p5-biblio/app/src/config.php on line 5
Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'biblioteca_app'@'172.18.0.4' (using password: NO) in /var/www/projetos/p5-biblio/app/src/db.php:17
Stack trace:
#0 /var/www/projetos/p5-biblio/app/src/db.php(17): PDO->__construct('mysql:host=dcs-...', 'biblioteca_app', Object(SensitiveParameterValue), Array)
#1 /var/www/projetos/p5-biblio/app/src/db.php(34): db()
#2 /var/www/projetos/p5-biblio/app/public/index.php(60): consulta('SELECT COUNT(*)...', Array)
#3 {main}
thrown in /var/www/projetos/p5-biblio/app/src/db.php on line 17