Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Jeet Chowdhury on January 28, 2011, 07:16:31 PM

Title: Error On Admin Login
Post by: Jeet Chowdhury on January 28, 2011, 07:16:31 PM
i have changed my host and domain name. now after uploading db and files. and done using repair_settings.php

forum open with default theme. normal member can log in but when admin try to log in get this error.


Parse error:  syntax error, unexpected $end, expecting ']' in /home/myforum5/public_html/Sources/ModerationCenter.php on line 1849
Title: Re: Error On Admin Login
Post by: CapadY on January 29, 2011, 09:04:44 AM
What SMF version ?
Title: Re: Error On Admin Login
Post by: JBlaze on January 29, 2011, 09:09:08 AM
That error means that there is an unexpected end to the script somewhere. I took a look at the file, and there is nothing wrong with it. Try uploading a fresh one from the Large Upgrade package and make sure to overwrite the old one. It could be that the file never fully uploaded to your server and got cut off.
Title: Re: Error On Admin Login
Post by: Jeet Chowdhury on January 29, 2011, 05:55:53 PM
i reinstalled forum with og files thats guys.
Title: Re: Error On Admin Login
Post by: Jokerâ„¢ on February 26, 2011, 12:20:11 PM
Quote from: Jeet Chowdhury on January 29, 2011, 05:55:53 PM
i reinstalled forum with og files thats guys.
Is this topic solved or do you need further assistance with it?