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.

Functions.php(659)

February 06, 2012 3:32pm

Subscribe [3]
  • #1 / Feb 06, 2012 3:32pm

    leeaston

    634 posts

    This is cropping up on the front end of a site since I upgraded to 2.4, didn’t get the problem previously. Please bring it to the attention of the developers.

    Parse error: syntax error, unexpected T_STRING in /www/public_html/system/expressionengine/libraries/Functions.php(659) : eval()‘d code on line 138

    It only happens when using the front end of the site when loged in as admin as well

    Seems to be caused by:

    {exp:query sql='SELECT cat_id, cat_name FROM exp_categories WHERE parent_id = 0 AND group_id = 8 ORDER BY cat_order'}
    < li>< a href=”{path="catalogue/category/{cat_id}”}”>{cat_name}</a ></li >
    {/exp:query}

    Which runs OK in tools > dada >sql manager

    Best wishes
    Lee

  • #2 / Feb 06, 2012 4:27pm

    leeaston

    634 posts

    Turned out to be a third part module problem.

  • #3 / Feb 07, 2012 5:25pm

    Shane Eckert

    7174 posts

    Hello leeaston,

    I am glad you got to the bottom of this.

    Is there anything else I can help you with? Any questions?

    Cheers,

  • #4 / Feb 12, 2012 12:41pm

    Jake V

    4 posts

    leeaston,

    Which module was it causing problems for you, I’m experiencing similar issues.

    Thanks,
    Jake

  • #5 / Feb 12, 2012 12:43pm

    leeaston

    634 posts

    CartThrob

  • #6 / Feb 13, 2012 5:50pm

    Shane Eckert

    7174 posts

    Hello leeaston,

    Thank you for posting the module that was giving you problems.

    If you need anything else, we will be here!

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases