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

Video Uploading shows only Processing...?


Reply


4 Posts   595 Views

Avatar
Arun_India

Community Member, 18 Posts

22 November 2011 at 11:14pm

Edited: 24/11/2011 11:20pm

Hi,

I just did a fresh install of SilverStripe v2.4.6 in windows server 2008 r2 and
i have created a video page to upload video the upload just does not work.When I choose to upload any video file ,its shows only "processing" with progress bar.

When i run

FLV::echo_ffmpeg_test(); in config file and result become

"FFMPEG is installed on your server and working properly. Code: 1"

Some times its also shows

"Fatal error: Call to a member function obj() on a non-object in
C:\ root-path\SilverStripe\dataobject_manager\code\FileDataObjectManager.php on line 533"

I have no clue what to do.

Pls give me a solution....

Arun

Avatar
Silverfish

Community Member, 59 Posts

23 November 2011 at 12:31am

Edited: 24/11/2011 11:20pm

Hi Arun_India,

PHP has a limited file upload size by default which you might exceed with your video files. Another reason might be that your assets folder is not writeable for the system. You could check this by trying to upload a smaller file (image or something).

If this works, you could change the max upload size configured in php. You would have to change the values for upload_max_filesize http://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize and post_max_size http://www.php.net/manual/en/ini.core.php#ini.post-max-size .

You can change these values by changing the php.ini config file directly,
by adding 2 lines to the .htaccess:
php_value upload_max_filesize [XY]
php_value post_max_size [XY]
or as far as I remember even by setting a silverstripe variable in the _config.php. (Ask Google for it ;)).

HTH
SF

Avatar
Arun_India

Community Member, 18 Posts

24 November 2011 at 10:11pm

Edited: 24/11/2011 11:20pm

Hi Silverfish,

Still i have the same problem with uploading..............
(pls check the uploaded image also)

At the same time I can't change the themes also.When I change the theme,there is no page is displayed..

Regards Arun

Attached Files
Avatar
Arun_India

Community Member, 18 Posts

25 November 2011 at 12:36am

Edited: 30/11/2011 12:46am

Hi chinni,

Thanks for your comments,but still i have the sane issue.

While uploading video,its shows an fatal error in dataobject_manager folder.

"Fatal error: Call to a member function obj() on a non-object in C:\inetpub\wwwroot\SilverStripe\dataobject_manager\code\FileDataObjectManager.php on line 533"

Regards Arun