Forums

file upload

restart 26 Feb, 2012
Hi guys,
I need a clarification, about upload file dimension!
in 22 FAQ you talk about the maximum file size to 120 kb.. but in this forum I find some tricks to increase this limit.
I tried to use this tricks without success!!😟

For testing I use a joomla 2.5.1 on MovAMP and the lastest Chronoform version.
I have set Chronoform upload to 9000kb and modify the PHP.ini in some parts:
post_max_size = 128M
upload_max_filesize = 128M
max_execution_time = 300
max_input_time = 300
memory_limit = 128M
default_socket_timeout = 60

But I can only upload file of 480kb, if I try to upload largest file of 480kb the browser retrive me this error "400 Bad Request - Your browser sent a request that this server could not understand". I tried to use a Chronform log, but the browser showme the error page!

where is my error?

Thank you!!
GreyHead 26 Feb, 2012
Hi restart,

There is nothing in ChronoForms that limits the maximum size of your file uploads. The limits are set by the server settings. The size limit in ChronoForms only applies after the file has been uploaded to the server temp folder.

The first thing to do is to add a Debugger action and see what Upload errors are reported with larger files.

Bob
restart 26 Feb, 2012
Hi Bob,
thanks.. I suppose, Do you refer to apache logs?
GreyHead 27 Feb, 2012
Hi restart,

No I didn't refer to apache logs, but you could look there - good idea.

Bob
GreyHead 01 Mar, 2012
Hi restart,

Hmm, helps a little. What do you see with a Debugger action? Or with your Web Developer tools - they will show you the Headers that are being passed.

I suspect that this may be a consequence of testing on locahost - that some of the server settings or permisisons aren't quite correct. Still odd though.

Bob
This topic is locked and no more replies can be posted.