Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Adminer Editor and PostgreSQL

Milo
2013-06-12
2013-06-13
  • Milo
    Milo
    2013-06-12

    Hi,

    I tried to use Adminer Editor (AE) with PostgreSQL. Simple copy/paste and edit auth[driver] to 'pgsql' doesn't work. I get Fatal Error:

    Fatal error: Call to a member function query() on a non-object in /var/www/adminer/editor-3.7.0.php on line 44
    
    Call Stack:
        0.0036     376396   1. {main}() /var/www/adminer/editor.php:0
        0.0208    1750868   2. require('/var/www/adminer/editor-3.7.0.php') /var/www/adminer/editor.php:33
        0.0214    1816984   3. connect() /var/www/adminer/editor-3.7.0.php:1056
        0.0214    1817452   4. Min_DB->connect() /var/www/adminer/editor-3.7.0.php:359
        0.0214    1817636   5. Adminer->database() /var/www/adminer/editor-3.7.0.php:323
        0.0214    1817692   6. Adminer->databases() /var/www/adminer/editor-3.7.0.php:905
        0.0214    1817708   7. get_databases() /var/www/adminer/editor-3.7.0.php:907
        0.0214    1817752   8. get_vals() /var/www/adminer/editor-3.7.0.php:361
    
     
  • Jakub Vrána
    Jakub Vrána
    2013-06-13

    Thanks for the report. You also need to implement the database() method. I'll update the docs. I've also fixed the fatal.

     
  • Milo
    Milo
    2013-06-13

    Thank you.