Skip Navigation

[Resolved] Please enter a valid URL address pointing to the file

This thread is resolved. Here is a description of the problem and solution.

Problem: CRED file uploads are failing with the message "Please enter a valid URL address pointing to the file".

Solution: We have published an erratum about this issue, along with a patch file.

Relevant Documentation: https://toolset.com/errata/disabling-ajax-upload-in-cred-forms-stops-forms-from-uploading-data-altogether/

This support ticket is created 6 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 10 replies, has 2 voices.

Last updated by updates 5 years, 12 months ago.

Assisted by: Christian Cox.

Author
Posts
#631043

Hello,

hidden link

The files are not uploading. The error message is:

Files were not saved because of the following problem:
Essays Please enter a valid URL address pointing to the file.

Everything is updated to the latest. All plugins deactivated. The default theme is being used.

Automatic upload is disabled in functions.php with:

add_filter("cred_file_upload_disable_progress_bar", "disable_progress_bar");
function disable_progress_bar($val) {
return true; //or just return true to disable
}

This solution didn't help: https://toolset.com/errata/types-url-fields-validation-issue-cred-forms/

I'm guessing this may be related to https vs http, but it is just a guess, I don't know where to go from here.

Thanks
Rich

#631052

Tried changing the site to http - didn't help.

#631178

Thanks for the report, I have escalated this to my 2nd tier support team for further investigation. In my own tests, I was able to reproduce this issue when more than one repeating image field is present in the CRED form and I attempt to upload an image in the second image field. I will update you as soon as I have information to share.

#631210

My 2nd tier support team has directed me to this erratum:
https://toolset.com/errata/disabling-ajax-upload-in-cred-forms-stops-forms-from-uploading-data-altogether/
In this post you will find some patched files and directions for including them in your CRED plugin. Please apply those patch files and let me know if you continue to experience a problem with the progress bar disabled.

#631230

No luck so far. The error is now: "Error some required upload field failed."

#631524

Okay thanks, at this point I think it's probably best for me to create a clone of your site so I can run some additional tests locally where I can monitor the code during execution. If it's okay with you, I will install the Duplicator plugin to create that clone and begin testing. Let me know if you approve.

#631605

Yes, absolutely. Thanks!

#632027

Okay I made the clone and ran some additional tests locally, and I was able to reproduce the problem. I uninstalled and reinstalled Toolset plugins from scratch and followed the patch process again, but the problem remains. So it doesn't appear to be an error during the patch process, it seems that the patch is not a complete in this case. I have submitted this information to my 2nd tier team for further investigation, and I will update you as soon as I have more information to share.

#694094

Hi Christian,

Checking on the status of this.

Thanks

#694221

Hi, an update to the erratum has been posted, and a new patch file can be found here:
https://toolset.com/errata/disabling-ajax-upload-in-cred-forms-stops-forms-from-uploading-data-altogether/
Please try the updated patch and let me know if the problem is not resolved.

#714932

Hi Christian,

The patch file worked. Thanks!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.