Page 1 of 1

variables are no longer resolved

Posted: Mon Feb 04, 2008 8:40 pm
by timetourist
Dear all,

first of all I want to mention that I have really tryed to find the source of error via FAQ, forum and Wiki. But I failed.

For some reason ZM doesn't work anymore. My ZM-Console only puts out the following:
".$monitor['Function']."", canEdit( 'Monitors' ) ) ?> ".$monitor['Device']." (".$monitor['Channel'].")", canEdit( 'Monitors' ) ) ?> ', $monitor['Sequence']>$min_sequence ) ?>', $monitor['Sequence']<max_sequence>
The HTML-Source reveails that none of the variables is resolved, but the PHP seem to be processed to some level.
I'm running ZM on openSuSE 10.2. The rczm is "running". Restarting doesn't help. The mysql table is fine according to mysqlcheck.

Any suggestions?

Posted: Mon Feb 04, 2008 9:09 pm
by cordel
Check your database, sounds like the server is stopped or likely the the tables have gotten corrupted.

Posted: Mon Feb 04, 2008 9:28 pm
by timetourist
Thanks. I've found out even more. It looks like some passages of the source-code are not parsed by apache. Everything that starts with

Code: Select all

<?=
is not parsed.

But how could that happen all over sudden?

Posted: Mon Feb 04, 2008 9:56 pm
by cordel
Did you update?
Make sure short tags are enabled in php.ini

Posted: Mon Feb 04, 2008 10:29 pm
by timetourist
I thank you sooooo much. You saved my night!

You were absolutely right: I installed a security update (patch) via the opensuse-online-update. This must have altered my php.ini.

After turning

Code: Select all

short_open_tags = On
ZoneMinder is working again!

Thanks again!