• Resolved loriehrlich

    (@loriehrlich)


    What is a parse error?

    I went through the whole process of upgrading (using Filezilla) and took the “sample” out of the php file, also inserting my user name, password, etc. and now this is all I get on my website. h-e-e-e-l-p!!

    Parse error: parse error, unexpected T_STRING in /data/3/0/30/162/193162/user/195981/htdocs/wp-config.php on line 5

Viewing 11 replies - 1 through 11 (of 11 total)
  • To know what is causing the parse error, it helps to see the actual line of code (and often the few lines just above it) the error refers to.

    So what does your wp-config.php look like around that line? If it involves the DB_PASSWORD, please ****** it out in a reply.

    Thread Starter loriehrlich

    (@loriehrlich)

    Thanks for the response and the *** reminder

    Is it this line?

    define(‘DB_PASSWORD’********’);

    Is there supposed to be an extra apostrophe in there?

    Each define in your wp-config.php should be formatted like this:

    define('DB_PASSWORD', '********');

    Note the single-quotes around each term and the comma between the PHP “constant” (in this case, DB_PASSWORD) and the value you are defining for it.

    Thread Starter loriehrlich

    (@loriehrlich)

    I think I just solved this (a minor miracle) but it bred a new problem:

    Fatal error: Call to undefined function: get_currentuserinfo() in /data/3/0/30/162/193162/user/195981/htdocs/wp-includes/kses.php on line 526

    Thread Starter loriehrlich

    (@loriehrlich)

    I found the relevant code. Just not sure what it’s looking for and in what form.

    get_currentuserinfo(); // set $current_user
    if (current_user_can(‘unfiltered_html’) == false)
    kses_init_filters();

    Thanks again.

    are you running any plugins that used user level? That has changed in 2.0, and thus, some plugins break things when upgrading.
    May need to disable all plugins, and activate one by one to discover the culprit.

    Thread Starter loriehrlich

    (@loriehrlich)

    I deactivated all of my plugins before the upgrade, so none should be running.

    Thread Starter loriehrlich

    (@loriehrlich)

    One more detail…That error message appears after I get the message “It doesn’t appear you’ve installed Word Press. Try running install.php” Above is the message I get when I click on it.

    Thread Starter loriehrlich

    (@loriehrlich)

    rutoh. Everyone visiting my blog is getting the same message. That can’t be good. Help is greatly appreciated.

    get_currentuserinfo() is a function from pluggable-functions.php, found in the wp-includes/ directory. I would suggest you delete all files in that directory and upload them again (in case of missing or corrupted files).

    Thread Starter loriehrlich

    (@loriehrlich)

    Done. All better.

    You rock!! Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Not to Parse words but…’ is closed to new replies.