Jump to content


Photo
- - - - -
Resolved

Syntax Error Has Crashed My Site

crash php customize

  • Please log in to reply
3 replies to this topic

#1 gavclarke

gavclarke

    Member

  • Members
  • 11 posts
  • LocationLondon
  • Framework Version:the new one
  • Country: Country Flag

Posted 19 November 2012 - 03:10 AM

On adding to the 'pagelines-customize/functions.php' page I have somehow caused my site to crash and it won't let me access anything but the 'pagelines-customize/functions.php' page via the browser back button and no change i make, even my deleting all my additions and returning it to its original state makes any difference. The error message is:

Parse error: syntax error, unexpected $end in /home/content/70/10021170/html/wp-content/plugins/pagelines-customize/functions.php on line 61

Very worrying that I can't get into any of the site now. Site is here: www.irishlitsoc.org

#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 16342 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 19 November 2012 - 08:34 AM

Hi,

Not sure what you have added to your functions.php file but to resolve this issue, you're going to need to connect to your site via FTP. Once connected, navigate to:

/wp-content/plugins/pagelines-customize/

Then open the functions.php file and remove any custom code you added, save the file and allow to upload the changes. Then refresh your site and the issues should be resolved.

#3 gavclarke

gavclarke

    Member

  • Members
  • 11 posts
  • LocationLondon
  • Framework Version:the new one
  • Country: Country Flag

Posted 19 November 2012 - 09:46 AM

Phew, thanks - yes had to take out a little custom code that obviously didn't work. All fixed now.

Steep learning curve here, thanks for a clear and helpful response.

Gav

#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 16342 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 19 November 2012 - 10:04 AM

The topic was marked as resolved.





Also tagged with one or more of these keywords: Resolved, crash, php, customize