[Phpmyadmin-devel] Reaccessing setup script messes session

Hi, If someone has a quick idea, I would be glad! If not, I'll investigate later today. This happens in 2.8.2, 2.8.2.1 and 2.8.2.2. When the fix for this is available, I'm not sure we have to release 2.8.2.3. Maybe 2.9.0-beta1 would be enough, followed one week later by 2.9.0-rc1. To reproduce: - no config directory - auth_type='cookie' - start PMA: login panel appears - access scripts/setup.php (tested with the same browser tab, should make no difference if another tab) - go back to PMA: I get a #1045 error Marc

Hi On Tue, 15 Aug 2006 08:10:12 -0400 Marc Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> wrote:
If someone has a quick idea, I would be glad! If not, I'll investigate later today.
This happens in 2.8.2, 2.8.2.1 and 2.8.2.2.
When the fix for this is available, I'm not sure we have to release 2.8.2.3. Maybe 2.9.0-beta1 would be enough, followed one week later by 2.9.0-rc1.
To reproduce:
- no config directory - auth_type='cookie' - start PMA: login panel appears - access scripts/setup.php (tested with the same browser tab, should make no difference if another tab) - go back to PMA: I get a #1045 error
Can not reproduce this on demo server... -- Michal Čihař | http://cihar.com | http://blog.cihar.com

Michal Čihař wrote:
Hi
On Tue, 15 Aug 2006 08:10:12 -0400 Marc Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> wrote:
If someone has a quick idea, I would be glad! If not, I'll investigate later today.
This happens in 2.8.2, 2.8.2.1 and 2.8.2.2.
When the fix for this is available, I'm not sure we have to release 2.8.2.3. Maybe 2.9.0-beta1 would be enough, followed one week later by 2.9.0-rc1.
To reproduce:
- no config directory - auth_type='cookie' - start PMA: login panel appears - access scripts/setup.php (tested with the same browser tab, should make no difference if another tab) - go back to PMA: I get a #1045 error
Can not reproduce this on demo server...
there you have user 'root', pw '' ->no
- no config directory i think it should read : no phpmyadmin/config.inc.php as i was collecting from all the complaints in the fora.
you didn't delete config.inc.php on demo, did you ??? (/scripts is not accessable from outside for testing) -- View this message in context: http://www.nabble.com/Reaccessing-setup-script-messes-session-tf2108842.html... Sent from the phpmyadmin-devel forum at Nabble.com.

rephrase: there you have user 'root', pw '' as in config default ->no #1045 problem -- View this message in context: http://www.nabble.com/Reaccessing-setup-script-messes-session-tf2108842.html... Sent from the phpmyadmin-devel forum at Nabble.com.

Jürgen Wind a écrit :
Michal Čihař wrote:
Hi
On Tue, 15 Aug 2006 08:10:12 -0400 Marc Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> wrote:
If someone has a quick idea, I would be glad! If not, I'll investigate later today.
This happens in 2.8.2, 2.8.2.1 and 2.8.2.2.
When the fix for this is available, I'm not sure we have to release 2.8.2.3. Maybe 2.9.0-beta1 would be enough, followed one week later by 2.9.0-rc1.
To reproduce:
- no config directory - auth_type='cookie' - start PMA: login panel appears - access scripts/setup.php (tested with the same browser tab, should make no difference if another tab) - go back to PMA: I get a #1045 error Can not reproduce this on demo server...
there you have user 'root', pw '' ->no
- no config directory i think it should read : no phpmyadmin/config.inc.php as i was collecting from all the complaints in the fora.
This was another case for problems (that I can no longer reproduce). The new problem I'm talking about is _with_ a phpmyadmin/config.inc.php.
you didn't delete config.inc.php on demo, did you ???
(/scripts is not accessable from outside for testing)

Marc Delisle wrote:
Hi,
If someone has a quick idea, I would be glad! If not, I'll investigate later today.
This happens in 2.8.2, 2.8.2.1 and 2.8.2.2.
When the fix for this is available, I'm not sure we have to release 2.8.2.3. Maybe 2.9.0-beta1 would be enough, followed one week later by 2.9.0-rc1.
To reproduce:
- no config directory - auth_type='cookie' - start PMA: login panel appears - access scripts/setup.php (tested with the same browser tab, should make no difference if another tab) - go back to PMA: I get a #1045 error
Marc
ok,
- no config directory - auth_type='cookie' (- port 3307) - start PMA: login panel appears session created a4249...17h07 - access scripts/setup.php (tested with the same browser tab, should make no difference if another tab) session date modified a4249...17h09 ,same size - go back to PMA: I get a #1045 error session date modified a4249...17h09
cannot reproduce #1045 error -- View this message in context: http://www.nabble.com/Reaccessing-setup-script-messes-session-tf2108842.html... Sent from the phpmyadmin-devel forum at Nabble.com.

