Many PHP errors in AlertProfiles under PHP5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
Medium
|
Magnus Eide |
Bug Description
AlertProfiles running under PHP5 produces many ill-sounding error messages,
all displayed in big, flashy, yellow boxes.
Most of these seem to be related to PostgreSQL database calls. Although
they seem to indicate problems with storing changes in the database,
changes actually seem to be stored properly, as before under PHP4.
One of the original AlertProfiles authors has commented that many of these
errors have probably always been there, it's just that PHP5 has become more
strict about reporting them.
We've received a patch to quench the error messages, but we should fix the
actualt errors, not remove the symptoms. The fixes should remain
compatible with PHP4, if at all possible.
I will add more info about the error messages themselves in the comments.
[http://
Changed in nav: | |
milestone: | v3.4 → v3.4.1 |
Originator: YES
When opening the alertprofiles page, not yet having created a default
profile, I receive a great big bunch of these error messages at the bottom
of the page:
---
AlertProfiles PHP Errorhandler
AlertProfiles error-handler: Unkown error type: [2] pg-query- params] : No array passed
pg_query_params() [function.
/usr/local/ nav/apache/ webroot/ alertprofiles/ databaseHandler .php
on line [1477]
---
I also get some of these:
---
AlertProfiles PHP Errorhandler
AlertProfiles error-handler: Unkown error type: [2] pg-fetch- array]: Unable to jump to row 24 on
pg_fetch_array() [function.
PostgreSQL result index 77
/usr/local/ nav/apache/ webroot/ alertprofiles/ databaseHandler .php
on line [947]
---