Support » Installing WordPress » another parse error installation issue

  • Could somebody help with my installation issue?
    The error must be in my config file. I’ve unzipped wordpress a few times. I printed out my server’s MYSQL admin info to make sure i did the wordpress config right. Here is the error i keep getting,

    Parse error: syntax error, unexpected T_VARIABLE in /homepages/25/d288977833/htdocs/wp-includes/option.php on line 225

    my error might be in this line
    define(‘DB_PASSWORD’, ‘password_here’);
    Was I supposed to use my FTP password? is the – symbol an allowed character

    thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Ask your hosts to ensure that you are running PHP 5.2.4 at the very least.

    thanks esme.. i found something else to try
    theses lines
    define(‘AUTH_KEY’, ‘put your unique phrase here’);
    define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
    define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
    define(‘NONCE_KEY’, ‘put your unique phrase here’);
    define(‘AUTH_SALT’, ‘put your unique phrase here’);
    define(‘SECURE_AUTH_SALT’, ‘put your unique phrase here’);
    define(‘LOGGED_IN_SALT’, ‘put your unique phrase here’);
    define(‘NONCE_SALT’, ‘put your unique phrase here’);

    it probably wants a long special character password with no spaces, not a phrase

    You can get values for those fields via https://api.wordpress.org/secret-key/1.1/salt/ But, either way, that won’t be the problem in your current situation. Your hosts’ server offers both PHP 4 & PHP 5 and this is causing a problem in the install process. You need to switch over to PHP 5.

    well i didn’t get the parse error after following \esmes steps

    thanks
    instead i got this;

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at ‘the hostnane i used’. This could mean your host’s database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    i’m closer,
    i wonder if i use the host name my server provides or the on wordpress codex suggests

    Check your database details with your hosts.

    my host suggested i try my URL.com inplace of the localhost, but it didnt work
    maybe i should use localhost for my host name

    or maybe there are hidden files from my previous site

    idk, im using filezilla

    it finally worked

    it was space error
    my bad

    thanks 4 allthe help

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘another parse error installation issue’ is closed to new replies.