[Phpmyadmin-devel] proposed patch for session problem

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Tue Aug 22 13:32:30 CEST 2006

Michal Čihař a écrit :
> Hi
> On Mon, 21 Aug 2006 13:31:41 -0400
> Marc Delisle <Marc.Delisle at cegepsherbrooke.qc.ca> wrote:
>> Please comment on this patch which fixes (at least on my server) the 
>> problem of going from the main PMA script to scripts/setup.php and back. 
>> I noticed that "source" was empty when I have this problem.
> The real problem is probably in mixing local variable PMA_Config
> from setup with session one. Do you have enabled register_globals?
> Anyway if this is a problem, cleaner solution would be to rename
> PMA_Config variable in setup.php to something different, can you try it?

I confirm that this bug only happens with register_globals = On ! This 
explains why it could not be reproduced on your server.

And your cleaner solution works, I'll merge it instead of mine and 
release with this and the IIS fix.



More information about the Developers mailing list