Support » Themes and Templates » Theme index.php HELP!!!

  • Resolved ju1ie


    Okay, I desperately need help with my current layout/theme. I’m using the warm and dry theme, and ever since last night, to all day this afternoon, I have been re-editing/editing it out, and I can’t figure out why I’m getting this error: Parse error: parse error, unexpected ‘?’ in /home/loveju1/public_html/wp-content/themes/dryandwarm/index.php on line 154

    I don’t know why i’m getting this error. It never happend to me before. If anyone can help me immediately, that would be great! I don’t know what i’m doing wrong. Please help!!



Viewing 11 replies - 1 through 11 (of 11 total)
  • So, what do you have on line 154?

    (and don’t yell in the title!)

    I wasn’t yelling. I’m just really desperate to have it fixed; plus, i’m extremely frustrated, because i have been literally trying to fix it all day.. I don’t know what you mean…..when you say, what i have online 154. I don’t know what that means. I’m sorta new to all of this stuff….

    (On the internet using only uppercase = yelling.)

    I understand it’s new for you, but if you are editing/re-editing your theme’s files I suppose you have some basic knowledge what are you doing. E.g. in every decent editor there is line numbering.
    If you cannot fix your theme I suggest you download it again and upload the fresh version.
    And for the future: before you start editing always make a backup copy, so if anything goes wrong you always have a clean, unmodified file to use.

    I have done that already…I always have a fresh copy of the index.php with the theme, but i don’t understand what the error means. I do know what i’m doing when i’m editing with the editor, but i can’t seem to get rid of this error. I have done literally everything I can think of, and don’t know what else to do.

    Can you post the code from your index.php file here and give the link:

    That might be more helpful ..

    I think you misunderstood me ..

    We need to see the actual code inside index.php and perhaps even header.php/footer.php, not the error displayed in the browser.

    So open the files up and paste the entire code in the file to the link I gave you, and this will provide you with a link to the code that you posted, which you can post back here, so that we can see the actual code.

    If you have any questions on how to do this post back ..

    Ok here’s is what seems to be the problem:

    If you look at the code, around line 149 you see this bit:

    <?php if(function_exists('zc_show_events')) :

    Change this to:

    <?php if(function_exists('zc_show_events')) :

    That should take out the parse error ..

    Thanks soo much! I will try that. I will post here again, if I have any more problems with this error. Hopefully, I won’t though. 🙂 Thanks, again for the fast responses. 🙂 I really really, REALLY appreciate it! 🙂

    No Problem.

    Glad to be of help. 🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Theme index.php HELP!!!’ is closed to new replies.