News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

An Error Has Occurred! syntax error, unexpected 'elseif' (T_ELSEIF) - SMF 2.0.17

Started by statusjpn, February 20, 2020, 07:00:01 AM

Previous topic - Next topic

statusjpn

Hey guys, looking for some help here. Recently upgraded my 2.0.15 forum to 2.0.16 and thereafter to 2.0.17. There was some errors flagged which i had to manually edit the "Profile-Modify.php" file.

Now when i go to the Register a new account page - www.***.com/register, it throws an error:

QuoteAn Error Has Occurred! syntax error, unexpected 'elseif' (T_ELSEIF)

Not sure what i did wrong editing the code, can anyone help?

The actual error page is here -> http://www.suzukiclubsg.com/register/

Appreciate any help in advance!

statusjpn

I copied the Profile-Modify.php file from another SMF site that i have over to this site and that fixed the issue. Hope there'll be no complications from using the PHP file from another site. All good for now subject to further testing. Hope this helps someone who made the same mistake!

Advertisement: