Ubuntu 13.10 Symbolic link and PHP issue

Forum for questions and support relating to the 1.26.x releases only.
Locked
bbunge
Posts: 2931
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Ubuntu 13.10 Symbolic link and PHP issue

Post by bbunge »

For Ubuntu 13.10 the symbolic link creation should be:

ln -s /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.conf

When you try to access the ZM web page you get a blank screen.

The issue is in the php.ini file and is a value called:

short_open_tag = Off

This value needs to be set to On

sudo nano /etc/php5/php.ini

find the short_open_tag = Off and change it to On

Ctrl +o to save the file
Ctrl +x to exit

/etc/init.d/apache2 force-reload

and now you should see the ZM page!

Looks like future issues of ZM should have the code changed to:
<?php ?>

bb
windracer
Posts: 61
Joined: Sat Jul 23, 2011 1:15 am

Re: Ubuntu 13.10 Symbolic link and PHP issue

Post by windracer »

I found these same solutions on my own, but thanks for posting it here!

Are you getting these mysql errors in your Apache error log since upgrading to 13.10, though? Everything seems to be working fine, this just seems to be a warning:

Code: Select all

[Wed Oct 30 15:55:32.293381 2013] [:error] [pid 29988] [client 74.115.234.131:36028] PHP Deprecated:  mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/local/zoneminder/includes/database.php on line 32, referer: http://www.mysite.net/zm/index.php
britny.mark
Posts: 1
Joined: Wed Nov 06, 2013 10:26 am

Re: Ubuntu 13.10 Symbolic link and PHP issue

Post by britny.mark »

One of the things I have to change locally in montage.php is the fact that images are all different sizes.
This looks very bad, and when you have wildly different camera resolutions, like I do, then it becomes impossible.
One camera takes up more than the entire screen, and 8 cameras are not even visible.

I think it looks much nicer if you can configure all the images to be the same size in the montage view
>m Goooood<
Locked