Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Login failed

2007-08-13
2013-06-11
  • stephenviet
    stephenviet
    2007-08-13

    I am using: Ubuntu 7.4 Feity

    and install: PHPPgAdmin: 4.1.3

    I installed: PostGresSQL Server 8.2

    But when I run URL: http://mydomain/phppgadmin ==> Display phppgadmin

    And I can't login ???

    Why?

    Expect your replies!

     
    • Expect more info from you.

      read, anderstand and double check carefully your conf/config.inc.php (phpPgAdmin conf file) and your pg_hba.conf (pg auth conf file).

       
    • Marian Marinov
      Marian Marinov
      2007-09-24

      These two lines add the sslmode variable to the connection string:
      if (isset($host[2])) $str .= " sslmode=".adodb_addslashes($host[2]);
      else if (!empty($this->sslmode)) $str .= " sslmode=".$this->sslmode;

      These are lines 634 and 635 from libraries/adodb/drivers/adodb-postgres64.inc.php. If you comment these lines you will be able to connect.

      Best regards
        Marian Marinov
        System Architect
        Siteground.com