Dazz Posted June 7, 2022 Posted June 7, 2022 My host, Dreamhost, changed my sql server this morning and moved my database over to the new server. I am able to access the database on the correct server, but the main site is dropping errors. HTTP Error 500 Site is currently using PHP 7.4. Checking the logs shows the following: [07-Jun-2022 18:05:51 UTC] PHP Parse error: syntax error, unexpected 'archive' (T_STRING) in /home/xxxxxxxxxxx/xxxxxxxxxxxx.com/conf_global.php on line 27 [07-Jun-2022 18:05:51 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
Solution Daniel F Posted June 7, 2022 Solution Posted June 7, 2022 Your conf_global is broken because of line 27, I would suggest to just remove it:) Unfortunatly the FTP account we have on file was able to open it, but had no permissions to save the changes, so I couldn't fix it on my own. Jim M and SeNioR- 2
Dazz Posted June 7, 2022 Author Posted June 7, 2022 4 minutes ago, Daniel F said: Your conf_global is broken because of line 27, I would suggest to just remove it:) Unfortunatly the FTP account we have on file was able to open it, but had no permissions to save the changes, so I couldn't fix it on my own. Thanks. As soon as I posted this... I rechecked the conf_global and noticed the comment on that line wasn't commented out. I fixed it. Thanks SeNioR- 1
Marc Posted June 8, 2022 Posted June 8, 2022 Glad to hear that resolved the issue. Please let us know if you see any further problems 🙂
Recommended Posts