zm/includes/functions.php on line 2465 err on OpenSuse 12.3

Forum for questions and support relating to the 1.26.x releases only.
Locked
tkmbe
Posts: 4
Joined: Wed Feb 26, 2014 9:46 pm

zm/includes/functions.php on line 2465 err on OpenSuse 12.3

Post by tkmbe »

Hello

I'm new to ZoneMinder and want to give it a try for my cams.
Have installed rpm binary for opensuse 12.3 from liquid.de repos
(Cannot post link because new user :-( )
When I try to visualize zm
the apache log contains the following error:
PHP Parse error: syntax error, unexpected $end in /data/www/htdocs/zm/includes/functions.php on line 2465
which is the end of the file
My php version is php5-5.3.17-3.4.1.x86_64

What did I miss?

Thanks for any hints

Beat
px03afk
Posts: 77
Joined: Wed Nov 30, 2011 4:53 pm

Re: zm/includes/functions.php on line 2465 err on OpenSuse 1

Post by px03afk »

I'm not entirely sure if this is the answer but I too had a similar problem with OpenSuse and I think the change I made which stopped this happening was to set short_open_tag = On in /etc/php5/apache2/php.ini. Be careful when you are editing the file as you will find two references to short_open_tag, the first of which is commented out and says default is On but later in the file there is a real entry which is by default Off.
tkmbe
Posts: 4
Joined: Wed Feb 26, 2014 9:46 pm

Re: zm/includes/functions.php on line 2465 err on OpenSuse 1

Post by tkmbe »

Tanks!!
Will try it later. I have now just installed ZoneMinder 1.26.4.9.1 (normal version) not ZoneMinder-MP version and this version will startup at least.
Now I try to configure my cams and test a little bit the prog...
tkmbe
Posts: 4
Joined: Wed Feb 26, 2014 9:46 pm

Re: zm/includes/functions.php on line 2465 err on OpenSuse 1

Post by tkmbe »

You were right. This solved the problem for both version.
The version I thought it worked had the same problem...
Now starting up, but cams not working ...
Locked