Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display errors only in debug mode #15

Open
victorb opened this issue Oct 24, 2015 · 1 comment
Open

Display errors only in debug mode #15

victorb opened this issue Oct 24, 2015 · 1 comment

Comments

@victorb
Copy link

victorb commented Oct 24, 2015

Can't use any functionality, database seems to be down and it's also outputting the database credentials upon failure.

 Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)' in /var/www/html/upload.php:34 Stack trace: #0 /var/www/html/upload.php(34): PDO->__construct('mysql:host=loca...', 'root', 'Patate12345') #1 {main} thrown in /var/www/html/upload.php on line 34
@cloutier cloutier changed the title ipfs.pics not working Display errors only in debug mode Oct 24, 2015
cloutier added a commit that referenced this issue Oct 24, 2015
@cloutier
Copy link
Member

That's actually embarrassing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants