chrismeats
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: cannot login after upgradeadding
define(‘ADMIN_COOKIE_PATH’,’/blog/wp-admin/’); seems to do the trickThe only other issue I am having is that ABSPATH seems to be defined in 5 different files. It will not let me define it in wp-config. When I try I get a warning saying it has already been defined.
Forum: Fixing WordPress
In reply to: cannot login after upgradeI did delete wp-admin and wp-includes. I did not just over write but completely deleted. I looked at config-sample and COOKIE_DOMAIN was not set anywhere. I do not know where that gets set. Also changing the COOKIE_DOMAIN was not the only problem. the other problem that still caused me to not be able to login was the ADMIN_COOKIE_PATH and I do not know where that value was originally set either.
Forum: Fixing WordPress
In reply to: cannot login after upgradeThe cookies are set in wp-includes/pluggable.php inside of function wp_set_auth_cookie
To change the COOKIE_DOMAIN I had to change a line in my config file.
The old code was
define(‘COOKIEDOMAIN’, ‘.xxx.com’);
I changed this to
define(‘COOKIE_DOMAIN’, ‘.xxx.com’);The other problem that was causing this as well was the ADMIN_COOKIE_PATH I have not found where this is set yet. For now I just hard coded the path when the cookie is set in wp-includes/pluggable.php
Forum: Fixing WordPress
In reply to: cannot login after upgradeThe other problem with that the ADMIN_COOKIE_PATH was set to /blog/wp-admin
instead of
/blog/wp-admin/
Dont know why but adding the slash at the end fixes it. I have to do it on each upgrade to get it to workForum: Fixing WordPress
In reply to: cannot login after upgradeGot it figured out FINALLY!!!! it was to do with the cookies. the cookie domain name changed from COOKIEDOMAIN to COOKIE_DOMAIN talking about frustrating.
Lets just hope I can get through the other 5 upgrades without a problem
Forum: Fixing WordPress
In reply to: cannot login after upgradeI have a suspession that it is not setting the cookies right or not setting the right cookies. Can someone give me the list of cookies that should be set for me to be logged in?
Forum: Fixing WordPress
In reply to: cannot login after upgradeI did that once… i dont see what going back AGAIN is going to do
Forum: Fixing WordPress
In reply to: cannot login after upgradeyes but that does not solve my problem. Then I will just be running an old version of wordpress
Forum: Fixing WordPress
In reply to: cannot login after upgradejust tried… Still nothing
Forum: Fixing WordPress
In reply to: cannot login after upgradeSame thing as before. When I try to login I do not get any errors it just keeps taking me back to the login screen
Forum: Fixing WordPress
In reply to: cannot login after upgradeok just tried re-uploading the new files. When I run wp-admin/upgrade.php it says
“No Upgrade RequiredYour WordPress database is already up-to-date!
Continue”
Still cannot login
Forum: Fixing WordPress
In reply to: cannot login after upgradeas I said before… I meant I tried renaming the plugins folder just to see if it would do anything. However, I DID, before I even started, disabled all the plugins from the admin panel. But something obviouslly is not working right. So I was trying anything to get it to work… Even deleting the plugins folder again.
Forum: Fixing WordPress
In reply to: cannot login after upgradeand yes the plugins have been disabled this whole time.
Forum: Fixing WordPress
In reply to: cannot login after upgradeYes I am… I have even tried temporarily deleting all themes. Still no go.
Forum: Fixing WordPress
In reply to: cannot login after upgradeYes I did disable all plugins before I tried upgrading. What I mean was that I also tried renaming the plugins folder as was suggested last time when it did not work.