Viewing all events causes "open file" dialog.

Support and queries relating to all previous versions of ZoneMinder
Locked
hushpuppy
Posts: 147
Joined: Wed Aug 08, 2007 10:28 am

Viewing all events causes "open file" dialog.

Post by hushpuppy »

As the title states, if i try to view all events (dont know if it's relevant but theres 11,000 events) for a camera, a dialog box is opened asking me what i want to do with the index.php file, open or save it.

I'm sure i've come across this before, but cant find the solution despite searching for a while.

Using Apache2 and php4.
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post by monex »

Hi,

I guess that the php memory limit is reached. Look into /etc/php/apache2/php.ini (maybe this depends on your linux distribution) and search for memory_limit. But to get sure what is going wrong, look into apache2 error log before it could also be that the runtime is too long.

Hope this helps
Image
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I agree with monex, check your apache log, I'm certain you ran out of memory for the script.
hushpuppy
Posts: 147
Joined: Wed Aug 08, 2007 10:28 am

Post by hushpuppy »

Aha, that would explain it.
The whole operating system is running in memory, will reboot the server with a different option, and try again, thanks for the help.
hushpuppy
Posts: 147
Joined: Wed Aug 08, 2007 10:28 am

Post by hushpuppy »

I didnt bother with a server reboot, did a little reading and changed the memory_limit value, initially it was 8MB, tried 16, 32, then 64MB which was the amount required for the script to work.

Thanks for all the help.
Locked