Buzzinoffbond / phpliteadmin

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

switching between multiple database files in a directory does not work #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have more than one database files in a directory, say a.db and b.db
2. With phpliteadmin, access database a
3. Switch to database b via "Change Database" section
4. Select a table from b (as listed in column at the left-hand side)
5. See the database selection go back to a

Database b should remain selected.

Version used: 1.9.5 on Windows.

Original issue reported on code.google.com by raymond....@broadforward.com on 15 Apr 2014 at 8:39

GoogleCodeExporter commented 9 years ago
Hey,

I cannot reproduce this.

The database-name is passed as a session parameter.
Maybe you have cookies disabled or some software /browser extension installed 
that prevents phpliteadmin from writing cookies?
Or do you use phpliteadmin in multiple tabs at the same time?

Issue #242 already proposes to pass the database name as a GET parameter 
instead, which probably would solve your issue as well.

Original comment by crazy4ch...@gmail.com on 15 Apr 2014 at 8:49

GoogleCodeExporter commented 9 years ago
Thanks for your reply. Indeed, it turns out to be a session-related issue 
(php.ini's session.save_path pointed to an unwriteable location). 
When fixed, phpliteadmin works as expected. The issue can be closed.

Original comment by raymond....@broadforward.com on 15 Apr 2014 at 9:26

GoogleCodeExporter commented 9 years ago
Ah okay, that also explains it.
Thanks for the reply.

Original comment by crazy4ch...@gmail.com on 15 Apr 2014 at 9:48