• Resolved christernyc

    (@christernyc)


    When I try to run the wp-admin/install.php after uploading wordpress to the remote server I get:
    Parse error: parse error, unexpected ‘.’ in /var/www/vhosts/duchessmarden.com/httpdocs/blog/wp-includes/user.php on line 449

    Any clue where I screwed up?

    I thank you in advance

Viewing 7 replies - 1 through 7 (of 7 total)
  • Are you using WordPress 2.7.1?
    Find the file wp-includes/user.php and find ine number 449 and post it here.

    Thread Starter christernyc

    (@christernyc)

    ok:

    449 ‘show_option_all’../../wordpress/wp-includes/ => ”, ‘show_option_none’../../wordpress/wp-includes/ => ”,

    Hope that helps, thanks for helping out!

    Regards

    Christer

    Ok replace that line with
    'show_option_all' => '', 'show_option_none' => '',

    Thread Starter christernyc

    (@christernyc)

    Thank you for helping!!

    ok, I replaced line 449 as instructed, now I get:

    Parse error: parse error, unexpected ‘.’ in /var/www/vhosts/duchessmarden.com/httpdocs/blog/wp-includes/user.php on line 450

    I’ll give you the whole thing now:

    446 function wp_dropdown_users( $args = ” ) {
    447 global $wpdb;
    448 $defaults = array(
    449 ‘show_option_all’ => ”, ‘show_option_none’ => ”,
    450 ‘orderby’../../wordpress/wp-includes/ => ‘display_name’, ‘order’../../wordpress/wp-includes/ => ‘ASC’,
    451 ‘include’../../wordpress/wp-includes/ => ”, ‘exclude’ => ”, ‘multi’ => 0,
    452 ‘show’ => ‘display_name’, ‘echo’ => 1,
    453 ‘selected’ => 0, ‘name’ => ‘user’, ‘class’ => ”
    454 );

    From what you told me to do with line 449, I’m assuming I will have to do the same with line 450 and 451, take out the “../../wordpress/wp-includes/ =>” stuff.

    Having taken out those wordpress comments from lines 450 and 451, I am now getting parse errors on other pages that have the wordpress/wp-includes/ stuff. Should I keep going and take all those out?

    Thanks again!!

    Thread Starter christernyc

    (@christernyc)

    so I proceded and and took out all the ../../wordpress/wp-includes/ where ever the parse error occured. Wasn’t too much, maybe around 10-15 lines, and it works now!!

    yo tomontoast, you ‘da man, thanks bro!

    Thread Starter christernyc

    (@christernyc)

    whoops, ok. spoke to soon.

    I was able to finally access the set up page and enter the blog name and email. Later when I got the user name and password i entered the dashboard and I seem to have eliminated its link to the css, because the dashboard is completely without any styles or images.

    Obviously I must have got rid of one too many ../../wordpress/wp-includes/. Any clue where I went wrong or how I can get the dashboard to reconnect to the css? I will poke around…

    Thanks!

    Thread Starter christernyc

    (@christernyc)

    Resolved:

    If you’re using Dreamweaver, never, EVER let Dreamweaver update the links when you change the name of the downloaded WordPress folder to another name before uploading to your hosting.

    Took me all day to figure that one out…I’m quite ashamed…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Parse error: parse error, unexpected – https://example.com/blog/wp-admin/install.’ is closed to new replies.