Can't get rid of this parse error locally (3 posts)

  1. Dave P.
    Posted 6 years ago #

    I have a blog online that works fine, but as soon as I try and use the theme locally I always get a parse error that I can't figure out how to fix.

    Is there anything I can do to try and figure out what's causing it compared to the www version?

    I've tried deactivating all plugins, and still get the error.

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    It might help if you actually told us what the parse error is and/or where.

  3. Dave P.
    Posted 6 years ago #

    I know but it doesn't tell me anything besides parse error on line 45 on single.php (or index.php if I'm on the homepage).

    I've been able to get the page to load by removing some if/then statements for custom fields as well as one I have that shows some code on the page if a cookie is set.

    These both work on the web, but not locally....I'm wondering if maybe there is something with the way the web server is configured that's not letting it work.

    I can post the specific code I'm removing to make it work if that helps?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.