Page 1 of 1

Instalation error: ZM_PATH_LOGS

Posted: Mon Jan 30, 2006 10:12 am
by Yolanda
Hi!
I´ve this message when I try start zoneminder 1.20.0:

"Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 76.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmpkg.pl line 77.
"
I have installed mysql, perl, cgi, php, cambozola, TermReadKey in Red Hat 8.0

Before I installed zoneminder 0.98 and it worked fine but I need to connect an ip camera so I release version and now I have the previous error. I don´t know how to repair it.

Somebody can help me?

Thanks :cry:

Posted: Mon Jan 30, 2006 11:21 am
by zoneminder
Ordinarily this error occurs when you try and run ZM without having provisioned the databse. If you are starting from scratch then I would recommend using 1.22.0 rather than 1.20.0 which is quite an old version. Can you confirm that is the version you have as the instructions are different?

Posted: Mon Jan 30, 2006 7:55 pm
by cordel
What you may need to do is update your existing database.
You need to run :
mysql zm < db/zm-update-0.9.8.sql
and all zm-update-<version>.sql after it to update your database.

Regards,
Corey