Jump to content

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

Featured Replies

Posted

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

Solved by Daniel F

Go to solution
  • Solution

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

  • Author
 

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.  

Thanks

 

  • Community Expert

Glad to hear that resolved the issue. Please let us know if you see any further problems 🙂

Recently Browsing 0

  • No registered users viewing this page.