I just started playing with the pgsql db and encountered a no-error-empty page because i forgot to restart apache after enabling the php_pgsql module. No error is shown because the pg_connect is @error @squelched. I have added a simple error page for that case.
I think even for stupidy, wich really is the reason for this, an error should be displayed.

Please review, especially my bad english...

CommentFileSizeAuthor
pg_error.patch999 bytesThomas Ilsche

Comments

moshe weitzman’s picture

I've been burned by that error suppression also. could also add some checking for existence of mysql_connect?

Cvbge’s picture

Status: Needs review » Fixed

This has been fixed already.

Anonymous’s picture

Status: Fixed » Closed (fixed)