Page 7 of 7

Re: Release 1.24.3 preview

Posted: Sun May 08, 2011 8:16 am
by mastertheknife
kevin_robson wrote:If ZM is back in development, is there any chance of seeing if a fix for this issue can be rolled in?
http://www.zoneminder.com/forums/viewto ... 21&t=15203

It was working pre 1.24, but 1.24 broke it.
Hi, check your thread, i posted a fix in there.

mastertheknife

FATAL ERROR

Posted: Mon May 09, 2011 7:01 pm
by DREMA
Hi! I'm getting a big problem on a system with the latest svn.

Doesn' change anything at all, just rebooted the machine a few times.
Here are the logs.

root@camaras:~# zmpkg.pl restart
Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/share/perl/5.10.1/ZoneMinder/Debug.pm line 265.
Compilation failed in require at /usr/local/share/perl/5.10.1/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/ZoneMinder.pm line 34.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 46.


==> /var/log/apache2/error.log <==

Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/share/perl/5.10.1/ZoneMinder/Debug.pm line 265.
Compilation failed in require at /usr/local/share/perl/5.10.1/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/ZoneMinder.pm line 34.
Compilation failed in require at /usr/local/bin/zmdc.pl line 51.
BEGIN failed--compilation aborted at /usr/local/bin/zmdc.pl line 51.
Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/share/perl/5.10.1/ZoneMinder/Debug.pm line 265.
Compilation failed in require at /usr/local/share/perl/5.10.1/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/ZoneMinder.pm line 34.
Compilation failed in require at /usr/local/bin/zmdc.pl line 51.
BEGIN failed--compilation aborted at /usr/local/bin/zmdc.pl line 51.
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_WEB_TITLE_PREFIX - assumed 'ZM_WEB_TITLE_PREFIX' in /var/www/zm/skins/classic/includes/functions.php on line 39, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_DIR_IMAGES - assumed 'ZM_DIR_IMAGES' in /var/www/zm/includes/functions.php on line 1183, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_DIR_IMAGES - assumed 'ZM_DIR_IMAGES' in /var/www/zm/includes/functions.php on line 1183, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_DIR_EVENTS - assumed 'ZM_DIR_EVENTS' in /var/www/zm/includes/functions.php on line 1188, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_DIR_EVENTS - assumed 'ZM_DIR_EVENTS' in /var/www/zm/includes/functions.php on line 1192, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_CHECK_FOR_UPDATES - assumed 'ZM_CHECK_FOR_UPDATES' in /var/www/zm/skins/classic/views/js/console.js.php on line 4, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_DYN_LAST_VERSION - assumed 'ZM_DYN_LAST_VERSION' in /var/www/zm/skins/classic/views/js/console.js.php on line 4, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_DYN_LAST_VERSION - assumed 'ZM_DYN_LAST_VERSION' in /var/www/zm/skins/classic/views/js/console.js.php on line 4, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_DYN_SHOW_DONATE_REMINDER - assumed 'ZM_DYN_SHOW_DONATE_REMINDER' in /var/www/zm/skins/classic/views/js/console.js.php on line 8, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_DYN_DONATE_REMINDER_TIME - assumed 'ZM_DYN_DONATE_REMINDER_TIME' in /var/www/zm/skins/classic/views/js/console.js.php on line 12, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_DIR_EVENTS - assumed 'ZM_DIR_EVENTS' in /var/www/zm/includes/functions.php on line 1615, referer: http://sapporo/zm/index.php
df: `ZM_DIR_EVENTS': No such file or directory
df: no file systems processed
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_OPT_X10 - assumed 'ZM_OPT_X10' in /var/www/zm/skins/classic/views/console.php on line 190, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_OPT_USE_AUTH - assumed 'ZM_OPT_USE_AUTH' in /var/www/zm/skins/classic/views/console.php on line 216, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:17 2011] [error] [client 189.217.xxx.55] PHP Notice: Use of undefined constant ZM_AUTH_TYPE - assumed 'ZM_AUTH_TYPE' in /var/www/zm/skins/classic/views/console.php on line 218, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:18 2011] [error] [client 189.217.xxx.55] File does not exist: /var/www/zm/undefined, referer: http://sapporo/zm/index.php
[Mon May 09 13:05:18 2011] [error] [client 189.217.xxx.55] File does not exist: /var/www/favicon.ico

Please any help on how to fix this, don't want to go back to 1.24.2 or reinstall, this box is a little important.

Thanks a lot.

Re: Release 1.24.3 preview

Posted: Tue May 17, 2011 9:40 am
by zoneminder
Sounds like your config and/or database may not be present?

Re: Release 1.24.3 preview

Posted: Tue May 17, 2011 9:42 am
by zoneminder
Now version 1.24.3 has been officially released please do not post any further queries to this thread but create specific threads for individual issues ensuring you mention that you are on version 1.24.3.