[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-dev] [bug #2382] Administrator Unable to Approve A Project
From: |
nobody |
Subject: |
[Savannah-dev] [bug #2382] Administrator Unable to Approve A Project |
Date: |
Wed, 25 Jun 2003 05:37:45 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.3.1) Gecko/20030527 Debian/1.3.1-2 |
=================== BUG #2382: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2382&group_id=11
Changes by: Anonymous user Date: Wed 06/25/03 at 05:37
------------------ Additional Follow-up Comments ----------------------------
...and finally after some digging into the code, I found the nature of the
problem. Silly me! The trouble is caused by using 'localhost' in your group
type definition! So don't do that. So nothing to do with PHP4, apache versions,
distro's etc. Just a config screw-up.
=================== BUG #2382: FULL BUG SNAPSHOT ===================
Submitted by: roncordell Project: Savannah
Submitted on: Thu 01/23/03 at 08:37
Category: Site Admin Severity: 5 - Average
Priority: Normal Bug Group: None
Resolution: Works for me Assigned to: villate
Status: Closed Effort: 0.00
Summary: Administrator Unable to Approve A Project
Original Submission: With the CVS code from 1/22/2003, an administrator is
unable to approve a submitted project. Steps to recreate the error are:
As a user, submit a new project.
As an administrator, go to the Project Approvals page. You will see there the
list of projects that have been submitted for approval, where each project item
is a link on which to click.
Click on the project to try to start the approval process.
An error is reported that you do not have permission to access the page.
It appears also that the site no longer shows the administrator tasks on the
left navigation pane, so it is as if the administrator is no longer logged into
the session, as if the objects that indicate user status have been dropped
somewhere. I'm completely new to PHP, so I haven't found the problem.
Follow-up Comments
*******************
-------------------------------------------------------
Date: Wed 06/25/03 at 05:37 By: None
...and finally after some digging into the code, I found the nature of the
problem. Silly me! The trouble is caused by using 'localhost' in your group
type definition! So don't do that. So nothing to do with PHP4, apache versions,
distro's etc. Just a config screw-up.
-------------------------------------------------------
Date: Wed 06/25/03 at 04:32 By: None
This is not a PHP4 problem. I encountered the same problem on a RedHat 9.0
machine, running apache 2.0 and PHP4, but when I installed on a Debian, running
apache 1.3.27 and PHP4, the problem didn't occur. The only other difference was
that the Debian machine had a DNS entry, the RedHat didn't. However, the
problem is in the Location HTTP header somewhere. I'l try to figure out where
exactely.
-------------------------------------------------------
Date: Tue 01/28/03 at 03:42 By: villate
OK, thanks for the information. I'll take note that there is
something PHP3 specific in the admin interface to try and
make it compatible with PHP4 in future versions.
-------------------------------------------------------
Date: Mon 01/27/03 at 15:14 By: roncordell
I think I found the problem - I can't read. The README says that Savannah has
been targeted for PHP3, and *NOT* PHP4. I compiled and installed PHP3 (3.0.18)
after removing PHP4 (4.0.6), and this issue has been resolved.
-------------------------------------------------------
Date: Thu 01/23/03 at 14:41 By: villate
Yes, that might be the reason why the server is loosing your
administrator cookie. Please tell me the URL of the
page where you selected [Manage/Edit Project Registration]
to see if I can track down the problem.
-------------------------------------------------------
Date: Thu 01/23/03 at 10:44 By: roncordell
Further investigation looks like we are getting a new session when selecting
the project to approve. I don't know why this would be happening. However, I
noticed that the normal URL on the browser is
http://machine.domain/savannah/admin/approve-pending.php
But when I select [Manage/Edit Project Registration] the URL changes to:
https://localhost/savannah/admin/groupedit.php?group=rcs
The SSL access logs show the following:
[23/Jan/2003:15:28:10 +0000] 127.0.0.2 TLSv1 RC4-MD5 "GET /savannah/my/
HTTP/1.1" 12960
[23/Jan/2003:10:28:10 -0500] 127.0.0.2 TLSv1 RC4-MD5 "GET
/savannah/css/savannah.css HTTP/1.1" -
[23/Jan/2003:10:28:10 -0500] 127.0.0.2 TLSv1 RC4-MD5 "GET
/images/savannah.theme/icon.png HTTP/1.1" 312
[23/Jan/2003:10:28:10 -0500] 127.0.0.2 TLSv1 RC4-MD5 "GET
/savannah/images/savannah.theme/leopard.png HTTP/1.1" 5111
[23/Jan/2003:15:28:29 +0000] 127.0.0.2 TLSv1 RC4-MD5 "GET
/savannah/admin/approve-pending.php HTTP/1.1" 10028
[23/Jan/2003:10:28:29 -0500] 127.0.0.2 TLSv1 RC4-MD5 "GET
/images/savannah.theme/icon.png HTTP/1.1" 312
[23/Jan/2003:15:28:36 +0000] 127.0.0.2 TLSv1 RC4-MD5 "GET
/savannah/admin/groupedit.php?group_id=102 HTTP/1.1" 5
[23/Jan/2003:10:28:39 -0500] 127.0.0.1 TLSv1 RC4-MD5 "GET
/savannah/admin/groupedit.php?group=rcs HTTP/1.1" 7347
[23/Jan/2003:10:28:39 -0500] 127.0.0.1 TLSv1 RC4-MD5 "GET
/savannah/css/savannah.css HTTP/1.1" 4913
[23/Jan/2003:10:28:39 -0500] 127.0.0.1 TLSv1 RC4-MD5 "GET
/images/savannah.theme/icon.png HTTP/1.1" 312
[23/Jan/2003:10:28:39 -0500] 127.0.0.1 TLSv1 RC4-MD5 "GET
/savannah/images/savannah.theme/floating.png HTTP/1.1" 19773
[23/Jan/2003:10:28:39 -0500] 127.0.0.1 TLSv1 RC4-MD5 "GET
/savannah/images/savannah.theme/valid-html401.png HTTP/1.1" 3607
Note how the address changes from 127.0.0.2 to 127.0.0.1. I don't know if this
is relevant or not.
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2382&group_id=11
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/