• Resolved bimple

    (@bimple)


    I upgraded to 2.7.1 with the automatic upgrade plugin, and it worked fine, but then I couldnt login to the admin area. I checked for similar problems, and people said to check the config file for extra spaces, and mine had none. THen I read that people suggested reupping the entire wp-admin file, but that didnt help eaither. THe error I am receiving is:

    Fatal error: Call to undefined function: get_option() in /home/mysite/public_html/wp-admin/admin.php on line 21

    This is line 21:
    if ( get_option(‘db_version’) == ‘db_upgraded’ ) {

    any ideas on how to get back to where I was?

    I also tried simply removing the if/else statement from line 21 and the following lines, but then I get this error:
    Fatal error: Call to undefined function: wp() in /home/mysite/public_html/wp-blog-header.php on line 14

    please help

Viewing 9 replies - 1 through 9 (of 9 total)
  • delete whats inside wp-admin

    reupload everything thats inside the local copy.

    In other words, delete first than upload.

    do the same for wp-includes/ ??

    Humor me, even if you swear you deleted files before, delete again :))

    yes, its a pain, yes, 99.999% of the time it fixes these problems.

    Thread Starter bimple

    (@bimple)

    Thanks for the reply – I did as you suggested, and also deleted and re-upped the wp-includes folder and I am now getting the

    Fatal error: Call to undefined function: wp() in /home/mysite/public_html/wp-blog-header.php on line 14

    error

    yap, thats another missed upload.

    what are you uploading with? whats you operating system? lets fix the process. ??

    oh, thats a missed file in the root directory, i think.

    your root is where the wp-config.php is ..

    delete all the files in the root directory that begin with wp- EXCEPT for wp-config.php

    Just the files, dont delete directorories. There should only be like 10 or so.

    Thread Starter bimple

    (@bimple)

    thanks for your help again. I am using Ipswitch WS_FTP Professional to upload.

    I did as you said, and still received the error. I then looked at the config file and noticed it was missing the

    define(‘NONCE_KEY’

    function, so I went to the secret key generator and added the NONCE_KEY to the config file and am now able to access the site, but the admin login page comes up blank and at least the blog is back now for viewing.

    ANy ideas on how to fix the blank login page? =/

    Thread Starter bimple

    (@bimple)

    ok what I did was renamed my plugins folder and I went to login and I got a message saying my database needed updating, so I did that,a dn was able to login to the admin area and see the dashboard, but when I change the folder name back to plugins I get an error saying that the wp-adminindex.php does not exist

    very odd

    yah that sounds like a plugin is causing trouble too.

    you can rename the plugins dir back, but you might want to delete whats in there, and reupload, reactivate as needed, and one at a time.

    if you keep having trouble drop me a line via the contact form on my site (click my gravatar, etc..) and Ill fix it all up for you. Im going to sleep shortly thou, so it would need to sit till tommmorow.

    Thread Starter bimple

    (@bimple)

    thanks for all the help – I got it all back to normal – just had to go through the login process a few times, as well as renaming the plugins folder a few times. Thanks again for all of your help

    youre welcome!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘upgraded to 2.7.1, now have errors’ is closed to new replies.