Forums

[resolved] [2.7] upgrading has severely messed my site up (7 posts)

  1. dominoeffect
    Member
    Posted 3 years ago #

    Hi all,

    I'd already successfully upgraded to 2.7 on my other sites, so I didn't expect things to go horrifically wrong at this one: http://earz-mag.com

    You can see for yourself that they did...

    I went through the upgrade replacing all the files etc, then visited /wp-admin/, and the new 2.7 admin panel worked fine.

    Unfortunately the site itself didn't though.

    I have WP installed on a different directory from the homepage, at earz-mag.com/em/, and I noticed that under 'settings' this had reverted back to stating earz-mag.com/ for both my homepage URL and installation directory.


    (NB: I don't recommend to anyone that they install WP on a different directory to the homepage-- it causes more trouble than its worth when it comes to upgrades and stuff.)

    So I changed it to 'earz-mag.com/em/' to fix the mistake, hoping that things might fall into place.

    They didn't and now it's worse than before. I can't even access the admin panel now!!

    Any help / ideas / suggestions from the WP community?

    Thank you,

  2. iridiax
    Member
    Posted 3 years ago #

  3. robmmad16
    Member
    Posted 3 years ago #

    Be glad you still have a site, my admin panel is simply gone, and only loads blank pages. Fresh installs of wordpress won't work, so wordpress has become entirely useless for me! And nobody has a solution for the problem. Apparently loads of people have the same problems!

  4. dominoeffect
    Member
    Posted 3 years ago #

    @iridiax: thanks for the link, will get right into it.

    robmmad: that sucks, what's the URL for your site? Do you not still have backups of the database/content?

    I will keep this post updated.

  5. figaro
    Member
    Posted 3 years ago #

    @robmmad16

    Who is you host? It's strange that a fresh install doesn't work.

  6. dominoeffect
    Member
    Posted 3 years ago #

    Thanks iridiax, I used the quick method and my admin panel is now restored!

    The site is still dysfunctional though-- I'm getting the following error:

    require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/earzmag/public_html/index.php on line 17

    Fatal error: require() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/earzmag/public_html/index.php on line 17

    I suspect it would like to call '.em/wp-blog-header.php' since 'em' is the subdirectory where WP is installed and 'public_html' is the site index. But I'm only guessing. Could anyone help?

    Thank you

  7. dominoeffect
    Member
    Posted 3 years ago #

    It's okay, my above idea fixed things.

    I opened index.php in a text editor and changed the offending line of code to read: "'.em/wp-blog-header.php'" and thus all was fixed.

Topic Closed

This topic has been closed to new replies.

About this Topic