Hi,
in current HEAD, after a cookie-login with a super-user, I choose a db from the left frame and boom, I'm back to login panel.
No bug under MySQL 4.1.x.
Someone can confirm? This would motivate me to look for this nasty bug :)
Marc
Hi
On Mon 17. 10. 2005 20:03, Marc Delisle wrote:
in current HEAD, after a cookie-login with a super-user, I choose a db from the left frame and boom, I'm back to login panel.
I hit yesterday something simmilar issue and forgot to report: I can't display transformation options, I get just login dialog instead of it. Using MySQL 5 and mysql extension.
No bug under MySQL 4.1.x.
Someone can confirm? This would motivate me to look for this nasty bug :)
It's again mysqli + MySQL 4.0.x? :-)
Michal Čihař a écrit :
Hi
On Mon 17. 10. 2005 20:03, Marc Delisle wrote:
in current HEAD, after a cookie-login with a super-user, I choose a db from the left frame and boom, I'm back to login panel.
I hit yesterday something simmilar issue and forgot to report: I can't display transformation options, I get just login dialog instead of it. Using MySQL 5 and mysql extension.
No bug under MySQL 4.1.x.
Someone can confirm? This would motivate me to look for this nasty bug :)
It's again mysqli + MySQL 4.0.x? :-)
No :) but I forgot to mention that Georg fixed the mysqli bug I reported last week.
Marc
Marc Delisle a écrit :
Michal Čihař a écrit :
Hi
On Mon 17. 10. 2005 20:03, Marc Delisle wrote:
in current HEAD, after a cookie-login with a super-user, I choose a db from the left frame and boom, I'm back to login panel.
I hit yesterday something simmilar issue and forgot to report: I can't display transformation options, I get just login dialog instead of it. Using MySQL 5 and mysql extension.
No bug under MySQL 4.1.x.
Someone can confirm? This would motivate me to look for this nasty bug :)
Something wrong is happening in footer.inc.php. I have 3 servers defined and I login with server 2.
If I replace in footer.inc.php line 17 by
if (FALSE) {
the bug does not happen.
I was able to find that, when footer.inc.php does some kind of reload, common.lib.php is called, calls PMA_auth_check() from cookie.auth.lib.php, and there, $server does not contain a value of 2 as expected but contains 1.
Marc
Marc Delisle a écrit :
Marc Delisle a écrit :
Michal Čihař a écrit :
Hi
On Mon 17. 10. 2005 20:03, Marc Delisle wrote:
in current HEAD, after a cookie-login with a super-user, I choose a db from the left frame and boom, I'm back to login panel.
I hit yesterday something simmilar issue and forgot to report: I can't display transformation options, I get just login dialog instead of it. Using MySQL 5 and mysql extension.
No bug under MySQL 4.1.x.
Someone can confirm? This would motivate me to look for this nasty bug :)
Something wrong is happening in footer.inc.php. I have 3 servers defined and I login with server 2.
If I replace in footer.inc.php line 17 by
if (FALSE) {
the bug does not happen.
I was able to find that, when footer.inc.php does some kind of reload, common.lib.php is called, calls PMA_auth_check() from cookie.auth.lib.php, and there, $server does not contain a value of 2 as expected but contains 1.
Marc
Maybe someone can solve this. When I'm using server 2, left.php generates:
<form method="post" action="index.php" target="_parent" id="left" onsubmit=" window.parent.goTo( 'db_details_structure.php?lang=fr-utf-8&server=2&convcharset=iso-8859-1&collation_connection=utf8_general_ci&db=' + this.value, 'main' ); window.parent.goTo( 'left.php?lang=fr-utf-8&server=2&convcharset=iso-8859-1&collation_connection=utf8_general_ci&db=' + this.value); return false;">
Now, when left.php is reloaded, none of those parameters are received in its $_GET. Instead, only db and table. So I'm missing $server, which gets the value of 1 by default. This does not match the cookie, so we see the login panel again.
Marc
Marc Delisle wrote:
Marc Delisle a écrit :
Marc Delisle a écrit :
Michal Čihař a écrit :
Hi
On Mon 17. 10. 2005 20:03, Marc Delisle wrote:
in current HEAD, after a cookie-login with a super-user, I choose a db from the left frame and boom, I'm back to login panel.
I hit yesterday something simmilar issue and forgot to report: I can't display transformation options, I get just login dialog instead of it. Using MySQL 5 and mysql extension.
No bug under MySQL 4.1.x.
Someone can confirm? This would motivate me to look for this nasty bug :)
Something wrong is happening in footer.inc.php. I have 3 servers defined and I login with server 2.
If I replace in footer.inc.php line 17 by
if (FALSE) {
the bug does not happen.
I was able to find that, when footer.inc.php does some kind of reload, common.lib.php is called, calls PMA_auth_check() from cookie.auth.lib.php, and there, $server does not contain a value of 2 as expected but contains 1.
Marc
Maybe someone can solve this. When I'm using server 2, left.php generates:
<form method="post" action="index.php" target="_parent" id="left" onsubmit=" window.parent.goTo( 'db_details_structure.php?lang=fr-utf-8&server=2&convcharset=iso-8859-1&collation_connection=utf8_general_ci&db=' + this.value, 'main' ); window.parent.goTo( 'left.php?lang=fr-utf-8&server=2&convcharset=iso-8859-1&collation_connection=utf8_general_ci&db=' + this.value); return false;">
Now, when left.php is reloaded, none of those parameters are received in its $_GET. Instead, only db and table. So I'm missing $server, which gets the value of 1 by default. This does not match the cookie, so we see the login panel again.
i take a look ...
Sebastian Mendel wrote:
Maybe someone can solve this. When I'm using server 2, left.php generates:
<form method="post" action="index.php" target="_parent" id="left" onsubmit=" window.parent.goTo( 'db_details_structure.php?lang=fr-utf-8&server=2&convcharset=iso-8859-1&collation_connection=utf8_general_ci&db=' + this.value, 'main' ); window.parent.goTo( 'left.php?lang=fr-utf-8&server=2&convcharset=iso-8859-1&collation_connection=utf8_general_ci&db=' + this.value); return false;">
Now, when left.php is reloaded, none of those parameters are received in its $_GET. Instead, only db and table. So I'm missing $server, which gets the value of 1 by default. This does not match the cookie, so we see the login panel again.
i take a look ...
pls check CVS
Sebastian Mendel a écrit :
Sebastian Mendel wrote:
Maybe someone can solve this. When I'm using server 2, left.php generates:
<form method="post" action="index.php" target="_parent" id="left" onsubmit=" window.parent.goTo( 'db_details_structure.php?lang=fr-utf-8&server=2&convcharset=iso-8859-1&collation_connection=utf8_general_ci&db=' + this.value, 'main' ); window.parent.goTo( 'left.php?lang=fr-utf-8&server=2&convcharset=iso-8859-1&collation_connection=utf8_general_ci&db=' + this.value); return false;">
Now, when left.php is reloaded, none of those parameters are received in its $_GET. Instead, only db and table. So I'm missing $server, which gets the value of 1 by default. This does not match the cookie, so we see the login panel again.
i take a look ...
pls check CVS
Fix confirmed, thanks!
Marc