Flash Uploader Issues
Before I upgraded from 3.0 to 3.1, the flash uploader worked great. Now when I try to upload the images, it stops and says "File is to Big." Also, the same files upload fine using the standard uploader.
I do not beleive the flash uploader has changed. 3.01 was merely a bug fix release and I am not aware of any changes to the flash stuff.
What is your maximum filesize limit? Is the file under this? Is the file bigger than your maximum allowed php filesize in PHP info?
I have tested the flash uploader in 3.01 and it seems to work fine.
The file size authorized is set to "0" (unlimited), and the PHP settings are as follows:
upload_max_filesize 128M 128M
upload_tmp_dir no value no value
Under your filetypes listing your saying there is no max size it is usually set to 2097120 or something like this by default in vbulletin and as such would become the max flash upload size.
No problem. I gave up and turned the flash upload settings off, and now use the standard upload feature. CLOSED!
Use whichever. I am merely pointing out if you want your flash upload size larger you want to make sure your filetypes settings have the max filesize set higher as thats where the flash uploader gets its limits from.
Hi Chuck I'm having the same problem as above.
My upload_max_filesize 1000mb
And php memory limit is set to 200mb
I'm trying to upload images of about 5000 x 5000 (or higher).
From what I've learned since yesterday GD2 has a limitation of about 4000 x 4000 so I set up ImageMagic instead but still get this issue. Just as gatorsfootball says the old manual upload works fine but Flash upload says file to big.
Can you think of any place other than Files and extensions where an upload limit is set?
I've looked at the upload script in the flash upload directory (clientscripts) and it says it is set to no limits.
Thanks for the help yesterday with the missing JPG extentions... As I had a very recent database back up (only a few hours old) I re-inserted the table Files and extensions and all is well again. I'll put that one down to a dickey SQL :)
Can I just add that I think this is a dimensions problem rather than a physical memory problem... or so it seems.
once you send your server info I will take a look. I have checked and see nothing sent yet.
Oops... didn't see this until now sorry.
Just sent through (via contact us) administrators login details for you.
yeah were you not sending those details as we where talking about filesize issue in another thread?
Got your message. Is the file type you uploaded over 7mb in size and around about the dimensions of 7000 x 7000? As I'm able to upload images via Flash smaller than those sizes.
Nope it is not and dont think I have anything 7000x7000
The flash uploader itself may have specific restrictions on the size it can handle. That is outside our control as its an option in our program the actual uploader is code from another company. We can not alter there coding.
If you know if can not handle over 7mb uploads then this is where you want to set your upload limits.
Turn off the flash uploader. Can you upload that image using the normal uploader?
I read some of the limitations of the Flash uploader you use in VBGallery and it seems that over 2mb is an issue with uploading. However, the Flash uploader will handle file sizes much bigger like 100mb or more. From what I've read so far it is down to how the script reads the upload.php or flashupload.php and then if the PHP isn't set up correctly there is the problem. I've tried to get around this by setting up htaccess and force the script to accept the php settings... but nothing.
I have checked through the script and there are no settings that are hard coded (except for the editable upload.php and flshupload.php)
What I'm basically determined is that there is a simply misconfiguration and the uploader isn't using all the memory that it can from PHP.
I can upload larger files by the manual way without any issues at all.
The normal upload which we do support and code seems to work fine.
I do know where we have commented before that in the upload script we do set the max flash upload filesize as the lowest common filesize. So if your lowest filetype is 2mb then your limit is 2mb.
**** SORTED FOUND THE ANSWER ****
I've spent the past few hours looking through the code for the flash uploader and here's where most of the things go wrong and need to be looked at or corrected.
Flash uploader needs to have the correct PHP setting on serverside:
Once that is ok you'll need to go to Admincp>VBGallery>Edit Filetypes and set every setting the same.
The reason for this is because the flash uploader seems to read the lowest file size and sets the maximum upload file size to that. So even though jpg is set to 8mb it will not upload if avi is set a 2mb. This seems to be the case even though I don't use any other settings other than image formats.
I've attached a screen shot of the File type area for you to see.
I'm now able to upload images of 12000 x 12000 @ 9mb without any errors at all using Flash uploader.
Hope this helps.
Oh, I didn't need to edit the upload.php or the flashupload.php I left them with the default values
Yes that was your issue as stated we get filesize from the extension list. I know we brought that up in other threads here.
|All times are GMT -5. The time now is 09:15 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0