Forums

Upload files - there was an error uploading your file

bonnefous 08 Jan, 2025

Hello,

For my association's website, I use joomla 4.3.0 PHP 8.1 and Chronoform 7 with which I created forms. Some of these forms require the user to attach a file (pdf or jpg) to the form that is sent by email. Everything works.

I switch to Chronofrom 8 and PHP 8.2 on the localhost. Without a file to attach, the form arrives at the designated email address without problem.With the attached file, error message: Sorry, an error occurred while downloading your file. No email sent or file Can someone help me?

Thank in advance

Louis0646
Max_admin 09 Jan, 2025

please post a screenshot of the error

and maybe a screenshot of the File field settings too

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
bonnefous 09 Jan, 2025

Thank you for your reply, below are copies of the error screens and the parameters of the files fieldRegardsLouis

Louis0646
Max_admin 09 Jan, 2025
Answer

most probably this is a permissions issue, the error is triggered when the file could not be moved to the target upload path

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
bonnefous 11 Jan, 2025

Hello Max,Is it possible to give me an example of a form with a file submission as for "Demo Test", Contact Form, Validations Test, Dynamic Options, Multi Page Form, Loop, TCPDF Test and others .....? Thanks in advance Best regards

Louis0646
Max_admin 11 Jan, 2025

just drag a File field in the "Contact form" demo and that form should upload the file for you, if it returns the same error then the upload path is not writable by the web server

please try it and let me know what happens

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
bonnefous 13 Jan, 2025
1 Likes

Everything is working now.Thank you very much Max for your helpLouis

Louis0646
You need to login to be able to post a reply.