WordPress.org

Ready to get started?Download WordPress

Forums

HELP (18 posts)

  1. lou24
    Member
    Posted 9 years ago #

    I'm really new at this.
    I keep get this message every time I try to access my blog at http://www.spike.tv
    Parse error, unexpected $ in /www/s/spiketv/htdocs/index.php
    Can somebody please tell me how to fix this ?

    Thanks

  2. It looks like you have an unexpected $ at line 113 of /www/s/spiketv/htdocs/index.php. More than likely, this is a plugin issue. If you can login to your admin interface, try deactivating all of your plugins. If you can't, try moving all of your plugin files to a different directory.

  3. lou24
    Member
    Posted 9 years ago #

    I'm really new at this.
    I keep get this message every time I try to access my blog at http://www.spike.tv
    Parse error, unexpected $ in /www/s/spiketv/htdocs/index.php on line 113
    Can somebody please tell me how to fix this ?

    Thanks

  4. brainwidth
    Member
    Posted 9 years ago #

    (1) Access your blog's admin interface.

    (2) Go to the plugins tab, and deactivate any plugins that you have activated.

    (3) Click on "view site" at the top.

    Does that help you access your blog?

  5. lou24
    Member
    Posted 9 years ago #

    Thanks for the help guys. I accessed the admin interface and went to the plugins tab and all of the plugins had "activate" indicated next to them on the right. In other words, it appears that all of them are already deactivted.

  6. Kafkaesqui

    Posted 9 years ago #

    Let's step back for a moment: what is on line 113 of index.php in your blog's main directory?

  7. vkaryl
    Member
    Posted 9 years ago #

    *sigh* Nev' mind - senior and blond....

  8. lou24
    Member
    Posted 9 years ago #

    I know that I can access that information by going to the templates tab in my admin interface, but as stupid as this sounds, I'm not sure which line is 113.

  9. brainwidth
    Member
    Posted 9 years ago #

    Copy the text from your index.php file and paste it into pastebin. That will add line numbers for you.

  10. vkaryl
    Member
    Posted 9 years ago #

    It's hard to get line counts without a specific sort of editor interface. Go download phpEdit real quick, install, and open the file in that.

  11. vkaryl
    Member
    Posted 9 years ago #

    Oooh - forgot about the pastebin.... I never use it!

  12. lou24
    Member
    Posted 9 years ago #

    ok, I went to pastebin and copied the text from my index.php file and believe it or not the count came out to only 112 lines.

  13. Kafkaesqui

    Posted 9 years ago #

    I don't see a complete page there (i.e. it ends abruptly in mid PHP function, most likely the cause of the error).

    Do you have an original copy of your index.php?

    Oh, and:

    http://pastebin.com/284943

  14. lou24
    Member
    Posted 9 years ago #

    Thats all of the information that was in my index.php file that I obtained from going to the templates tab in my admin interface. I don't think that I have any other original copy of my index.php file other than whats in the admin interface.

  15. The error pertains to the source output of index.php when it's loaded. Go to your site again (you should see the error again). Then, in your browser, choose "View Source" and copy/paste that into Pastebin.

  16. Kafkaesqui

    Posted 9 years ago #

    It appears you're using the default index.php for 1.2.x, so if something corrupted the file, I've uploaded the *correct* one from the WordPress install:

    http://pastebin.com/284957

  17. lou24
    Member
    Posted 9 years ago #

    ok, I went to my site and copied the "view source" error information to pastebin like macmanx suggested. Now I'll download the pastebin.com/284957 install that Kafkaesqui suggested.

  18. lou24
    Member
    Posted 9 years ago #

    ITS FIXED ! The download worked. Thanks guys, I can't tell you how much I appreciate all of your help. Thanks for having pitty on a newbie like me.
    I really appreciate all of your help !

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags