Hello community,
in the File Upload "large" files don't work. I have set the limit of 1048576 KB (1 GB), but already 30 MB does not work, file independently. Small files goes. No errors in the debugger...
Can someone help me?
Regards Zach
in the File Upload "large" files don't work. I have set the limit of 1048576 KB (1 GB), but already 30 MB does not work, file independently. Small files goes. No errors in the debugger...
Can someone help me?
Regards Zach
Hello Zachary88,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
Multiple file uploads from an iPad/iPhone don't work
How to use file uploads in my edit form ?
How can I add a file upload to my form?
How can I upload files under some user's folder
How can I delete old file uploads?
How can I zip uploaded files?
How do I use the Multi File Upload widget?
How can I edit uploaded files in a form?
How can I attach uploaded files to an email?
How can I validate and debug file uploads?
How can I link to an uploaded file?
I get a 500 Error when I upload a file
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
Multiple file uploads from an iPad/iPhone don't work
How to use file uploads in my edit form ?
How can I add a file upload to my form?
How can I upload files under some user's folder
How can I delete old file uploads?
How can I zip uploaded files?
How do I use the Multi File Upload widget?
How can I edit uploaded files in a form?
How can I attach uploaded files to an email?
How can I validate and debug file uploads?
How can I link to an uploaded file?
I get a 500 Error when I upload a file
P.S: I'm just an automated service😉
Thanks. I've already read a lot of it ... Small files also work. Only relatively largefiles not ... Although I have set it to 1GB.
Hi Zach,
You probably don't want to upload 1GB files from a form - there has to be a better way,
What are the limits in your PHP.ini file - check the PHP Info tab in the Site Admin to see?
Bob
You probably don't want to upload 1GB files from a form - there has to be a better way,
What are the limits in your PHP.ini file - check the PHP Info tab in the Site Admin to see?
Bob
Hi Bob,
at PHP Information I do see for example:
post_max_size 8M
upload_max_filesize 128M
Regards Zach
at PHP Information I do see for example:
post_max_size 8M
upload_max_filesize 128M
Regards Zach
Hi Zach,
Then you should be OK for a 30Mb file - try adding a Custom Code action with this code in the On Submit event
Bob
Then you should be OK for a 30Mb file - try adding a Custom Code action with this code in the On Submit event
<?php
echo'<div>$_FILES: '.print_r($_FILES, true).'</div>';
?>
and add a Debugger action. Submit the form and see if the $_FILES array shows any error codes.
Bob
I add the Custom Code, nothing change...
debugger:
if success:
What is "post_max_size 8M" in PHP Information?
Regards Zach
debugger:
$_FILES: Array ( )
Data Array
Array
(
[option] => com_chronoforms5
[chronoform] => Datei-Upload
[event] => submit
)
Array
(
)
Errors
Array
(
)
Debug Info
Array
(
)
if success:
$_FILES: Array ( [datei] => Array ( [name] => P1020815_LR_PS.jpg [type] => image/jpeg [tmp_name] => /tmp/phpIDZFmb [error] => 0 [size] => 6680659 ) )
Data Array
Array
(
[option] => com_chronoforms5
[chronoform] => Datei-Upload
[event] => submit
[button2] => Abschicken
[datei] => 20150625104204_P1020815_LR_PS.jpg
)
Array
(
[datei] => Array
(
[name] => 20150625104204_P1020815_LR_PS.jpg
[original_name] => P1020815_LR_PS.jpg
[path] => uploads/20150625104204_P1020815_LR_PS.jpg
[size] => 6680659
[link] => uploads/20150625104204_P1020815_LR_PS.jpg
)
)
Errors
Array
(
)
Debug Info
Array
(
[1] => Array
(
[Files Upload] => Array
(
[0] => Upload routine started for file upload by : datei
[1] => uploads/20150625104204_P1020815_LR_PS.jpg has been uploaded successfully.
)
)
)
What is "post_max_size 8M" in PHP Information?
Regards Zach
Hi Bob,
that is the reason of 8M? I have to set higher in the PHP Configuration at the server, right?
Zach
that is the reason of 8M? I have to set higher in the PHP Configuration at the server, right?
Zach
This topic is locked and no more replies can be posted.