mysql 4.0.15 lots of "notice" errors

Support and queries relating to all previous versions of ZoneMinder
Locked
johnmiles79
Posts: 17
Joined: Wed Aug 06, 2003 8:25 pm

mysql 4.0.15 lots of "notice" errors

Post by johnmiles79 »

has anyone used mysql 4.0.15+ ? I'm receiving many notice errors and zoneminder will not start.

Please let me know if your ZM works with 4.0.15+
johnmiles79
Posts: 17
Joined: Wed Aug 06, 2003 8:25 pm

Re: mysql 4.0.15 lots of "notice" errors

Post by johnmiles79 »

OK I got it to run now, but the notice errors do not go away:

see below... should I just use error_reporting(1); ?? and insert it in the .php code?


[Thu Sep 18 11:07:40 2003] [error] PHP Notice: Use of undefined constant Category - assumed 'Category' in /home/stoopid/public_html/zm_config.php on line 114
[Thu Sep 18 11:07:40 2003] [error] PHP Notice: Use of undefined constant Name - assumed 'Name' in /home/stoopid/public_html/zm_config.php on line 119
[Thu Sep 18 11:07:40 2003] [error] PHP Notice: Use of undefined constant Name - assumed 'Name' in /home/stoopid/public_html/zm_config.php on line 112
[Thu Sep 18 11:07:40 2003] [error] PHP Notice: Use of undefined constant Value
- assumed 'Value' in /home/stoopid/public_html/zm_config.php on line 112
[Thu Sep 18 11:07:40 2003] [error] PHP Notice: Use of undefined constant Name - assumed 'Name' in /home/stoopid/public_html/zm_config.php on line 113
[Thu Sep 18 11:07:40 2003] [error] PHP Notice: Use of undefined constant Category - assumed 'Category' in /home/stoopid/public_html/zm_config.php on line 114
[Thu Sep 18 11:07:40 2003] [error] PHP Notice: Use of undefined constant Name - assumed 'Name' in /home/stoopid/public_html/zm_config.php on line 119
[Thu Sep 18 11:07:40 2003] [error] PHP Notice: Use of undefined constant Name - assumed 'Name' in /home/stoopid/public_html/zm_config.php on line 112
[Thu Sep 18 11:07:40 2003] [error] PHP Notice: Use of undefined constant Value
- assumed 'Value' in /home/stoopid/public_html/zm_config.php on line 112
[Thu Sep 18 11:07:40 2003] [error] PHP Notice: Use of undefined constant Name - assumed 'Name' in /home/stoopid/public_html/zm_config.php on line 113
[Thu Sep 18 11:07:40 2003] [error] PHP Notice: Use of undefined constant Category - assumed 'Category' in /home/stoopid/public_html/zm_config.php on line 114
[Thu Sep 18
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: mysql 4.0.15 lots of "notice" errors

Post by zoneminder »

Hi John,

These are valid errors inasmuch as the array suffixes should all be quoted which I haven't got round to doing yet. I would suggest switching off error reporting either in your global php config, or in zm.php or in a .htaccess file as that won't get overwritten with new versions.

Cheers,

Phil,
Locked