Friday, November 25, 2011

ZoneMinder Export Failed Fix

If your getting export failed or a 45KB file from ZoneMinder export in Ubuntu, then most likely you are using a version below 1.25.0 of Zoneminder. Here is how to fix it.

1) Open  terminal on the server running zoneminder.

2) Enter the following:
gksudo gedit /usr/share/zoneminder/skins/classic/includes/export_functions.php

3) Scroll to line 255 and look for the following line(error is in red):

$exportFileList = array_merge( $exportFileList, exportFileList( $eid ), $exportDetail, $exportFrames, $exportImages, $exportVideo, $exportMisc );

and edit it to this(remove bracket at the end of $eid and place it after $exportMisc):

$exportFileList = array_merge( $exportFileList, exportFileList( $eid , $exportDetail, $exportFrames, $exportImages, $exportVideo, $exportMisc ));

Save and close the file. Now try the export function and it should work without a hitch.

All credits should go to ¨Fitch¨ on bugs.launchpad.net(Bug #740809), Thank You.

2 comments:

  1. No problem, glad my post helped you.

    ReplyDelete
  2. Hi There. The fix above doesn't work for me. It says there's no such directory. I am running 1.36.28. Any ideas? Thanks!

    ReplyDelete

Thanks for your input.

PiKVM to NVR

  Trying to connect to your IP Camera Network Video Recorder (NVR) via your PiKVM and it’s not working? No video from the NVR on...