ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Parse error: syntax error, unexpected '{', expecting ')'

September 24, 2012 4:10pm

Subscribe [1]
  • #1 / Sep 24, 2012 4:10pm

    thereader

    14 posts

    Parse error: syntax error, unexpected ‘{’, expecting ‘)’ in /public_html/main/tr-ee/expressionengine/libraries/Functions.php(659) : eval()‘d code on line 151

    Hello, I’m running into this error each time I switch the PHP to input instead of output.  I’m trying to get some POST/GET results page off a form submission.  I’m not sure what’s causing this, but it’s consistent on any template I switch input onto.  Line 659 looks like it’s evaluating the PHP and might be confusing a expressionengine tag somewhere?  Anyone have any ideas what I should be searching for?

  • #2 / Sep 24, 2012 4:23pm

    thereader

    14 posts

    Nevermind, it looks like I’m getting it to pass on output now.  Still new to expressionengine and figuring it all out.

  • #3 / Sep 24, 2012 5:22pm

    thereader

    14 posts

    It was spaces in the javascript.  Once I disabled all javascript on the template, the POST/GET using php variables within EE tags worked fine.  Need to go through and clean all the JS up.

  • #4 / Sep 25, 2012 3:36pm

    Dan Decker

    7338 posts

    Hi thereader,

    Oh, good! Looks like you sniffed it out!

    Is there anything else I can assist you with?

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases