WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 3.1 Beta 2 upgrade, now I can't log in (19 posts)

  1. Wheat Williams
    Member
    Posted 3 years ago #

    Pardon me if this is the wrong forum. Where should I post this request, if not here?

    Within a working stable 3.0.4 installation, I installed the Beta Tester Plugin, set it for "Bleeding Edge" and upgraded. Within WordPress, it indicated that update was successful. But when I clicked on Dashboard, I get this:

    Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/content/w/h/e/wheat395/html/wordpress/wp-includes/class-wp-admin-bar.php on line 160

    Now I get the same error if I close the browser and go back to my login page

    http://wheatwilliams.com/wordpress/wp-login.php

    As you can guess, the WordPress blog is not at the root of my Web hosting directory. Is that related to the problem?

    Can I fix this by easily editing a string? How do I go about this?

  2. elfin
    Moderator
    Posted 3 years ago #

    try deactivating all plugins, and revert to the default twentyten theme. Does that solve it?

  3. Wheat Williams
    Member
    Posted 3 years ago #

    I cannot log in, so how can I deactivate anything?

  4. elfin
    Moderator
    Posted 3 years ago #

    Use FTP and rename all plugin directories, and ditto for themes.

  5. elfin
    Moderator
    Posted 3 years ago #

    ahh, are you using PHP4? Looks like someone else is having a similar issue.

  6. Wheat Williams
    Member
    Posted 3 years ago #

    I'm hosted by Godaddy.

  7. Wheat Williams
    Member
    Posted 3 years ago #

    Yes, PHP 4.x

  8. elfin
    Moderator
    Posted 3 years ago #

  9. Wheat Williams
    Member
    Posted 3 years ago #

    I have looked at your link and modified the string it indicates.

  10. Wheat Williams
    Member
    Posted 3 years ago #

    Disregard

  11. Wheat Williams
    Member
    Posted 3 years ago #

    Now that I have edited that line, I get a second error on trying to log in:

    Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/content/w/h/e/wheat395/html/wordpress/wp-admin/includes/media.php on line 1479

  12. elfin
    Moderator
    Posted 3 years ago #

    check again. there are some files called class. as opposed to class- which might mean you've missed it.

  13. Wheat Williams
    Member
    Posted 3 years ago #

    Sorry, Rich, we're out of sync here.

    I found the correct file, and modified the correct string, and once I did that, i tried to log back in and I got a second error:

    Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/content/w/h/e/wheat395/html/wordpress/wp-admin/includes/media.php on line 1479

  14. elfin
    Moderator
    Posted 3 years ago #

    posted on the testers list, I'll keep an eye out for updates for you.

  15. Wheat Williams
    Member
    Posted 3 years ago #

    Thank you. I'm a total newbie when it comes to .php code, so I do need help. And I have never used the bug tracking system here before, so thanks for posting for me.

    Status:

    The WordPress site runs and the outside world can see it, but I still cannot log in and perform any admin functions.

  16. Samuel Wood (Otto)
    Tech Ninja
    Posted 3 years ago #

    If you're using GoDaddy, do yourself a favor and switch to PHP 5. It works way better and allows the automatic upgrade to work properly as well.

  17. Wheat Williams
    Member
    Posted 3 years ago #

    Thanks, Otto. I changed the string in

    wordpress/wp-includes/class-wp-admin-bar.php

    back to what it was originally.

    I went into my GoDaddy hosting control and changed from php 4 to php 5.

    Everything seems to work correctly now.

  18. elfin
    Moderator
    Posted 3 years ago #

    additionally the other issue is now addressed in this ticket:
    http://core.trac.wordpress.org/ticket/16080

  19. sow
    Member
    Posted 3 years ago #

    I've just gone through this problem on two test sites(not being able to login to my website after upgrading to WP 3.1 RC2) and there is a quicker way to deactivate all your plugins than renaming/deleting all plugins - just rename the plugins folder to something like /plugins-x.

    This gives you login access to you site and you can apply the latest build of WP 3.1 RC2 and you will get a list of all de-activated plugins.

    You will now be able to create a new /plugin folder and drag each plugin from /plugin-x over to test.

    Cheers

    Will

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.