1

A client asked for some assistance in connecting up some Snippet Sync files and after uploading the files and Submitting the settings I get the following error when I try to load the home page:

Parse error: syntax error, unexpected '}' in expressionengine/libraries/Functions.php(683) : eval()'d code on line 712

The site is running EE 2.5.5 and I can access the control panel without difficulty.

I would appreciate any assistance available on this.

Thanks.

4
  • Have you updated the functions.php file? Seems to be corrupted!
    – Timo002
    Commented Apr 5, 2014 at 13:04
  • I have not done anything with the functions.php file. Since this is a 2.5.5 site, what would be the best option?
    – forrest
    Commented Apr 5, 2014 at 15:48
  • Solved your issue already? I have really no idea what to do. Debugging the functions.php file? What files did you update?
    – Timo002
    Commented Apr 8, 2014 at 20:21
  • The problem wan't with the functions.php file, it was bad code in one of the snippets where a value was not found and was causing the extra }
    – forrest
    Commented Apr 8, 2014 at 20:32

1 Answer 1

1

It's an eval() error, which means the syntax in your templates is incorrect.

Check the snippets you recently changed, and in particular look for something like:

{if something == "nothing"}

{/if}} <-- oops! extra closing bracket
1
  • Hi Adrian, I haven't been able to spot any extra closing brackets, but it lead me to a search of all the snippets. There appears to be some erroneous coding coding on with gwcode_categories, which I will pursue separately. Thanks for your help.
    – forrest
    Commented Apr 7, 2014 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.