Cannot delete events or cameras

Forum for questions and support relating to the 1.24.x releases only.
Locked
c0mputerking
Posts: 190
Joined: Tue Sep 16, 2008 5:22 am

Cannot delete events or cameras

Post by c0mputerking »

Hello again all i have a system setup with one camera and it was on modect. I left it alone for a couple of months, and now it has over 300000 events, but they are all null with 0 frames and last 0 secs.

Also i have tried several times to delete them using webinterface as well as tring to delete the camera so i can add it again hoping to fix things. However i cannot seem to delete events or cameras!! is it permissions?

Anyways i have used sshd and gone in deleting all the files in the events folder, and still cannot seem to rid myself of these null events as they still appear in the GUI.

Watching the message log i just seen this go by

Jan 17 13:34:51 zmhost httpd: PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in /var/lib/zm/www/includes/database.php on line 126
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

ok find your php.ini and change the max memory setting

run "find / -name php.ini" to find it .
c0mputerking
Posts: 190
Joined: Tue Sep 16, 2008 5:22 am

SOLVED

Post by c0mputerking »

I solved things for now by running a repair on the database there were some broken tables as the users keep unplugging the machine. However i will visit the memory suggestion too!
Locked