Forums

Upgraded to 2.7, now can't log in (17 posts)

  1. loveservices
    Member
    Posted 11 months ago #

    Hello,

    I followed the prompt and uploaded to 2.7 by downloading the zip, unzipping, reading the README, and following the instructions. I uploaded the contents of wp-admin to my server and replaced all the files. Then I ran upgrade.php but is shows this error:

    Fatal error: Call to undefined function: has_cap() in /var/www/vhosts/blah.com/httpdocs/wp-admin/includes/schema.php on line 22

    The blog is still visible, but when I go the the admin login page I see this error:

    Fatal error: Call to undefined function: wp_user_settings() in /var/www/vhosts/benlovegrove.com/httpdocs/wp-admin/admin-header.php on line 14

    Can anyone suggest how to fix this?

    Thanks,
    Ben

  2. skemple
    Member
    Posted 11 months ago #

    From what you said it sounds like you only updated the files in the wp-admin folder. You should update all the files and folders.

    Whenever I upgrade I follow this basic guide
    http://codex.wordpress.org/Upgrading_WordPress

    I do as suggested and manually do the wp-content folder, so I don't accidently mess up my themes or plugins

    other than that you overwrite everything else.

  3. ecologycenter
    Member
    Posted 11 months ago #

    Same exact error here. I updated everything (not just wp-admin folder), preserving my theme and plugins, and filling out new wp-config.php file.

    Any solution yet, Ben?

  4. jpctw
    Member
    Posted 11 months ago #

    Exact same error here when updating to 2.7

  5. jpctw
    Member
    Posted 11 months ago #

    Update: make sure your FTP-program uploads all files. I changed to Bullet-FTP, re-uploaded and wp 2.7 is working like a charm now.

  6. ecologycenter
    Member
    Posted 11 months ago #

    My error. I hadn't uploaded files to the right place after all. Never mind.

  7. azaozz
    Member
    Posted 11 months ago #

    Left at default settings some FTP programs would not overwrite existing files. Others would only replace files if they exist, but not add new files...

    Usually wp-admin and wp-includes can safely be deleted before starting an upgrade through FTP. That can fix some unusual problems too and reveal files that have permissions problems/cannot be deleted, etc.

  8. loveservices
    Member
    Posted 11 months ago #

    I use SmartFTP. It prompts if a file or directory is to be overwritten, so I simply select the option that makes sure all files are updated. I've upload the entire contents of wp-admin including subdirectories but I also preserved my theme and plugins, and filled out new wp-config.php file.

    When I downloaded the upgrade and unzipped it there was only the wp-admin folder with files and subdirectories. Should there be more?

  9. loveservices
    Member
    Posted 11 months ago #

    Uh-oh, there is more isn't there....

  10. kejabe
    Member
    Posted 11 months ago #

    I have a particular site that I upgraded to 2.7 and whilst the site works as before, when I try and login I get this:

    Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked.

    All the files are there in the wp-admin folder, I updated the site using the Wordpress Automatic Upgrade plugin and was able to login ok yesterday. I have not changed anything on the site or the server. I can request a new password ok, but it just gives this Redirect Loop Error.

    Anyone got an idea of what I can do to log in?

    Thanks

    Kev

  11. MichaelH
    moderator
    Posted 11 months ago #

    kejabe - your question deserves its own thread, so please start a new topic.

  12. MichaelH
    moderator
    Posted 11 months ago #

    loveservice - it is possible, if using the built in Windows unzip facility that you didn't get everything unzipped. Try using 7-zip to unzip the files then revisit Steps 7 and 8 of Upgrading WordPress Extended.

  13. halend
    Member
    Posted 11 months ago #

    #@#@#@@@#... the same error here...
    after wanting to enter the dashboard (yx.com/wp-admin):

    Fatal error: Call to undefined function wp_user_settings() in /home/xxxxxxx/public_html/xxxxxx.com/wp-admin/admin-header.php on line 14

    Upgraded to WP 2.7 almost 40 blogs yesterday via cpanel, and the question: how can I fix this manually? (I always used cpanel for installing and upgrading)

    Help appreciated :)

  14. loveservices
    Member
    Posted 11 months ago #

    Well, I solved the original problem by unzipping and uploading all the correct files (I had missed some when I first tried).

    Now, the errors are as follows. A visitor sees:

    Fatal error: Call to undefined function: wp_remote_post() in /var/www/vhosts/xxxxxxx.com/httpdocs/wp-includes/cron.php on line 201

    and the admin page shows:

    Fatal error: Call to undefined function: wp_remote_post() in /var/www/vhosts/xxxxx.com/httpdocs/wp-includes/cron.php on line 201

    So, how is it that wp_remote_post is an undefined function?

    How can I fix this?

  15. marylutz
    Member
    Posted 11 months ago #

    I use filzilla to upload my files. I deleted the old files, per the detailed instructions here on wp.org and am getting this error:

    Fatal error: Call to undefined function wp_remote_request() in /home/provbsco/public_html/wp-includes/update.php on line

    I've been searching all of these forums trying to find an answer. I've deleted the new wp files from my server, reinstalled my old files, deleted them again, down loaded and unzipped an entirely new 2.7 and uploaded per the instructions again.

    Same error. Has anyone figured this out yet? If so, please post some step by step instructions. I'm sorta new at this.

    Thanks!

    PS. I've successfully upgraded 2 blogs already today. The only diff. bet. this one and the other two is this is in directly in public_html.
    The other two are in public_html/blog1 public_html/blog2.

  16. loveservices
    Member
    Posted 11 months ago #

    I couldn't fix this, so I deleted all the 2.6 files, took a backup of my database, installed 2.7, and inserted my posts into a new database.

    I will think very carefully before upgrading again.

  17. nemo-maritime
    Member
    Posted 10 months ago #

    I am having a somewhat similar issue. I have upgraded to 2.7 from 2.5.1 and I am having a bit of an issue. My site worked ok at first and then crap hit the fan somewhere. The issue I am having now is that every now and then, but very frequent (7-10 page loads) I will get an error -
    Fatal error: Call to undefined method wpdb::has_cap() in /home/nemo-maritime/public_html/wp-admin/includes/schema.php on line 22
    on my site. This issue only comes up on the admin side of the site. It happens very randomly, and from pretty much any area of the admin panel I am on - editing comments, writing a post, whatever. After I get this issue/ERROR the url of the site changes to - mydomainname.com/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F or whatever page I just came from and got to this error, and changing the page url still gives me this error, any page in the admin section. This issue first started with me getting another fatal error, the error I got previously is - `Warning: require(../wp-load.php) [function.require]: failed to open stream: No such file or directory in /home/nemo-maritime/public_html/wp-admin/upgrade.php on line 18

    Fatal error: require() [function.require]: Failed opening required '../wp-load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nemo-maritime/public_html/wp-admin/upgrade.php on line 18` and another member gave me a solution that it was the load.php that was causing this issue, so I uploaded the new load.php file and this error disappeared, but then I got the new error that is stated on top.

    The thing with the site is that I have it set up on two servers, and it loads perfectly on both from the user side. The issue is the admin section. I have googled this issue and people mostly have this while they are upgrading with the plugins folder. I did try to change the plugins folder and name it to something else, but that did not do anything. The weird thing is that this issue disappears on its own after a while.... If I wait a few seconds/minutes and refresh the page, the error stops showing up and its gone for a while and it shows a "No upgrade required. Your WordPress database is already up-to-date!". Then I'll go back to taking care of the site and it redirects me to it again, and I have to wait for it to dissapear again by refreshing the page every few seconds. I uploaded my site by following the instructions... the only thing left for me to try is to delete everything from the servers and upload it all over again, but that is a huge pain in the ass so I thought I would look for help here first..... One weird thing that happened during upgrade is that I was not able to change the wp-config.php file, I tried and it gave me an error of Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/nemo-maritime/public_html/wp-config.php on line 56 so I left it as it was in 2.5, as I am supposed to? Anyways, leaving it fixed my issue with the error.... but now thins thing is giving me problems. I do have another site that is on the same server, and this one was upgraded from 2.6 to 2.7 and I am not having issues with that one at all.....

Reply

You must log in to post.

About this Topic