Page 1 of 1

Export ZIP problem

Posted: Tue Nov 04, 2008 3:05 pm
by Alan87i
When I export as a tar file all is fine but when I try ZIP I get this error.

Warning: opendir(events/Cam2/4951) [function.opendir]: failed to open dir: No such file or directory in /usr/share/zoneminder/zm_export_funcs.php on line 198


Export Failed

I'm setting this up for a friend and he is a windows user.
Thanks for any ideas.
Allan

Posted: Tue Nov 04, 2008 5:50 pm
by coke
You're better off fixing your problem locally, in the long run, but WinRAR doesn't mind .zip, .tar, etc.

Posted: Wed Nov 05, 2008 4:55 pm
by Lee Sharp
Do you have zip installed and enabled?

Posted: Thu Nov 06, 2008 1:24 am
by Alan87i
Yes
I forgot to mention I'm running Ubuntu 8.04 zip works fine just not when I export with Zoneminder

Posted: Thu Nov 06, 2008 5:51 pm
by coke
Uploaded events may be stored in either .tar or .zip format, this option specifies which. Note that to use this you will need to have the Archive::Tar and/or Archive::Zip perl modules installed.
Do you have zip perl modules installed, or just zip?

Posted: Thu Nov 06, 2008 8:26 pm
by Alan87i
Yes I just checked and the lib perl module for tar and zip are installed.

Posted: Fri Nov 14, 2008 6:56 am
by kingofkya
This Happen to me also Check To see if you have a symlink for each cam in event directory Ex Cam link to folder 1

Re: Export ZIP problem

Posted: Sun Feb 27, 2011 4:54 pm
by zlatan24
Alan87i wrote:When I export as a tar file all is fine but when I try ZIP I get this error.

Warning: opendir(events/Cam2/4951) [function.opendir]: failed to open dir: No such file or directory in /usr/share/zoneminder/zm_export_funcs.php on line 198


Export Failed

I'm setting this up for a friend and he is a windows user.
Thanks for any ideas.
Allan
Zip files are very popular everywhere. Not so long ago I dug up a program which can resolve like problems - fix zip error.

Posted: Mon Feb 28, 2011 6:38 am
by Flash_
Can you please stop re-opening two year old threads? The original poster has long since resolved their problem.