WordPress 2.8 upgrade – login fix
Wednesday, June 17th, 2009Well, I recently tried to upgrade to Wordpress 2.8 and ran into a few snags. I thought I’d share my experience in case it can help someone else!
Upon the manual upload of 2.8 files (follow the instructions here) the site looked great, but I couldn’t login to the back-end.
It turns out that WP 2.8 uses some authentication code/hooks that can conflict with your existing legacy plug-ins. If you can’t login after your 2.8 install, rename your plug-ins folder (which essentially disables them). Then you should be able to login to the back-end.
After some evaluation, I decided that WP 2.8 is not for me, so I reinstalledWP 2.7. Easy right? NO! Guess what? I still couldn’t login to the back end!
Here’s what I figured out…
My hosting provider is 1and1, and a while back I had an issue with some plug-ins because the MySQL DB my WordPress site utilizes is version 4.0 (not 5.0). I had to add a line of code to .htaccess in the root folder [ AddType x-mapp-php5 .php] to have Apache run all .php files as if the MySQL DB was 5.0. It worked great.
When I installed 2.8, it replaced the .htaccess file and erased the hack/fix.
I added that magic line of code [ AddType x-mapp-php5 .php] back into the .htacess file and Voila! Everything works perfectly once again as a 2.7 install.
Hope this helps someone else out! Good luck!
Tags: 2.8, Apache HTTP Server, can't login, MySQL, PHP, Plug-in, WordPress

![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_a.png?x-id=1711acaf-be9b-4827-842d-cfbedce1a26f)
July 9th, 2009 at 7:09 am
Worked, many thanks!