Page 1 of 1

phpPgAdmin and XAMPP

PostPosted: 14. August 2010 21:53
by Soviet
I would like to use phpPgAdmin 4.2.3 in combination with XAMPP 1.7.3 and postgresql-8.4.4.

When I finally managed to get all the files edited in order to run phpPgAdmin and postgresql-8.4.4 all I have after visiting mz http://127.0.0.1/phppgadmin/ is:

Code: Select all
Deprecated: Assigning the return value of new by reference is deprecated in D:\Programs\xampp\phpPgAdmin\classes\Misc.php on line 344

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\Programy\xampp\phpPgAdmin\classes\Misc.php:344) in D:\Programs\xampp\phpPgAdmin\libraries\lib.inc.php on line 56

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\Programy\xampp\phpPgAdmin\classes\Misc.php:344) in D:\Programs\xampp\phpPgAdmin\libraries\lib.inc.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at D:\Programs\xampp\phpPgAdmin\classes\Misc.php:344) in D:\Programs\xampp\phpPgAdmin\classes\Misc.php on line 361


I read somewhere that this is PHP5.3.0 error and that I have to set error_reporting = 0. Is that right? How and where do I do that?

Re: phpPgAdmin and XAMPP

PostPosted: 14. August 2010 22:55
by Altrea
Soviet wrote:I read somewhere that this is PHP5.3.0 error

That's wrong. It's not an error, it's a notice.

Soviet wrote:and that I have to set error_reporting = 0. Is that right?

No. Either set display_errors Off or set error_reporting to anything serious (e.g. show all errors exept Notices and deprecated messages).
You have some examples in your php.ini.
There is a doc for all predefined constants in php.

Soviet wrote:How and where do I do that?

Depends on your knowledge.
You can:
- use the php function error_reporting()
- define error_reporting in the php.ini
- set error_reporting in .htaccess files

Re: phpPgAdmin and XAMPP

PostPosted: 14. December 2010 19:55
by Soviet
It's been a while :P

My error_reporting in php.ini looks like this:
Code: Select all
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED


Why it's still not working? I understand "E_ALL & ~E_NOTICE" as "Show all errors, except for notices and coding standards warnings." Buy i bet im wrong again :). Can anyone advice?

Re: phpPgAdmin and XAMPP

PostPosted: 14. December 2010 23:01
by WilliL
try
Code: Select all
error_reporting = E_ALL & ~(E_NOTICE | E_DEPRECATED)

Re: phpPgAdmin and XAMPP

PostPosted: 22. December 2010 15:23
by Soviet
Nope, still the same error :(.

Re: phpPgAdmin and XAMPP

PostPosted: 28. January 2011 21:25
by Soviet
Bump?

Is there maybe some other piece of software with Apache and Postgres?