7935 Posts in 1536 Topics by 943 members
|Go to End|
22 November 2011 at 11:14pm Last edited: 24 November 2011 11:20pm
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....
23 November 2011 at 12:31am Last edited: 24 November 2011 11:20pm
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 ;)).
24 November 2011 at 10:11pm Last edited: 24 November 2011 11:20pm
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..
25 November 2011 at 12:36am Last edited: 30 November 2011 12:46am
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"
|Go to Top|