I tried to upluad an attatchement over 5mio in a post:
- with prosilver or prosilver based theme I get a small tranfer status bar and the tranfer crashes with a
message " error parsing server response"
- with subsilver2 I get a popup window and the tranfer goes well.
does anybody experiment the same problem?
ps:
1/ for testing purpose
I replaced posting_attach_body.html file from prosilver with subsilver same file ( apart an error with the popup box) ......there is no problem for uploading attachement.
I really think the problem came from prosilver original file
2/ additionnal infos
Attachments
Allow attachments: Yes
Allow attachments in PMs: Yes
Upload directory: /files/
Upload directory permissions: 700
Attachment display order: Descending
Size of posted attachments: 5.63 MIB
Total attachment quota: 50 MIB
Maximum file size of 10 MIB less than estimated server PHP limit of 16 MIB
Maximum file size PMs: 256 KIB
Maximum attachments per post: 3
Maximum attachments per PM: 1
Check file mimetype: Yes
Secure downloads: No
Image attachments
Display images inline: Yes
Create thumbnail: Yes
Maximum thumbnail width: 400 px
Maximum thumbnail file size: 11.72 KIB
Imagemagick path:
Maximum image dimensions: 0 × 0 px (width × height)
Image link dimensions: 0 × 0 px (width × height)
PHP Values
PHP version: 5.4.0-1~dotdeb.1
PHP safe mode: Off
zlib.output_compression: Off
open_basedir restrictions: /home/web/abpphpbb.com/:/usr/share/squirrelmail/:/etc/squirrelmail:/var/lib/squirrelmail/data/:/var/spool/squirrelmail/:/etc/mailname:/usr/share/php/:/usr/share/roundcube/
upload_max_filesize: 15 MIB
post_max_size: 15 MIB
memory_limit: 16 MIB
∴ Estimated maximum file upload size: ≤ 16 MIB
max_file_uploads: 20
Max execution time: 600 secs
Max input time: 600 secs
max_input_vars: 1000
file_uploads: Enabled
allow_url_fopen: Enabled
imagick PHP extension not available
ImageMagick: not found
getimagesize remote: Working
getimagesize local: Working
3/ for testing purpose I have set to "0" attached file size in the admin panel of my board ====> and uploads over 5mio are going well with prosilver !!!!!
very strange ! when it is set to 10mio...it crasch !!.....despite in subsilver 2 there is no pb with 10mio
All depends what your server host allows you to upload max size as? Makes no difference setting 15mb upload size if your hosting limits upload size to less than that. Have you checked "PHP Information" page that your host sets via Admin CP, look at upload_max_filesize on it
Adding those lines to an htaccess file makes no difference half the time, it will not override the php.ini file server host sets for max-upload size, you would need to contact your host and ask them to change it in INI file. Don't be fooled into thinking that anything you add in an htaccess file overrides things, most of time it won't work.
I was running an older version of PHP and when I upgraded the server (invluding PHP) the problem stopped. I also upgraded to 3.1.3 at the same time, so it might also have been that. Problem solved!