report error when DB connection failed
Brought to you by:
canajun2eh,
yalnifj
Dear Gerry,
I've added a little patch to class_pgv_db file. It fixes reporting of connect to db error. It was reported a non existence of a DBC object instead of the real reason.
I've catch the error when set limit of simultaneous connections to the DB and was very surprised with the exceptions reported.
Thank you.
Can you please post your updated class_pgv_db.php file, in ZIP format? That way, there is no mistake about your changes.
Regards, Gerry Kroll
Maybe this patch will be better. It is generated ignoring white spaces and contains only important changes. The rest in the previous one is just the indentation matter.
Diff:
Thank you.
For those of us who don't speak "patch", the attached ZIP file is the complete class_pgv_db.php, as it was posted to SVN 7281.
Last edit: Gerry Kroll 2021-02-02