Advertisement:

Author Topic: An Error Has Occurred! syntax error, unexpected 'elseif' (T_ELSEIF) - SMF 2.0.17  (Read 158 times)

Offline statusjpn

  • Semi-Newbie
  • *
  • Posts: 18
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:

Quote
An 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/ [nofollow]

Appreciate any help in advance!

Offline statusjpn

  • Semi-Newbie
  • *
  • Posts: 18
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!