Viewing 12 replies - 1 through 12 (of 12 total)
  • Try and switch to default theme using ftp rename your theme in wp/wp-content/themes folder

    Thread Starter Quimbly

    (@quimbly)

    Thank you for the reply.

    Ok, using FTP, I renamed my current theme’s folder.

    Results: Homepage is still not styled.
    Admin: I don’t get a 404 now, but I still can’t log in. I get redirected to this page which is blank: http://nerfgunrentals.com/wp-login.php?redirect_to=http%3A%2F%2Fnerfgunrentals.com%2Fwp%2Fwp-admin%2F&reauth=1

    Does not look like you renamed your theme as I am getting this in source code
    <link rel='stylesheet' id='main-style-css' href='http://nerfgunrentals.com/wp-content/themes/kinetico/style.css?ver=1.0' type='text/css' media='all' />

    kinetico This is the folder you need rename

    and you say that you have wordpress in folder wp and I do not see that in the url above

    I think it may be your .htaccess file that is causing the problem you will need rename that file.

    And reset your permalinks.

    Thread Starter Quimbly

    (@quimbly)

    I definitely did rename the current theme’s folder.

    Here’s conformation: http://nerfgunrentals.com/wp/wp-content/themes/_kinetico/screenshot.png

    Not available here: http://nerfgunrentals.com/wp/wp-content/themes/kinetico/screenshot.png

    However, maybe some caching is going on. I have a caching plugin installed (wp-supper-cache). It’s disabled, but inexplicably, I still see cache files appearing in the /public_html/_websites/nerfgunrentals.com/wp/wp-content/cache/supercache and /public_html/_websites/nerfgunrentals.com/wp/wp-content/meta folders.

    Not sure what to think of that! Regardless, I deleted the cache. Now I get a blank homepage and blank login. Argh!

    Thread Starter Quimbly

    (@quimbly)

    Also tried renaming the .htaccess in the root and /wp/ folders. Same result. =(

    Did you try and deactivate all plugins by renaming the plugins folder in wp-content folder.

    The only other option is check error log see which file is causing the problem.

    Thread Starter Quimbly

    (@quimbly)

    Renamed plugin folder — same results.

    The error log shows this message repeated:

    [03-Sep-2013 12:41:04] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required './wp/wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home3/johanna/public_html/_websites/nerfgunrentals.com/wp/index.php on line 17

    Again, I have these set up as the instructions said:

    index.php in root folder has: require(‘./wp/wp-blog-header.php’);
    index.php in /wp/ folder has: require(‘./wp-blog-header.php’);

    I believe that’s correct, but it seems as if this is where the problem lies. ??? I’m very confused.

    this is where you have the problem

    public_html/_websites/nerfgunrentals.com/wp/index.php

    You have public_html in that you _websites and then in that folder nerfgunrentals.com and that you wp so looks like you have not got right.

    I do not know how your domain name dns is setup is it pointing to public_html/_websites/nerfgunrentals.com

    Thread Starter Quimbly

    (@quimbly)

    The hosting account has many websites on it, including the NerfGunRentals.com site, and several other WordPress sites. As far as I know, it’s fairly common practice to do what I’ve done:
    – Create a subfolder in the public_html to host all websites
    – Direct domains to the proper subfolder

    In fact, other sites that are configured identically as I’ve described above, are set up in other folders in the /_websites/ folder, and work just fine. This is why I’m finding this so frustrating.

    If you think this is the issue, what recommendations do you have to identify and fix the problem?

    Thread Starter Quimbly

    (@quimbly)

    Well, I did manage to get it working, but I have NO idea why. I undid all my changes and verified that everything was working fine at the old address: nerfgunrentals.com/wp/

    Then, I followed the same set of instructions, but this time changed which value which value I used for Site Address and which for WordPress Address: nerfgunrentals.com
    Site Address: nerfgunrentals.com/wp

    This also crapped out. Then, as before, I hard-coded the values in the wp-config.php file as follows:
    define(‘WP_HOME’,’http://nerfgunrentals.com&#8217;);
    define(‘WP_SITEURL’,’http://nerfgunrentals.com/wp&#8217;);

    Lo’ and behold! It works!
    I guess I was mixing up Site address (SITEURL) and WordPress address
    (WP_HOME)??

    I then went in a changed the values in the DB directly, so I could remove the two lines from the wp-config.php file. It’s still working, so I’ll chalk that up as a success.

    I’m still confused by the whole mix-up, but maybe this chain will help someone else.

    Glad to know that you figured out the problem

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Can't log in to wp admin after changing site URL’ is closed to new replies.