Page 1 of 1
mysql 4.0.15 lots of "notice" errors
Posted: Thu Sep 18, 2003 4:14 am
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+
Re: mysql 4.0.15 lots of "notice" errors
Posted: Thu Sep 18, 2003 6:16 pm
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
Re: mysql 4.0.15 lots of "notice" errors
Posted: Sun Sep 21, 2003 11:50 am
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,