Started getting this errorhim the log:
Message unserialize() expects parameter 1 to be string, array given in /.../sites/all/modules/ffmpeg_converter/ffmpeg_converter.module on line 282.

PHP 5.3, FileField 3.7 and the 2.x-dev of ffmpeg_converter.

Anyone else? Fix suggestions?

CommentFileSizeAuthor
#2 ffmpeg_converter-bug_956480.patch938 byteszoo33

Comments

markusbroman’s picture

Hi, I also got a error message referring to the line 282.

But I got it when updating from 6.x-2.x-dev to 6.x-2.0-beta1.

Unfortunately I don't have a fix suggestion because I haven't had time to check what might be causing this error.

zoo33’s picture

Status: Active » Needs review
StatusFileSize
new938 bytes

Please test the attached patch. If you're not familiar with working with patch files, just replace lines 281-282 in ffmpeg_converter.module with this:

$files[] = $job['arguments'][0] . '-' . $job['arguments'][1] . '-' . $job['arguments'][2] . '-' . $job['arguments'][3];

mjvesper’s picture

I applied the patch and the unserialize errors have stopped appearing in the dblog for 6.x-2.x-dev dated 2010-Oct-17. Hopefully this is typical of markusbroman and others.

Videos also seem to process as expected. Will test more.

zoo33’s picture

Status: Needs review » Fixed

Committed, thanks!

markusbroman’s picture

The patch solved it, works here as well.
Great! Now I can use multiple presets again:)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.