swfupload works fine uploading files less than 2MB in size. However, when uploading a large file, it uploads and then right before progress bar complete it fails.

I have upload settings in swfupload page set to high numbers. I am thinking it has something to do with the normal Upload module restrictions. It may be related to the fact that when creating content there are two menus for uploading: the normal, and the swfupload way.

Any help would be greatly appreciated.

Comments

mv1’s picture

Also, I have installed swfupload .js and .swf in modules/swfupload/swfupload
and installed the other things according to the readme.

My logs, however, is showing: Page not found: swfupload,/swfupload

The files upload corretly (so long as they are under 2MB) however, they fail to post.

--david

PauvreFou’s picture

Hello,

as mv1, I can upload small files (smaller than my server file size limit, ie 8MB) via SWFUpload, but bigger files raise a "Server error!". It is problematic since I installed this module precisely to be able to upload large files to my server via drupal.

The error is raised after the green progress bar reaches 100%; then it gets red, writing "server error!", the file disappears from the list and is not stored on the server.

SWFUpload replaces correctly the core upload module in the forms.

I did all of the steps explained in the readme.

Reading the log entries, it appears I get an "access denied" error.
Location : http://www.myserver.com/~myaccount/drupaldir/swfupload
Referrer : http://www.myserver.com/~myaccount/drupaldir/path/to/previous/node
Message : swfupload
Severity : warning
Operations : -

Any idea of what is wrong? Did I misunderstood something?

Thanks

mv1’s picture

SWFupload does not actually get around the PHP server limits... so you have to increase them!

This is not very clear in the docs.
I added the following to .htaccess

php_value memory_limit 300M
php_value post_max_size 300M
php_value upload_max_filesize 300M

skilip’s picture

Status: Active » Fixed

@mv1 thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Jason10121’s picture

Priority: Normal » Major
Status: Closed (fixed) » Active

ok. i have been trying to update from drupal 7.2 to 7.4, and all of the files i try to load are always too big. it always pops up this red box that says:

Error messageThe file drupal-7.4.zip could not be saved, because it exceeds 2 MB, the maximum allowed size for uploads.

how do i make it so i can download files higher than 2MB?