Skip to main content


!Friendica Admins Hello everyone!

I'm attempting to troubleshoot an issue where the server will randomly only display white pages, and the only thing that'll fix it is a full reboot of the system. So far I've traced it back to a fatal php error, but I don't have any logs to see anything more specific than that. I saw that putting the code found here into the config file would dump logs when it happens, however when I add that to my config file it just seems to cause that error and not really generate any log files to read. I'm not sure what I'm missing, but it doesn't seem to be working no matter where I throw it in local.config.php

in reply to Kristeil L.

@kegthoth rha is PHP also configured to log errors, like in the php.ini? Not in the Frienidca config file.
in reply to Kristeil L.

@utzer [Friendica]
It was, and I managed to find the log file! It's saying:
(date/time)(php:error)(PID #)(client IP address) PHP Fatal error: Uncaught mysqli_sql_exception: Connection refused in: (path/to/friendica/install/and/database)
It says that... a lot of times, seems at least 100, and then afterwards it says Caught SIGWINCH, shutting down gracefully.
After that it gave a couple of lines of PHP Fatal error, no such file or directory in /friendica/install.
Note: The IPs in the fatal error lines are all different
in reply to Kristeil L.

I did some googling as well, and I'm also seeing if setting the db location to 127.0.0.1 instead of localhost will help

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.