Forums

[resolved] Parse Error when trying to access install.php (6 posts)

  1. paradisemafia
    Member
    Posted 3 years ago #

    Setting up (or trying to) WordPress on a remote host (I can get it to work on a local one...) and I am receiving an error message almost immediately --

    When I try to access /wp-admin/install.php, I get the error message:

    Parse error: parse error, unexpected $ in /home/gregoryw/public_html/wp-settings.php on line 122

    I have a database set up, as well as a user on the database and the "wp-config.php" file is modified to reflect this.

    Any ideas as to what could be causing this error (and how to fix it)?

    PHP version 4.4.1
    MySQL 4.0.25-standard

    Thanks.

  2. doodlebee
    Member
    Posted 3 years ago #

    >>Parse error: parse error, unexpected $ in /home/gregoryw/public_html/wp-settings.php on line 122<<

    That means that, on line 122 of your code in the file "wp-settings.php", there is a "$" that shouldn't be there.

  3. paradisemafia
    Member
    Posted 3 years ago #

    I kinda thought that, but isn't that strange, since I have never edited the file after downloading it from wordpress.org?

  4. doodlebee
    Member
    Posted 3 years ago #

    Did you try a fresh download? Maybe the file got corrupted somehow.

  5. paradisemafia
    Member
    Posted 3 years ago #

    Interestingly, after a fresh download and install, i now get:

    Parse error: parse error, unexpected $ in /home/gregoryw/public_html/wp-admin/admin-functions.php on line 1131

    I am beginning to think I have too much $...

  6. paradisemafia
    Member
    Posted 3 years ago #

    Well, seem to have figured out the problem... the files were corrupting as I uploaded them. Had to check all file sizes on remote host against those on my computer. Not too fun...

    Thanks for the help though....

Topic Closed

This topic has been closed to new replies.

About this Topic