variables are no longer resolved

Support and queries relating to all previous versions of ZoneMinder
Locked
timetourist
Posts: 5
Joined: Mon Feb 04, 2008 5:04 pm

variables are no longer resolved

Post 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?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Check your database, sounds like the server is stopped or likely the the tables have gotten corrupted.
timetourist
Posts: 5
Joined: Mon Feb 04, 2008 5:04 pm

Post 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?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Did you update?
Make sure short tags are enabled in php.ini
timetourist
Posts: 5
Joined: Mon Feb 04, 2008 5:04 pm

Post 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!
Locked