WordPress.org

Ready to get started?Download WordPress

Forums

After upgrade to 1.5: admin.php problems (11 posts)

  1. orangeguru
    Member
    Posted 9 years ago #

    Ok.

    Deleted all my old WP files except the wp-config.php.
    Uploaded all the new goodies.
    Run update.php - said it worked.

    The normal blog is working, but I can't access any admin-functions.

    This is what I get when I try to go to the admin panel via:

    http://www.orangeguru.net/weblog/wp-admin/admin.php

    I get this:

    Warning: main(/www/htdocs/v079818/weblog//wp-admin/menu.php) [function.main]: failed to create stream: No such file or directory in /www/htdocs/v079818/weblog/wp-admin/admin.php on line 39

    Warning: main(/www/htdocs/v079818/weblog//wp-admin/menu.php) [function.main]: failed to create stream: No such file or directory in /www/htdocs/v079818/weblog/wp-admin/admin.php on line 39

    Fatal error: main() [function.main]: Failed opening required "/www/htdocs/v079818/weblog//wp-admin/menu.php" (include_path=".:..") in /www/htdocs/v079818/weblog/wp-admin/admin.php on line 39

    I can see that it is using a doubleslash // for the admin directory URL. Dunno from where and why it is using these instructions.

    Help appreciated.

    Thanks.

  2. orangeguru
    Member
    Posted 9 years ago #

    FYI: The upgrade was from 1.5 beta6 to 1.5 final.

  3. orangeguru
    Member
    Posted 9 years ago #

    Oke, it's working now.

    Deleted the whole WP-Setup (again).
    Copied all files onto the server again.
    Run upgrade.php again (this time with an error message).
    Logged into the admin.php (working now).
    Reinstalled (copied) all my old plugins, hacks and theme.
    Tadaaaaa ... one happy orange bloggger again.

    ;-)

  4. TechGnome
    Moderator
    Posted 9 years ago #

    I bet it was the plugins..... People, remember to DISABLE ALL YOUR PLUGINS FIRST, if you are going to delete all the files before upgrading. You'll save yourself a world of hurt if you do.

    Tg

  5. orangeguru
    Member
    Posted 9 years ago #

    Hmmm. Hard to say. Because I deleted the whole setup BEFORE I started the first time. Weird.

  6. orangeguru
    Member
    Posted 9 years ago #

    I also removed some settings from my .htaccess the final WP1.5 didn't like.

  7. TechGnome
    Moderator
    Posted 9 years ago #

    Hmmm. Hard to say. Because I deleted the whole setup BEFORE I started the first time. Weird. - orangeguru

    But did you disable them first? Before deleting all the files? I shot myself in the foot with my blog (fortunately it was only my test site) when I did that exact thing. I blindly deleted the files w/o first disabling the plugins.... Got tons of errors very similar to yours.

    Tg

  8. anthonymcg
    Member
    Posted 9 years ago #

    So where does it hold the setting that a plugin is turned on or off? Is it in the DB?

  9. orangeguru
    Member
    Posted 9 years ago #

    @TG: Ahhhh ... now I see what you mean. No simply deleted them. If plugins should be TURNED OFF before upgrading either the upgrade.php should do it for you or tell you to do so,

    Thanks for the hint anyway.

  10. Matt Mullenweg
    Troublemaker
    Posted 9 years ago #

    http://codex.wordpress.org/Upgrading_WordPress

    Mentions turning off plugins, which I've made bold now, but you're right that having a note in upgrade.php itself probably wouldn't hurt.

  11. orangeguru
    Member
    Posted 9 years ago #

    As much as I love the codex and try to stay up to date ... it should be in the software/updater itself. Can't his be done by the via teh upgrade routine itself?

    BTW: Thanks for the great release and all the work you guys have done.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.