Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

error while uploading video


Reply

3 Posts   1102 Views

Avatar
Rishi

25 February 2010 at 2:46am (Last edited: 9 March 2010 11:25pm), Community Member, 97 Posts

hello
i have created a video page to upload video with the help from great UC and his code and its running fine.
the only problem is that sometimes when I am uploading a big video it gives this error

Fatal error: Call to a member function obj() on a non-object in /home/equestri/public_html/abc/dataobject_manager/code/FileDataObjectManager.php on line 401. 293 results were found.

But the video is uploaded and it is showing correctly on the front end(Page)

I have increased the max post size and memory allocation as well as max execution quite high.

thank you in advance

Avatar
UncleCheese

25 February 2010 at 5:14am 4085 Posts

Does it only fail on large files?

Avatar
Rishi

9 March 2010 at 11:25pm (Last edited: 14 March 2010 6:23am), Community Member, 97 Posts

Yes it does happen only when uploading large files mainly in Mac system but video are uploaded correctly and it is showing on front end also
in some post i have seen people have corrected this issue by upgrading silverstripe to 2.3.3 but i am using 2.3.4