• Hi all,
    Just upgraded my WordPress to 2.6.2, and now trying to access the site I get the error:

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

    Going to /blog/wp-login.php I get the error:
    Fatal error: Call to undefined function force_ssl_admin() in /home/cmdrfire/www/blog/wp-login.php on line 15

    Seems to suggest that a file is missing, but I have checked everything and all files were uploaded (I use Filezilla, reuploaded 2 times, and have checked “by hand” that files are uploaded).
    I am using PHP5. Help?

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter cmdrfire

    (@cmdrfire)

    Well, I upgraded back up to 2.6.2. Same problem. Site is partially displaying. If I try to login now though, nothing happens when I press “Login” after I enter my credentials. Looks like the browser is going somewhere but stays at the login page.
    https://www.cmdr-fire.co.uk/blog/

    Meanwhile, spammers continue to post comments and I get hundreds of approve/reject messages I can’t log in to delete!

    it seems that cmdrfire has solved the problem . Now I am having exactly the same proble at my website(verypig.com). Could you tell me how did you make it ? Thanks a million!

    Thread Starter cmdrfire

    (@cmdrfire)

    Hi abcx,
    I did resolve the problem. I don’t know if you’ll be able to do the same thing that I did – but what I did was install another copy of wordpress at /blog2/ and using the same database, just a different header (so instead of wp_, it was wp2_)
    The thing to do then is to rename your wp_options to something else – wp3_options is what I named it- and then rename the wp2_options of the fresh install to wp_options (effectively giving you a fresh install of the wp_options). This will take away all your previously installed settings but did resolve the problem, and it was easy enough to set up.
    However, there may be a way you can avoid all of this. I suspect the underlying problem was due to my FAlbum plugin – although I had disabled the plugin and changed the name of the folder, there was a call to the plugin in my sidebar. Whenever the browser tried to parse the plugin, it failed, resulting in a half-rendered page. I’m not sure if this is also what was affecting my ability to log in or not, but I think that’s at least partway responsible for some of the problem.
    Of course, before you try anything make a backup of your database first!
    Best of luck,

    cmdrfire

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Undefined function wp() in wp-blog-header.php’ is closed to new replies.