Problem with upload size

susawx 09 Jun, 2011
Hi! Thanks for your component!!
Im using Chronoforms on Joomla 1.6. The form works fine when I send images around 100 kb, send attachments and save the file in dir and DB. But when they are bigger, the form is sent but without attachments and its not saved in the DB either. Neither a message saying it is bigger than permitted is shown. Nothing, so people think their images where saved ok but not.
In my configuration I have
Enabled:yes
Files:imagen1:jpg-png-gif,imagen2:jpg-png-gif,imagen3:jpg-png-gif,imagen4:jpg-png-gif,imagen5:jpg-png-gif
Upload path (empty)
Max Size in Kb: 10000
Min size in KB: 0
Max size error message: Sorry, but...etc
In the form code everything is ok, id, name, etc
In the form General tab
Form tag attachment: enctype="multipart/form-data"

PHP Information
file_uploads: on
upload_max_filesize: 10M

In multimedia options:
max size: 0 (unlimited)

Can you please help me to find why bigger files are not being sent and why error message is not shown? Thanks a lot!!
GreyHead 09 Jun, 2011
Hi susawx,

I'm afraid that I don't have an answer for you. Not a problem that I've seen before.

What is the sequence of actions that you have in the OnSubmit Event. I'm wondering is something is out of sync.

Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
GreyHead 10 Jun, 2011
Hi susawx,

Please try dragging the Show Thanks Message action to the bottom of the On Submit box. For testing you can also add a debugger after the File Upload action.

I was able to get five 1Mb images to upload OK in this configuration - but not five 2Mb images (my max_file_upload is 20Mb).

I've added to my (long) to-do list to look and see why no error messages are being shown - though the Debugger does help with that.

Bob
RoJa 21 Jun, 2011
It seems, that I have the same problem

I have upload fields in my form (2 upload fileds), and it work perfect ... until I put under this fields the files with total size more then 4Mb.

I add this to my .htaccess
# Upload file size 2M by default - I need more ...
php_value upload_max_filesize 8M

# Post data size ...
php_value post_max_size 15M


Debug info - everething is OK 😫
Debug Data

   1. Upload routine started for file upload by : input_file_7_1
   2. /pub/home/ruspetro/argosy-tech_ru/uploads/20110621083002_454ftb_rus__cracked_by_RJ.pdf has been uploaded OK.
   3. Upload routine started for file upload by : input_file_15
   4. /pub/home/ruspetro/argosy-tech_ru/uploads/20110621083002_Scheme.xls has been uploaded OK.
   5. An email has been SENT successfully from (Argosy Technologies) info@argosy-tech.ruJLIB_HTML_CLOAKING to romik.jan@gmail.comJLIB_HTML_CLOAKING 


I noticed that the letters do not come when attach files totaling 4 MB or more, when the total is less than - everything is fine.

At the moment, wrote to my hosting provider inquiry on this topic. If my provider will tell me that there is nothing restrictions on hosting or e-mail - then I'm stuck.
RoJa 21 Jun, 2011
And again I answered on my own question 🙄
This is my hosting provider block all email's, if it's size more then 5000000 bytes ( = ~5Mb ). 😈
This topic is locked and no more replies can be posted.