Syntax Error

  • Wiesel

    #6348

    Hello,

    if got a problem. After trying to edit the theme slider.php i get the error

    Parse error: syntax error, unexpected ‘<‘ in wordpress/wp-content/themes/graphene/includes/theme-slider.php on line 4

    But in line 4 there ist no “<“. Could someone help me?

    Thx

    Wiesel

    Anonymous

    #34032

    Unless you exactly know what you are doing, NEVER edit theme core files. Can you post the content of your theme-slider.php?

    Use http://pastebin.com to share the code.

    Wiesel

    #34034

    I get the error. Than i delete the code i added and save the theme-slider.php again. But the error is the same …. Does it make sense to copy the original file theme-slider over ftp to the right folder?

    Thx for helping me.

    Anonymous

    #34035

    Try updating your theme-slider.php with this one – http://graphene.googlecode.com/svn/trunk/graphene/includes/theme-slider.php

    BTW, why are you editing that file?

    Wiesel

    #34036

    Hmmm the error is the same.

    The window to edit the file is open, than i copy the new code in it and try to save it. Than i get the error again with this adress http://www.laufschuhkauf.de/wordpress/wp-admin/theme-editor.php …. I could go back with the back button of the browser but nothing else.

    Anonymous

    #34037

    You need to use cPanel file manager or FTP to edit that file once it throws the error.

    Wiesel

    #34038

    Ok. That fixed it. Thanks a lot! Very fast und perfect support.

    Anonymous

    #34039

    It’s okay. But, you didn’t tell why you’ve edited that file?

    Wiesel

    #34040

    Right you are 🙂 I thought that in this file i could insert the code of a rating plugin to show it in the slider. But now i unterstand that this doesn’t work 😉

Viewing 10 posts - 1 through 10 (of 11 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.