Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to login to phppgadmin

Ok,

My first day with postgresql.

I've downloaded and installed postgresql (to Windows), and it asked me to set a password (say: 1234).

Then I downloaded phppgadmin, and trying to login to pgadmin.

I tried

root:1234

postgres:1234

I can't login and also get the following php error from pgadmin

( ! ) Strict standards: Only variables should be assigned by reference in C:\wamp\www\phpPgAdmin-5.0.4\classes\database\Connection.php on line 23
like image 737
ahmetunal Avatar asked Sep 18 '25 10:09

ahmetunal


1 Answers

Try this:

Open C:\wamp\www\phpPgAdmin-5.0.4\classes\database\Connection.php and remove the '&' on line 23 and try it. You might have another error in C:\wamp\apps\phpPgAdmin-5.0.4\redirect.php on line 14 then replace

parse_str(value(url($url['url'], $url['urlvars']), $_REQUEST), $vars);

by

$href = url($url['url'], $url['urlvars']);

$val = value($href, $_REQUEST);

parse_str($val, $vars);

voila

like image 98
user209699 Avatar answered Sep 22 '25 00:09

user209699



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!