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

attheshow’s picture

I've never seen this before. That error doesn't sound to me like it's necessarily being caused by the FlashVideo module code though.

attheshow’s picture

Status: Active » Closed (fixed)
japicoder’s picture

Version: 6.x-1.5-beta1 » 6.x-1.5-rc2
Status: Closed (fixed) » Active

Hi 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.

attheshow’s picture

Version: 6.x-1.5-rc2 » 6.x-1.x-dev
Assigned: Unassigned » attheshow
Category: support » bug
Status: Active » Fixed

Great, 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!

japicoder’s picture

Thank 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.

gausarts’s picture

Glad it's fixed. Gotta continue the test drive. Thank you very much.

Status: Fixed » Closed (fixed)

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