On Tue, 15 Aug 2006 08:17:35 -0700 (PDT) Jürgen Wind <jwind@ngi.de> wrote:
- no config directory - auth_type='cookie' (- port 3307) - start PMA: login panel appears session created a4249...17h07 - access scripts/setup.php (tested with the same browser tab, should make no difference if another tab) session date modified a4249...17h09 ,same size
I get different session here...
- go back to PMA: I get a #1045 error session date modified a4249...17h09
cannot reproduce #1045 error
-- Michal Čihař | http://cihar.com | http://blog.cihar.com

I get different session here... only on IE(6) you get different sessions for each window -- View this message in context: http://www.nabble.com/Reaccessing-setup-script-messes-session-tf2108842.html... Sent from the phpmyadmin-devel forum at Nabble.com.

Michal Čihař a écrit :
On Tue, 15 Aug 2006 08:17:35 -0700 (PDT) Jürgen Wind <jwind@ngi.de> wrote:
- no config directory - auth_type='cookie' (- port 3307) - start PMA: login panel appears session created a4249...17h07 - access scripts/setup.php (tested with the same browser tab, should make no difference if another tab) session date modified a4249...17h09 ,same size
I get different session here...
With Firefox on Windows XP I get the same session and only one cookie. Tested with PHP 5.1.4 and 5.1.5RC1, file-based sessions. Michal, does your cookie path include "scripts" when you access scripts/setup.php ? Mine does not.
- go back to PMA: I get a #1045 error session date modified a4249...17h09
cannot reproduce #1045 error

On Tue, 15 Aug 2006 13:07:15 -0400 Marc Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> wrote:
Michal Čihař a écrit :
On Tue, 15 Aug 2006 08:17:35 -0700 (PDT) Jürgen Wind <jwind@ngi.de> wrote:
- no config directory - auth_type='cookie' (- port 3307) - start PMA: login panel appears session created a4249...17h07 - access scripts/setup.php (tested with the same browser tab, should make no difference if another tab) session date modified a4249...17h09 ,same size
I get different session here...
With Firefox on Windows XP I get the same session and only one cookie. Tested with PHP 5.1.4 and 5.1.5RC1, file-based sessions.
Firefox/Linux + PHP 5.1.4.
Michal, does your cookie path include "scripts" when you access scripts/setup.php ? Mine does not.
Yes it does, thats why I ged another session. -- Michal Čihař | http://cihar.com | http://blog.cihar.com

Michal Čihař a écrit :
On Tue, 15 Aug 2006 13:07:15 -0400 Marc Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> wrote:
Michal Čihař a écrit :
On Tue, 15 Aug 2006 08:17:35 -0700 (PDT) Jürgen Wind <jwind@ngi.de> wrote:
- no config directory - auth_type='cookie' (- port 3307) - start PMA: login panel appears session created a4249...17h07 - access scripts/setup.php (tested with the same browser tab, should make no difference if another tab) session date modified a4249...17h09 ,same size I get different session here... With Firefox on Windows XP I get the same session and only one cookie. Tested with PHP 5.1.4 and 5.1.5RC1, file-based sessions.
Firefox/Linux + PHP 5.1.4.
Michal, does your cookie path include "scripts" when you access scripts/setup.php ? Mine does not.
Yes it does, thats why I ged another session.
Michal, when accessing http://pma.cihar.com/TESTING/ then http://pma.cihar.com/TESTING/scripts/setup.php then http://pma.cihar.com/TESTING/ the cookies generated in my browser _do not_ include the "scripts" part. But I cannot reproduce the bug on your server. What is AWSUSER_ID and AWSSESSION_ID ? Are you using a special kind of session store? Marc

Hi On Wed, 16 Aug 2006 07:39:45 -0400 Marc Delisle <Marc.Delisle@cegepsherbrooke.qc.ca> wrote:
when accessing http://pma.cihar.com/TESTING/ then http://pma.cihar.com/TESTING/scripts/setup.php then http://pma.cihar.com/TESTING/
the cookies generated in my browser _do not_ include the "scripts" part.
I can not reproduce it right now, but I'm sure I got cookie with /scripts/.
But I cannot reproduce the bug on your server.
Neither do I...
What is AWSUSER_ID and AWSSESSION_ID ?
Are you using a special kind of session store?
Those are just for webserver stats. -- Michal Čihař | http://cihar.com | http://blog.cihar.com
participants (3)
-
Jürgen Wind
-
Marc Delisle
-
Michal Čihař