Skip Navigation

[Waiting for user confirmation] File entry boxes don’t validate if the filename has a space

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 1 voice.

Last updated by Minesh 2 hours, 48 minutes ago.

Assisted by: Minesh.

Author
Posts
#2844579

I am trying to: edit a custom post type with a file upload box. I have filled in the postmeta field earlier using php, the url is correct but it has a space in it and now I can't update the record because it gives an error:
"Please enter a valid URL address pointing to the file."
Is the problem having the space in the filename? Can I

#2844582

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I checked and I found that you are using outdated version of Toolset plugin(s).

Before you update the Toolset plugins to latest official release version:
*** Please make a FULL BACKUP of your database and website.***

For now, please try to update the Toolset Types plugin manually and try to follow the following step:
- Deactivate and Delete all Toolset plugins from plugins page
- Download Toolset Types plugin from your accounts page: https://toolset.com/account/downloads/
=> https://toolset.com/faq/how-to-install-and-register-toolset/#installing-the-toolset-types-plugin

- Upload and activate first Types plugin and then you are free to install and activate all addon Toolset plugins using the installer:
- https://toolset.com/faq/how-to-install-and-register-toolset/#automatic-installation-once-you-have-types-plugin-installed

Now, regarding the file, I'm not sure but no system should allow space in filename, its not valid at all. Maybe you used PHP and did not replace the space with dash or underscore. You will have to correct that mistake by updating the database table rows where the filename is stored and replace space with dash or undersocres.