• Resolved mayhem1969

    (@mayhem1969)


    Hello, I have tried to figure this issue out on my own, but I’m still unable to upgrade my wordpress to 3.0 from 2.9.2. Long story short, I was hacked. After several hours and calls to my host provider I was able to login to the admin panel and get my site up and running. However, I am unable to upgrade from an old backup version running 2.9.2 to 3.0, so I can continue to update.

    I have tried deleting wp-admin and wp-includes and manually installing from a version of 3.0 RC1 but when I login to the admin panel I don’t get notice of an upgrade and it says I am still using 2.9.2. Wondering if I should just delete the website and start over with a new version of WordPress, or if it is worth trying some things. Any help is appreciated. I already lost a lot of material in the hack and don’t want to lose everything.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 16 through 22 (of 22 total)
  • autotutorial

    (@autotutorial)

    Thread Starter mayhem1969

    (@mayhem1969)

    Thanks very much for your efforts in helping me. Unfortunately, I’m not a coder and I am unsure what you’re saying. I couldn’t begin to implement your suggestions.

    autotutorial

    (@autotutorial)

    Modify
    $blogs = array();
    To
    $blogs = array( $blog_id => new stdClass );
    file user.php on line 656

    Modify
    $blog_deets[ $blog_id ]->userblog_id = $blog_id;
    To

    $blog_deets[$blog_id] = new stdClass();
    $blog_deets[ $blog_id ]->userblog_id	= $blog_id;

    file user.php on line 705.

    you just have to write the code as I wrote, you can use a php IDE or Editor that tells you for correct syntax.

    Thread Starter mayhem1969

    (@mayhem1969)

    When I change the code I get this “Parse error: syntax error, unexpected ‘;’, expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in /home/kyaccide/public_html/wp-includes/user.php on line 656” on the login page.

    Also, on the second edit, is it all one line or should that occupy line 706 as well?

    Thread Starter mayhem1969

    (@mayhem1969)

    Sorry, I went by the email message of your text, which changed some of the characters. I have since edited based on your code here. The error messages have disappeared and I am able to log out and back in from the admin panel. Thanks, so much for your help. I will proceed to continue updates.

    autotutorial

    (@autotutorial)

    ok you have to proceed to update 2 minors at a time up to wordpress 3.7 if you have php 5.6.20 you can install wordpress 5.2.1 otherwise with php 5.2.4 wordpress 5.1
    🙂

    Thread Starter mayhem1969

    (@mayhem1969)

    Got it. Thanks, again. You’ve been a tremendous help.

Viewing 7 replies - 16 through 22 (of 22 total)

The topic ‘Upgrade Issues’ is closed to new replies.