Support » Fixing WordPress » Parse Error in downloaded class_snoopy.php

  • Hello,

    I’m new to blogging and wordpress, and have just installed it on my web server… wordpress that is :o).

    Anyway, during the installation process… after I’d entered a title for my blog and email address, then logged in with the password the installation process gave me, I got this error…

    Parse error: parse error, unexpected $, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /hsphere/local/home/constine/ on line 656

    This is line 656…
    function _stripform($document)
    I haven’t changed class-snoopy.php at all.

    The only other bit of information I can give you is upon editing the wp-config.php file, for the line that looks like this…

    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    I had to change localhost to, because when I first went to run install.php I got an error saying something like it couldn’t connect to my database, or my database server was down. So I switched localhost to my databases host name… which is and the error went away!

    Does anyone know how I can resolve this error? As it’s a strange one as a parse error indicates there’s some type of typo in class-snoopy.php, but that can’t be! Because the file is the file I unziped for wordpress download! Confused I am! Help I need!

    Thanks in advance.


Viewing 1 replies (of 1 total)
  • This error is only displayed on the dashboard. Any ideas how I can resolve it? Do I need to use the dashboard for anything?

    Thanks in advance,


Viewing 1 replies (of 1 total)
  • The topic ‘Parse Error in downloaded class_snoopy.php’ is closed to new replies.