Hi @fra8719
Sorry to hear you are having this issue,
The upload limit can be specified on the field settings:
https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#file-upload-field
In case you set the limit but it isn’t working, can you please export the form and share using google drive?
https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export
Also, let us know the size of the file that you are trying to upload so we can try to replicate it.
Best Regards
Patrick Freitas
Hallo Patrick,
thanks for your support.
I checked the max file upload and it’s properly set.
It’s 800MB which is anyway lower than my upload_max_filesize (1GB).
The form it’s unfortunately not working. I exported it. Here the link to Google Drive.
https://drive.google.com/file/d/126PgoIcqzv9LN1ov_ZTf0XJNl5WOQncf/view?usp=sharing
Generally, On average I need to be able to upload files around 300MB (the range could be 200MB-400MB)
Thanks again
Francesco
Hi @fra8719,
To debug the issue further, I imported the form to a test but was unable to replicate the issue. I was able to upload files with more than 500MB of size without any issues.
Can you please do a conflict test and make sure a plugin or the theme is not conflicting and causing an issue?
The following flowchart can help with steps to proceed with the test: https://wpmudev.com/wp-content/uploads/2015/09/Support-Process-Support-Process.gif
Please let us know the results so that we can help you further.
Best Regards,
Nebu John
Hallo,
I followed your instruction but nothing seems to work.
I deactivated all plugins (with the only exception of Elementor and Elementor Pro) and I still could not send the form.
Then I changed theme. I was using Astra and I moved to the basic WP theme Twenty Nineteen. Still it does not work.
Just to be precise. You wrote before that the you can upload files with more than 500MB of size.
I can also upload the files. The problem is not on the upload, instead is on the “SEND” button. I successfully upload the files as well, but when I click on SEND it does not send my form and I receive the message “An error occurred while processing the form. Please try again”
Should I try deactivating Elementor? It would be very strange that Elementor is causing this issue
Hi @fra8719
I would suggest trying to disable the Elementor too just in case, also make sure the WordPress memory limit and max execution time are fine:
https://wpmudev.com/blog/increase-memory-limit/
Could you also enable the debug mode https://wpmudev.com/blog/debugging-wordpress-how-to-use-wp_debug/
And check if any log is generated on wp-content > debug.log file?
Let us know the result you got.
Best Regards
Patrick Freitas
Hallo,
I disabled Elementor and still does not work. Actually I am not even able to upload the file now. Not sure if this is connected to Elementor though. I activated it again and still I get an the error when I upload the file. It simply stops and tells me “Please try again”
WordPress memory limit and max execution time are fine.
Just to let you know. If I upload the file via the Media Library in the backend I have no issues. The upload runs smoothly.
I enabled the debug mode and yes. I do have the debug.log file. Shall I send it to you?
By the way. Everything works if I upload small files. The problem is with big files.
I guess if a plugin was creating any conflict, it would not work also with small files
Thanks
-
This reply was modified 4 years, 9 months ago by
fra8719.
Hi Patrick,
any feedback here?
Hi @fra8719,
I was testing your Form on a test site of mine hosted with a shared hosting where I could replicate the issue, however, this suggests that the problem is on the server end and not the form itself.
It’s most likely caused by specific server resources running out which is causing the submission to fail.
I would suggest that you check the debug log or ask your host to look into server logs when the problem happens so they can check what the error for failing is, and if exhausted resources could be increased.
You did mention that the upload works in the backend but it has to be taken into consideration that most of the theme and plugin functionalities are not running in the backend so your server has more resources to work with, compared to uploading the file on frontend.
Cheers,
Predrag
Hi Pedrag,
before posting my request here I checked my host. They changed many settings.
In fact, initially I was not able to upload the files at all.
Once they changed the server settings, I was finally able to upload the files.
However, even if I upload the file, I cannot SEND the form. Upload it’s working. Sending is not working.
Do you think that also the problem in sending the form has something to do with the server?
I checked again with my host provider. They insist on the fact that it’s a plugin issue considering that the upload works without any problem and what is not working is the send button but not the upload itself.
I’ll need to check with another plugin I guess to see who is right.
Problem found.
Shared hosts have IO 50mb/ as limit.
This is causing the issue.
Hi @fra8719,
Did you check the debug log to see if there are some errors in there when form is submitted?
You can enable debug log in your wp-config.php file (located in root WP folder) by replacing define(‘WP_DEBUG’, false); with this code:
// Enable WP_DEBUG mode
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
@ini_set( 'log_errors', 1 );
@ini_set( 'display_errors', 0 );
Submit the form again so it fails and this should create debug.log file in your wp-content folder that could tell us what is going on.
You can upload the file to any file sharing service like GDrive or Dropbox and share the download link here so we can check it out.
Cheers,
Predrag