Jump to content

HTTP Error 500 after SQL Server move - syntax error, unexpected 'archive' (T_STRING)

Go to solution Solved by Daniel F,

Recommended Posts

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

Link to comment
Share on other sites

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.

Could contain: Text, Face

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.  



Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...