Closed (fixed)
Project:
FlashVideo
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Feb 2009 at 02:27 UTC
Updated:
12 Jun 2009 at 14:50 UTC
With the default upload module, I used to be able to create videos. Then I upgraded to the latest with the filefields. I reset my content type, created filefield upload, filefields to hold the video and the thumbnail and went back to admin/settings/flashvideo and set all things necessary. I started to upload the new video, then this happened with the blank page.
Fatal error: Cannot unset string offsets in D:\xampp\htdocs\video\sites\all\modules\cck\content.module on line 1234
No node created, but when I checked the video uploaded to my subdirectory inside files, it was there. So the video succesfully created, but no node output so far.
Any idea why this happened? Thanks
Comments
Comment #1
attheshow commentedI've never seen this before. That error doesn't sound to me like it's necessarily being caused by the FlashVideo module code though.
Comment #2
attheshow commentedComment #3
japicoder commentedHi all,
Yes, this error is caused by Flashvideo when you set a finished video or thumbnail CCK File field, and these fields are on a group. If fields are outside the group, it all works fine.
Comment #4
attheshow commentedGreat, thanks for pointing out how to duplicate the issue. Looks like it was related to how the "finished thumbnail" and "finished video" fields were being hidden. Needed to account for the different field setup when used in a fieldgroup. I just committed a fix for this. Should appear in the latest dev package of the module in the next 12 hours. Let me know if this works!
Comment #5
japicoder commentedThank you attheshow for your quick response! I've tested the dev version with the cck fields on a fieldgroup and outside the fieldgroup and now it works like a charm.
Comment #6
gausarts commentedGlad it's fixed. Gotta continue the test drive. Thank you very much.