web interface problems

twhiting9275

25-03-2004 02:47:15

Getting a LOT of these type of errors with php 4.3.3
[quote73cd2f731f]
Notice Undefined index tripid in /usr/local/var/www/netmrg/webfiles/snmp_cache_view.php on line 26

Warning Cannot modify header information - headers already sent by (output started at /usr/local/var/www/netmrg/webfiles/snmp_cache_view.php26) in /usr/local/var/www/netmrg/webfiles/snmp_cache_view.php on line 26
[/quote73cd2f731f]
Usually, this will come up just after I modify (add, delete, remove) a group.

twhiting9275

25-03-2004 03:52:40

Second error
[quote81e11219f6]
Notice Undefined index dev_type in /usr/local/var/www/netmrg/webfiles/tests_script.php on line 44

Warning Cannot modify header information - headers already sent by (output started at /usr/local/var/www/netmrg/webfiles/tests_script.php44) in /usr/local/var/www/netmrg/webfiles/tests_script.php on line 45[/quote81e11219f6]
Errm, is this even ready for use yet? Doesn't look like it.

silfreed

25-03-2004 09:56:29

These are very minor errors (Notices) that are coming up because you're running with full error logging on. These messages are harmless in most cases, except that they cause the Warnings because they're output before the headers can be sent.
You can modify your php.ini to add this line

error_reporting = E_ALL & ~E_NOTICE

This will get rid of the notices (and subsequently, the warnings).

And yes, it is quite ready for use; where I work we have well over 100 devices and over 2000 monitors.

-Doug