RE: [PHP-DB] postgreSQL+phpPgAdmin
| From: | Sanders, Nicholas | Date: | Mon, 21 Aug 2000 09:01:59 +0000 |
| Subject: | RE: [PHP-DB] postgreSQL+phpPgAdmin | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2200@lists.php.net to get a copy of this message | ||
This is what I have hope it helps, everything else I haven't changed
$cfgServers[1]['local'] = true;
$cfgServers[1]['host'] = 'localhost';
$cfgServers[1]['port'] = '5432';
$cfgServers[1]['adv_auth'] = true;
$cfgServers[1]['stduser'] = 'postgres';
$cfgServers[1]['stdpass'] = '';
$cfgServers[1]['user'] = '';
$cfgServers[1]['password'] = '';
$cfgServers[1]['only_db'] = ''; // if set to a db-name, only this db
is accessible
> ----------
> From: Nauman ul-Haque[SMTP:ghind@email.com]
> Sent: 21 August 2000 00:53
> To: php-db@lists.php.net
> Subject: [PHP-DB] postgreSQL+phpPgAdmin
>
> <<File: config.inc.php>><<File: ATT65018.txt>>
> Hi,
> I am trying to run phpPgAdmin but it just wont work. I have tried
> different
> combinations in the config file but I get the same errors. The error I get
> in the console....
> ====
> FATAL 1: SetUserId: user 'password=' is not in 'pg_shadow'FATAL 1:
> SetUserId: user 'password=' is not in 'pg_shadow'
> FATAL 1: SetUserId: user 'password=' is not in 'pg_shadow'
> ====
>
> The error I get on the webpage when I try to open phpPgAdmin's
> index.php...
> =====
> Warning: Unable to connect to PostgresSQL server: FATAL 1: SetUserId: user
> 'password=' is not in 'pg_shadow' in lib.inc.php
> on line 121
> Error - /home/httpd/html/phpPgAdmin/index.php
>
> PostgreSQL said: Unable to connect to server
> Back
> =====
>
> I dont know how to get arround this problem, please help me if some one
> knows what the problem is. I am attatching the config file so that if
> there's some error in configuration you'll know it.
>
>
> Problem 2:- I want to open a page using PHP in certain situations. I can
> do
> it using the include('PageName.html') function. But this will show the
> name
> of the file being opened in the address bar. Is there any way I can open
> the
> file without showing the name in the addressbar ,i.e. PageName.html?
>
>
> Thanks
> Nauman
>
>
> -----------------------------------------------
> FREE! The World's Best Email Address @email.com
> Reserve your name now at http://www.email.com
>
>