Web seems to hang: PHP ereg() error?
Posted: Mon Aug 23, 2010 8:19 pm
Ubuntu 10.04 with Zoneminder 1.24.2
Sometimes when I use the web interface for zoneminder, it times out or hangs. When I look up the Apache2 error log, I see the following errors:
(and lines 813, 818, 823, and 828 as well)
I tried to research the error, and it seems that the ereg expression used at those points is out dated and needs to be updated. Sadly, I am no programer and am likely to break it if I tried to repair it (given I could figure out how to do so!) So my question is this:
Is there a fix for this?
If not, can I downgrade my PHP to 5.2.9 (what I read says that this would accept the expression), and how would I do so in Ubuntu?
Sometimes when I use the web interface for zoneminder, it times out or hangs. When I look up the Apache2 error log, I see the following errors:
Code: Select all
PHP Deprecated: Function ereg() is deprecated in /usr/share/zoneminder/includes/functions.php on line 808
I tried to research the error, and it seems that the ereg expression used at those points is out dated and needs to be updated. Sadly, I am no programer and am likely to break it if I tried to repair it (given I could figure out how to do so!) So my question is this:
Is there a fix for this?
If not, can I downgrade my PHP to 5.2.9 (what I read says that this would accept the expression), and how would I do so in Ubuntu?