XF 2.2 Site is down with PHP fatal error

Splinter

Member
I haven't accessed my forum for quite some time since it's experimental at this stage. Anyway, it can't be reached and the error log gives me:
PHP Fatal error: Uncaught XF\Db\Exception: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/********************/public_html/baexpats.online/src/XF/Db/Mysqli/Adapter.php:165
Host is GoDaddy, PHP version is 7.3.6 and PHP extension: mysqli
I'm not an expert on this, but would like to know what to do in order to remedy this. It wouldn't be a disaster if I had to reinstall, but I would like to avoid that if possible.
Many thanks in advance for any help.
 
Oops, that's embarrassing.
I get unreachable in both Opera and Chrome, so I'd better clear the caches.
Sorry for time wasted, so please delete this thread if not deemed necessary.
With regards to SSL, I have no problems installing certs on my other sites, but I couldn't make head nor tail of the requirements for the htaccess file for XenForo. Is there a thread that covers this?
Many thanks once again.
EDIT
All fixed including SSL. Please delete.
 
Last edited:
Oops, that's embarrassing.
I get unreachable in both Opera and Chrome, so I'd better clear the caches.
Sorry for time wasted, so please delete this thread if not deemed necessary.
With regards to SSL, I have no problems installing certs on my other sites, but I couldn't make head nor tail of the requirements for the htaccess file for XenForo. Is there a thread that covers this?
Many thanks once again.
EDIT
All fixed including SSL. Please delete.
I recommend you to use CloudFlare instead of Let's Encrypt.
 
Back
Top Bottom