SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
max_upload_filesize exceeded, no error message

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
saadava



Joined: 10 May 2008
Posts: 6

PostPosted: Jun 18, 2008 7:39 pm    Post subject: max_upload_filesize exceeded, no error message Reply with quote

Hi,

This is xupload 3.0 January 2008. I have a problem with uploading files > max_upload_filesize.

In my configuration:

max_upload_size => 5
max_upload_filesize => 3

When a file greater than 3Mbytes is uploaded, the end user sees an apparently successful upload. The server however, fails the upload because the file size is too big (as it should).

So the user doesn't know that the upload actually failed.

Any ideas?

Simon
Back to top
View user's profile Send private message
saadava



Joined: 10 May 2008
Posts: 6

PostPosted: Jun 18, 2008 9:35 pm    Post subject: max_upload_filesize exceeded, no error message Reply with quote

Just to clarify, this is this is xupload 3.0 pro - January 2008
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 22 Mar 2006
Posts: 126

PostPosted: Jun 20, 2008 11:33 am    Post subject: Re: max_upload_filesize exceeded, no error message Reply with quote

saadava wrote:
Hi,

This is xupload 3.0 January 2008. I have a problem with uploading files > max_upload_filesize.

In my configuration:

max_upload_size => 5
max_upload_filesize => 3

When a file greater than 3Mbytes is uploaded, the end user sees an apparently successful upload. The server however, fails the upload because the file size is too big (as it should).

So the user doesn't know that the upload actually failed.

Any ideas?

Simon


Hello,

swap these values, so you will have:

max_upload_size => 3
max_upload_filesize => 5

That should help (we will fix naming in next ver).

P.S. Note that script able to track only total upload size prior uploading (and give proper error). And each individual file size limit will be tracked (and reported if incorrect) after upload is complete.
Back to top
View user's profile Send private message Send e-mail
saadava



Joined: 10 May 2008
Posts: 6

PostPosted: Jul 06, 2008 11:27 am    Post subject: Re: max_upload_filesize exceeded, no error message Reply with quote

Hi,

When I set these values as you suggested, and upload a 4Mbyte file I get a popup saying:

ERROR: Maximum total upload size exceeded
Please stop transfer right now.
Max total upload size is: 3 Mb


This is with the following config values:

# Minimum/Maximum Total upload size limit in MBytes (empty or zero to disable)
min_upload_size => 0,
max_upload_size => 3,

# Minimum/Maximum upload Filesize limit in Mbytes (empty or zero to disable)
min_upload_filesize => 0,
max_upload_filesize => 5,

Simon
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1055
Location: Undisclosed location

PostPosted: Jul 07, 2008 7:37 am    Post subject: Reply with quote

You can see
Quote:
File Status:filesize too big

in our post.php after upload complete. File status posting in "file_status" field.
Back to top
View user's profile Send private message Visit poster's website AIM Address
saadava



Joined: 10 May 2008
Posts: 6

PostPosted: Jul 10, 2008 8:39 am    Post subject: Re: max_upload_filesize exceeded, no error message Reply with quote

Cheers - I understand this now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group