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.

Unexpected $end ... eval()*d code on line 1

January 19, 2011 6:42am

Subscribe [2]
  • #1 / Jan 19, 2011 6:42am

    A bit of a strange one… I am getting the following error:

    Parse error: syntax error, unexpected $end in /SERVER ADDRESS/core/core.template.php(2967) : eval()‘d code on line 1

    It is on a template which houses a Freeform contact form, I have tested the Freeform code on a blank template of it’s own and it doesn’t throw up the error. I have replaced the ‘core.template.php’ file with a fresh one, didn’t make a difference. I have cleared caches (and deleted the contents of the Cache folder) to no effect.

    I have an almost identical install of EE using the same hosting company and that one is fine.

    Running: EE 1.7.0

    Any help regarding this would be much appreciated.

    EDIT: Additionally, when I remove the bulk of the template (the Freeform section) the template still shows the error. I am looking for errors in my coding, but the embeds used in the template are all used elsewhere with no issue.

    EDIT 2: It seems the form elements such as the inputs may have something to do with it, but I can’t be sure (I don’t think this is the cause now.)

    EDIT 3: It’s solved… one of my conditional comments was missing a quote mark. Silly me.

  • #2 / Jan 19, 2011 4:59pm

    Ingmar

    29245 posts

    No worries 😊 Post again in case there’s anything else, please.

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

ExpressionEngine News!

#eecms, #events, #releases