PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old May 26th, 2011, 12:37 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Location: Florida
Posts: 118
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.
gatorsfootball is offline   Reply With Quote
Old May 26th, 2011, 01:19 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 26th, 2011, 01:41 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Location: Florida
Posts: 118
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
gatorsfootball is offline   Reply With Quote
Old May 26th, 2011, 02:58 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 26th, 2011, 04:12 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Location: Florida
Posts: 118
No problem. I gave up and turned the flash upload settings off, and now use the standard upload feature. CLOSED!
gatorsfootball is offline   Reply With Quote
Old May 26th, 2011, 06:55 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 9th, 2011, 09:07 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Sep 2010
Posts: 110
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.

PS
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
Steff is offline   Reply With Quote
Old September 9th, 2011, 09:10 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Sep 2010
Posts: 110
Can I just add that I think this is a dimensions problem rather than a physical memory problem... or so it seems.
Steff is offline   Reply With Quote
Old September 9th, 2011, 10:20 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
once you send your server info I will take a look. I have checked and see nothing sent yet.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 9th, 2011, 11:04 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Sep 2010
Posts: 110
Oops... didn't see this until now sorry.
Just sent through (via contact us) administrators login details for you.
Steff is offline   Reply With Quote
Old September 9th, 2011, 11:06 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
yeah were you not sending those details as we where talking about filesize issue in another thread?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 9th, 2011, 11:14 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Sep 2010
Posts: 110
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.
Steff is offline   Reply With Quote
Old September 9th, 2011, 11:19 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
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?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 9th, 2011, 11:28 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Sep 2010
Posts: 110
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.
Steff is offline   Reply With Quote
Old September 9th, 2011, 11:50 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 9th, 2011, 01:25 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Sep 2010
Posts: 110
**** 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:
Quote:
php_value max_execution_time 1200
php_value upload_max_filesize 300M
php_value post_max_size 300M
php_value memory_limit 64M
Is a good set up (although I've set my memory limit much higher )

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
Attached Images
File Type: jpg values.jpg (81.6 KB, 3 views)
Steff is offline   Reply With Quote
Old September 9th, 2011, 01:33 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
Yes that was your issue as stated we get filesize from the extension list. I know we brought that up in other threads here.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
flash uploader PixelFX How Do I? - vBulletin 3.7x / 3.8x 5 December 29th, 2012 11:59 PM
Flash Uploader and FF SnapShack Photopost Pro Bug Reports 3 July 7th, 2009 08:41 PM
Flash uploader..not so much dropmachine Photopost Pro How Do I...? 5 May 5th, 2009 01:37 PM
Do we really need a flash uploader? Ramses General Discussion 5 March 14th, 2009 04:09 PM
Flash uploader Dave Leishman Photopost Pro How Do I...? 7 December 4th, 2008 03:53 PM


All times are GMT -5. The time now is 11:03 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0