- Set post_max_size to (ex.) 1000M in php.ini.
- Set upload_max_filesize to (ex.) 1000M in php.ini.
- Check the upload_tmp_dir value on the phpinfo page. If it's empty, php use the default tmp folder. On linux, it is /tmp. Sometimes it's a mapped partition/device and it has a size. If the size is lower than 1000MB, the upload won't work. Change the size of the tmp dir!
- If there is a LimitRequestBody row in httpd.conf (apache) or in a virtual host file, change the value to 0, it means unlimited.
Showing posts with label upload. Show all posts
Showing posts with label upload. Show all posts
Thursday, January 19, 2012
Moodle: Upload Big Files
Thursday, April 7, 2011
Mime Type Problem when Uploading DOC, DOCX, ODT Files in Symfony
If you create a DOC file with OpenOffice, its mimetype will be application/octet-stream, that can be anything binary data. Of course, you can't allow this mimetype at uploading.
If you try to upload DOCX and ODT files, symfony will recognise them as a ZIP archive. To corrrect this and the OpenOffice DOC mimetype problem, add the 'mime_type_guessers' option to sfValidatorFile:
If you try to upload DOCX and ODT files, symfony will recognise them as a ZIP archive. To corrrect this and the OpenOffice DOC mimetype problem, add the 'mime_type_guessers' option to sfValidatorFile:
$this->setValidator('filename', new sfValidatorFile(array( 'max_size' => ..., 'path' => ..., 'mime_type_guessers' => array('guessFromFileinfo'), 'required' => ..., ...
Tuesday, July 27, 2010
Install AVR Media AUDIO and VIDEO Player for Joomla 1.5
- Install com_avreloaded-x.x.x.zip
- Check PHP upload_max_filesize setting, sometimes it has a very low value
- Go to Media Manager and create 'audio' and 'videos' folder in 'stories'
- Go to Global Settings and add the extensions (for uploading) you need (mp3, avi, mpg, etc)
- When you write an article, you will find an AVR Media button at the bottom, use that to include an audio or video player...
Subscribe to:
Posts (Atom)