• Hi,

    I’m trying to install wordpress — I adjusted the wp-config.php file ok and fed it my db details. However, it throws the following error:

    Parse error: syntax error, unexpected T_LNUMBER in /data01/mhickman/public_html/wp/wp-includes/class-phpass.php on line 50

    Had a quick look at that line of code and it appears to be something to do with generating the password — the database details are all ok, since it creates the tables no problem.

    Any thoughts??

    TIA,

    Mat

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mathickman

    (@mathickman)

    Ooooh, this could be an FTP issue — think the file might have been corrupted during the upload. Starting over…

    Thread Starter mathickman

    (@mathickman)

    It was an FTP error. That line of code kept on getting corrupted. Initially I uploaded using Windows Explorer (lazy/ silly, I know). I then used SmartFTP, on ‘auto’ mode (which would’ve been ASCII for PHP files) and it kept corrupting that file. I then put it on Binary mode and it kept corrupting it.

    Eventually, I opened the remote file in HTML-Kit, the local file in WordPad and replace the contents of the remote version with the local one, saved it and all ok.

    However, I’m now a little nervous — which other files might have got corrupted without me knowing about it??

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Installation error’ is closed to new replies.