Hello. I set up a simple form with the upload file dialog. Max Size in KB - 1024.

When I send a small file (for example - 1.6 MB), I get the correct error message:

If I send a biggest file (for example - 2.3 MB), I get something like this:

In php.ini I have:
max_execution_time = 120
max_input_time = 120
memory_limit = 64M
upload_max_filesize = 16M
post_max_size = 8M
What could be the reason? Please, help!

When I send a small file (for example - 1.6 MB), I get the correct error message:

If I send a biggest file (for example - 2.3 MB), I get something like this:

In php.ini I have:
max_execution_time = 120
max_input_time = 120
memory_limit = 64M
upload_max_filesize = 16M
post_max_size = 8M
What could be the reason? Please, help!
Hi Frostoman ,
Please post a screenshot of the Upload Files action settings.
Bob
Please post a screenshot of the Upload Files action settings.
Bob
Hi Frostoman,
Everything there looks OK. 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
Everything there looks OK. 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
Zipped backup file: http://www.ex.ua/view_storage/383666462581 (click on the backup.zip and the download will start)
Thanks for the help!
Thanks for the help!
Hi,
Please try to remove the "12" from the field name, fields names should not start with digits, please make the change in both places, do you still get the same problem ?
Regards,
Max
Please try to remove the "12" from the field name, fields names should not start with digits, please make the change in both places, do you still get the same problem ?
Regards,
Max
Hi Bob,
No problems, but I'm not sure if this is the real source of the issue!🙂
Regards,
Max
No problems, but I'm not sure if this is the real source of the issue!🙂
Regards,
Max
Please try to remove the "12" from the field name
I tried. It did not help ((( Maybe the problem is not in the component? Maybe the problem in my Joomla...?
Hi,
Please drag a "Custom code" action after the upload action and use this code:
then show me the output displayed after the form is submitted (with big file error)
Regards,
Max
Please drag a "Custom code" action after the upload action and use this code:
<?php print_r2($_FILES); ?>
then show me the output displayed after the form is submitted (with big file error)
Regards,
Max
Please drag a "Custom code" action after the upload action
then show me the output displayed after the form is submitted (with big file error)
Hi. I did it, but with big file I see only "1". With small file I see:
Array
(
[frames_input_file] => Array
(
[name] => 7YGaMSaS9Vw.jpg
[type] => image/jpeg
[tmp_name] => /tmp/phprwvZIg
[error] => 0
[size] => 149368
)
)
Data Array:
Array
(
[chronoform] => Frames
[event] => submit
[Itemid] => 329
[option] => com_chronoforms
[view] => form
[frames_name] => Роман
[frames_phone] => 03
[frames_email] => mymail@gmail.com
[frames_birth] => 85
[frames_input_file] => 20130410221942_7YGaMSaS9Vw.jpg
[frames_submit] => ОТПРАВИТЬ
[e92a001f0a387ddd1065213b8f5af6bf] => 1
[_PLUGINS_] => Array
(
[upload_files] => Array
(
[frames_input_file] => Array
(
[name] => 20130410221942_7YGaMSaS9Vw.jpg
[original_name] => 7YGaMSaS9Vw.jpg
[path] => /home/gorlport/public_html/components/com_chronoforms/uploads/Frames/20130410221942_7YGaMSaS9Vw.jpg
[size] => 149368
[link] => http://www.0624.com.ua/components/com_chronoforms/uploads/Frames/20130410221942_7YGaMSaS9Vw.jpg
)
)
)
)
Validation Errors:
Array
(
)


Hello,
Ok, could you please try to remove the "Custom code" BEFORE the "upload files" ? that would display some debug even if there is an error, please post that here!
Regards,
Max
Ok, could you please try to remove the "Custom code" BEFORE the "upload files" ? that would display some debug even if there is an error, please post that here!
Regards,
Max
Array
(
[frames_input_file] => Array
(
[name] => IMG_8988.jpg
[type] =>
[tmp_name] =>
[error] => 1
[size] => 0
)
)
Hi Frostoman,
PHP Error Code 1 (see the debug) is "Value: 1; The uploaded file exceeds the upload_max_filesize directive in php.ini. "
You should check the setting there and then increase it to cover the size of files that you need to upload. You may need to check with your web host to find out how to change php.ini settings on your server.
Bob
PHP Error Code 1 (see the debug) is "Value: 1; The uploaded file exceeds the upload_max_filesize directive in php.ini. "
You should check the setting there and then increase it to cover the size of files that you need to upload. You may need to check with your web host to find out how to change php.ini settings on your server.
Bob
In php.ini I have:
max_execution_time = 120
max_input_time = 120
memory_limit = 64M
upload_max_filesize = 16M
post_max_size = 8M
I attach the file size is 2.8M
May be a limit somewhere else?
My php.ini file (in zip archive): http://www.ex.ua/view_storage/808644086476
Hi Frostoman,
Please check the Site Admin | System Information | PHP Information page on your site to see of this is the value that is in use. It is possible to have more than one php.ini file on a site.
Please check with your web-host also.
Bob
Please check the Site Admin | System Information | PHP Information page on your site to see of this is the value that is in use. It is possible to have more than one php.ini file on a site.
Please check with your web-host also.
Bob
Hi all,
I have the same problem that Frostoman. I have checked System => PHP information and my upload_max_filesize is 10mb. I have tried to upload a file of 3mb and I have the message:
Array
(
[frames_input_file] => Array
(
[name] => xxxxxx.jpg
[type] =>
[tmp_name] =>
[error] => 1
[size] => 0
)
)
Any idea about this problem?
Thanks and regards,
I have the same problem that Frostoman. I have checked System => PHP information and my upload_max_filesize is 10mb. I have tried to upload a file of 3mb and I have the message:
Array
(
[frames_input_file] => Array
(
[name] => xxxxxx.jpg
[type] =>
[tmp_name] =>
[error] => 1
[size] => 0
)
)
Any idea about this problem?
Thanks and regards,
Hi alexcre,
Hmmm, that [error] => 1 says that the upload_max_filesize directive is the problem (see here ). That's generated by the PHP file upload code independently of ChronoForms.
Bob
Hmmm, that [error] => 1 says that the upload_max_filesize directive is the problem (see here ). That's generated by the PHP file upload code independently of ChronoForms.
Bob
Hi Bob,
Thanks for your response. I have found my error:
I had this in my php.ini file:
I have added this and now is working correctly:
Best regards,
Thanks for your response. I have found my error:
I had this in my php.ini file:
upload_max_filesize = 10M
I have added this and now is working correctly:
post_max_size = 10M
Best regards,
This topic is locked and no more replies can be posted.