switching between multiple database files in a directory does not work

Issue #248 invalid
Former user created an issue

Originally reported on Google Code with ID 248

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.

Reported by raymond.van.der.laan@broadforward.com on 2014-04-15 08:39:20

Comments (3)

  1. Christopher Kramer
    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.
    

    Reported by crazy4chrissi on 2014-04-15 08:49:49

  2. Former user Account Deleted
    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.
    

    Reported by raymond.van.der.laan@broadforward.com on 2014-04-15 09:26:31

  3. Christopher Kramer
    Ah okay, that also explains it.
    Thanks for the reply.
    

    Reported by crazy4chrissi on 2014-04-15 09:48:04 - Status changed: Invalid

  4. Log in to comment