Error Loading all_db.php

jody
2013-01-05
2013-06-11
  • jody
    jody
    2013-01-05

    Hi

    I don't know when exactly this started (probably after updating postgres to 9.1.5 or updating phpPgAdmin to 5.0.4).

    After i click on "PostgreSQL (in the tree on the left) and then log in, i get the following messages on top of the window:

    Strict Standards: Only variables should be assigned by reference in /var/www/localhost/htdocs/phppgadmin/classes/database/Connection.php on line 23
    Strict Standards: Only variables should be passed by reference in /var/www/localhost/htdocs/phppgadmin/redirect.php on line 14
    

    furthermore, instead of a tree representing the data base i only have a line:

    Error Loading all_db.php?subject=server&action=tree&server=localhost%3A5432%3Aallow (???)
    

    below the nodes 'Servers' and 'PostgreSQL'.

    However, access to the DB (on the right hand side of the window is working correctly.
    But it is much more comfortable to navigate in the tree.

    Here are my settings of config.inc.php:

            $conf['servers'][0]['desc'] = 'PostgreSQL';
            $conf['servers'][0]['host'] = 'localhost';
            $conf['servers'][0]['port'] = 5432;
            $conf['servers'][0]['sslmode'] = 'allow';
            $conf['servers'][0]['defaultdb'] = 'template1';
            $conf['servers'][0]['pg_dump_path'] = '/usr/bin/pg_dump';
            $conf['servers'][0]['pg_dumpall_path'] = '/usr/bin/pg_dumpall';
            $conf['servers'][0]['slony_support'] = false;
            $conf['servers'][0]['slony_sql'] = '/usr/share/pgsql';
            $conf['default_lang'] = 'auto';
            $conf['autocomplete'] = 'default on';
            $conf['extra_login_security'] = true;
            $conf['owned_only'] = false;
            $conf['show_comments'] = true;
            $conf['show_advanced'] = false;
            $conf['show_system'] = false;
            $conf['show_reports'] = true;
            $conf['reports_db'] = 'phppgadmin';
            $conf['reports_schema'] = 'public';
            $conf['reports_table'] = 'ppa_reports';
            $conf['min_password_length'] = 1;
            $conf['left_width'] = 200;
            $conf['theme'] = 'default';
            $conf['show_oids'] = false;
            $conf['max_rows'] = 30;
            $conf['max_chars'] = 50;
            $conf['use_xhtml_strict'] = false;
            $conf['help_base'] = 'http://www.postgresql.org/docs/%s/interactive/';
            $conf['ajax_refresh'] = 3;
            /*****************************************
             * Don't modify anything below this line *
             *****************************************/
            $conf['version'] = 19;
    

    How can i get phpPgAdmin to work correctly again?

    Thank You
      Jody