Forums

Form with uploads gives error when no uploads are selected

gasoline 29 Jun, 2017
Wauw,

Just started with V6. It was a little bit getting used to, but it looks awesome. Great work.

I managed to make a form with multiupload option. Everything works fine, except when you do NOT select files to upload, than the response is:

The file extension is not permitted.


I don't get that.

Also it looks like I'm forced to upoad the files to the website to be able to attach them. Is that necassary or am I missing something.?
gasoline 29 Jun, 2017
I see I posted 4 times. That's becasue I get an error message after submit. Didnot reealise it was posted. Sorry.

Error: 1054 - Unknown column 'Article.word2' in 'order clause'
You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
← Home
Max_admin 30 Jun, 2017
Hi gasoline,

Thanks for posting this bug, I have found and fixed it, you can wait for the next update or send me a message using the contact page to get a patch file.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 01 Jul, 2017
1 Likes
Hi gasoline,

Also it looks like I'm forced to upload the files to the website to be able to attach them.


Yes, that is necessary - what actually happens is that PHP uploads the files, and saves them to a temporary folder and makes the info available to ChronoForms which then renames and relocates them.

If saving them on your server is a problem, you could delete them after the email is sent, or perhaps better use a cron job on the server to run every few days and delete any files more that a couple of days old.

Bob
gasoline 03 Jul, 2017
Hi GreyHead,
The suggestion to use a cronjob makes sense. Usefull tip, I'll implement that.

Thanks, (from another GreyHead😉)
This topic is locked and no more replies can be posted.