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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

error while uploading video


Go to End


3 Posts   1585 Views

Avatar
Rishi

Community Member, 97 Posts

25 February 2010 at 2:46am

Edited: 09/03/2010 11:25pm

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

Forum Moderator, 4102 Posts

25 February 2010 at 5:14am

Does it only fail on large files?

Avatar
Rishi

Community Member, 97 Posts

9 March 2010 at 11:25pm

Edited: 14/03/2010 6:23am

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