Jump to content


Photo
- - - - -

Please help with Login


This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 watto1981

watto1981

    Member

  • Members
  • PipPip
  • 12 posts

Posted 28 January 2011 - 02:57 PM

Hi, Was trying to write some code in the theme editor, and unfortunately made an error and get the following message; "Parse error: syntax error, unexpected ':', expecting ',' or ';' in /homepages/36/d315703125/htdocs/Elementary/wp-content/themes/platformpro/functions.php on line 19" Can anyone help please !! Thanks

#2 bevj

bevj

    Super Member

  • Members
  • 200 posts

Posted 28 January 2011 - 05:38 PM

yeah, I've seen this before because as a man with large fingers frequently break things. . The scorched earth method There are a few ways to fix it but one of the quickest that I have found is to revert the functions.php file back to default. Using your ftp or cpanel backend, replace the functions.php file. with the one from the platform zip file. Word of warning, All custom php coding added to this file will be lost using this method. hopefully this helps, Bev