Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68335 - Wordpress 1.2.1 Redirection Limit For this URL exceeded
Summary: Wordpress 1.2.1 Redirection Limit For this URL exceeded
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL: http://alexvalentine.org/blog/wp-logi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-20 19:40 UTC by Alex Valentine
Modified: 2004-12-26 13:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Valentine 2004-10-20 19:40:29 UTC
I've installed the latest version of wordpress in portage. The install goes smooth but everytime I try to log in I get the following error:

Redirection for this URL exceeded. Your browser may be blocking cookies. 

I've looked through all the existing bug reports but I did not see any fixes. The wordpress site has similiar reports but there doesn't appear to be a concrete solution to this problem. Anyone have a fix?

Reproducible: Always
Steps to Reproduce:
1. Install Wordpress on a vhost
2. Attempt to Login


Actual Results:  
Redirection Limit For this URL exceeded

Expected Results:  
Login to Admin panel
Comment 1 Ira Snyder 2004-10-29 11:59:25 UTC
I'm having this problem too. The older wordpress from portage was working great.

I have made sure that I am not blocking cookies in any way, and have attempted to browse the website from Firefox, Internet Explorer, and lynx.

I fixed the problem by downloading the latest tarball from the wordpress.org site, extracting it to /var/www/localhost/htdocs/wordpress and then running "chown -R root:root wordpress"

Perhaps the tar.gz file in the portage repository is old?
Comment 2 Alex Valentine 2004-10-29 12:09:16 UTC
I just ended up using the tarball from the wordpress site and it worked fine, for a second there I thought it was my apache configuration So if this tarball can get in to portage, it should be fixed.

http://wordpress.org/latest.tar.gz
Comment 3 Aaron McCaleb 2004-11-08 13:26:59 UTC
This is _not_ something that should be used as a patch for the current ebuild.  As Alex Valentine suggested, the current tarball in the ebuild needs to be updated to the latest tarball from wordpress.org

In the meantime, though, this problem can be fixed by making the change in this diff, in my experience, so far:

******************************************************
diff -P -r -u -x '*~' ebuild/htdocs/wp-admin/auth.php tarball/htdocs/wp-admin/auth.php
--- ebuild/htdocs/wp-admin/auth.php      2004-10-10 23:45:52.000000000 -0500
+++ tarball/htdocs/wp-admin/auth.php    2004-05-18 21:05:40.000000000 -0500
@@ -25,7 +25,7 @@
                return false;

        } else {
-               if ($login->user_login == $user_login && $login->user_pass == $user_pass_md5) {
+               if ($login->user_login == $user_login && md5($login->user_pass) == $user_pass_md5) {
                        return true;
                } else {
                        return false;
**************************************************************
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2004-12-18 16:16:18 UTC
Wordpress 1.2.2 is now in Portage; it includes yet another UPSTREAM fix for the redirection bug.  Please test, and let me know how you get on.

Best regards,
Stu
Comment 5 Martin Tsachev 2004-12-24 03:56:54 UTC
Bug was fixed.
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2004-12-26 13:00:53 UTC
Thank you for the feedback.