{"id":157,"date":"2008-04-08T21:18:37","date_gmt":"2008-04-08T20:18:37","guid":{"rendered":"http:\/\/t-machine.org\/?p=157"},"modified":"2008-05-09T15:17:47","modified_gmt":"2008-05-09T14:17:47","slug":"wordpress-25-cant-login-blog-broken-debian-sucks","status":"publish","type":"post","link":"http:\/\/new.t-machine.org\/index.php\/2008\/04\/08\/wordpress-25-cant-login-blog-broken-debian-sucks\/","title":{"rendered":"WordPress 2.5 can&#8217;t login; blog broken; debian sucks"},"content":{"rendered":"<p>I just tried to upgrade WordPress to 2.5, and the whole blog broke; when I got it half fixed, I couldn&#8217;t login as admin any more and instead got the following error &#8211; and here&#8217;s how to fix it:<br \/>\n<!--more--><\/p>\n<blockquote><p>The page isn&#8217;t redirecting properly<br \/>\nFirefox has detected that the server is redirecting the request for this address in a way that will never complete.<br \/>\n    *   This problem can sometimes be caused by disabling or refusing to accept<br \/>\n          cookies.<\/p><\/blockquote>\n<p>Note: Microsoft Internet Explorer 7 is still a truly crap web browser, and instead of giving a helpful error message, it just &#8230; crashes. So, if you&#8217;re using MSIE and your browser crashed trying to login to wordpress, you now know why&#8230;<\/p>\n<p>Anyway, on to the solution:<\/p>\n<p>&#8220;I use the admin-ssl plugin to secure my WordPress admin area, but unfortunately changes in WP 2.5 broke it.&#8221;<\/p>\n<p>Yes, folks, anyone sane enough to try and prevent hackers stealing their blog passwords, and who therefore installed admin-ssl, will now potentially find themselves locked out of their own blog. Fortunately, the lovely bengreen has also provided a fix (which WORKS!).<\/p>\n<p>Steps to fix (for the truly panicked \/ stressed \/ confused):<\/p>\n<ol>\n<li>SSH to your server, go to the wordpress directory, then <code>cd wp-content\/plugins<\/code><\/li>\n<li>delete the old, broken, admin-ssl: <code>rm admin-ssl.php<\/code><\/li>\n<li>download the new admin-ssl and save it to this directory (I prefer to do it direct from the commandline using lynx, if you have lynx installed): <a href=\"https:\/\/www.kerrins.co.uk\/blog\/wp-content\/uploads\/2008\/04\/admin-ssl-067.zip\">download is here<\/a> (that&#8217;s version 0.67, there may be a newer one by now, you can check on bengreen&#8217;s blog)<\/li>\n<li>Go back to your admin pages and login &#8211; should Just Work (because wordpress is very good at instantly picking up admin changes)<\/li>\n<li>Go to the &#8220;Plugins&#8221; page from the navbar, and check that you have the new Admin-SSL enabled, otherwise your blog is insecure once again<\/li>\n<\/ol>\n<p>And for the cause:<\/p>\n<p><a href=\"http:\/\/www.kerrins.co.uk\/blog\/2008\/04\/wordpress-25-and-admin-ssl-plugin.html\">Check out bengreen&#8217;s post<\/a><\/p>\n<p>Finally &#8230; why does Debian suck? Um, I&#8217;ll do that in a followup post (if at all &#8230; it&#8217;s a rant against the maintainer(s) of the Debian WordPress package, who haven&#8217;t upgraded the main wordpress in a LONG time, and have a buggy, undocumented, extremely hard to comprehend proprietary system that prevents you from setting up a wordpress blog if you are a Normal Person. I fell afoul of some its bugs tonight :()<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just tried to upgrade WordPress to 2.5, and the whole blog broke; when I got it half fixed, I couldn&#8217;t login as admin any more and instead got the following error &#8211; and here&#8217;s how to fix it:<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,18],"tags":[],"_links":{"self":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts\/157"}],"collection":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/comments?post=157"}],"version-history":[{"count":0,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts\/157\/revisions"}],"wp:attachment":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/media?parent=157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/categories?post=157"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/tags?post=157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}