WordPress.org

Ready to get started?Download WordPress

Forums

syntax error, unexpected T_VARIABLE (8 posts)

  1. rule51
    Member
    Posted 2 years ago #

    I am trying to install WordPress, I followed the directions created the database edited the wp-config.php as I was suppose to and uploaded via FTP when I try to install I get this error

    Parse error: syntax error, unexpected T_VARIABLE in /home/content/r/u/l/rule51/html/sites/mikedifilippo/blog/wp-includes/option.php on line 225

    Any help?

  2. loughcorrib
    Member
    Posted 2 years ago #

    This error usually means you are missing {}} somewhere in the code. Remove all and try a new wp install

  3. rule51
    Member
    Posted 2 years ago #

    I tried downloading the .zip again and re FTPing the files still with the same error. I only changed the parameters outlined in the 5 minute tutorial.

  4. loughcorrib
    Member
    Posted 2 years ago #

    Unusual ! Any chance you removed ' ' from config.php. When changing names and keys
    Are you downloading wp direct from here ?

    Also what version php is on server ?

  5. rule51
    Member
    Posted 2 years ago #

    I do not believe I removed anything from the config.php plus I also tried just renaming the config.php with out adding the database information and the same error is given. The download is direct from the wordpress.org download page yes. PHP version is 4.x

  6. xdukeart
    Member
    Posted 2 years ago #

    i have same problem, i'm trying to resolve now, i try 3 times to download wordpress always same.

    good luck

  7. xdukeart
    Member
    Posted 2 years ago #

    i found the solutions for you :

    create a new file with name .htaccess.

    on this file you put this string : SetEnv PHP_VER 5

    after you have to upload on the main directory and for me it ok now.

  8. loughcorrib
    Member
    Posted 2 years ago #

    You need to update the version php as per codex

    requirements/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.