opless / phpliteadmin

Automatically exported from code.google.com/p/phpliteadmin
0 stars 0 forks source link

I keep getting asked to log in (after the first successful attempt) #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. I launch phpLiteAdmin for the first time and am asked to log in ("Remember 
me" option is set).
2. Upon success, I am presented with a list of tables in my database. It's good 
so far.
3. I select any table in the DB and am asked to log in again. All my subsequent 
attempts to log in fail.

If I remove an cookie for this site, I can go through the steps above again.

This happens only on my production server (HostGator).

I'd like to have this fixed very soon. A temporary workaround would be good too.

Original issue reported on code.google.com by roman...@gmail.com on 6 May 2011 at 12:31

GoogleCodeExporter commented 9 years ago
This happens in the public version, 1.8.3, and even in the v1.8.4 (r99).

Original comment by roman...@gmail.com on 6 May 2011 at 12:46

GoogleCodeExporter commented 9 years ago
I've created a workaround: disabled authorization a block near 
if(isset($_POST['database_switch']))..., which started creating problems after 
I disabled authorization.

Original comment by roman...@gmail.com on 6 May 2011 at 1:18

GoogleCodeExporter commented 9 years ago
Same problem too.

Original comment by paweltb...@gmail.com on 13 May 2011 at 5:04

GoogleCodeExporter commented 9 years ago
You'll want to turn off register_globals in php.ini or set the env variable.

Original comment by gyss...@gmail.com on 13 May 2011 at 9:05

GoogleCodeExporter commented 9 years ago
> You'll want to turn off register_globals in php.ini or set the env variable.

Is this your recommendation to users? I think the software needs to be robust 
enough to handle different situations.

Original comment by roman...@gmail.com on 13 May 2011 at 10:27

GoogleCodeExporter commented 9 years ago
Yes, you need to disable register_globals. v1.8.5 will not let you proceed 
without doing that. I can't think of any other way to dealing with this. If you 
figure it out, let me know.

Original comment by daneirac...@gmail.com on 28 May 2011 at 11:09