Hi,
I have created an easy form http://www.associazionecomunali.it/site/index.php?option=com_chronoforms5&chronoform=upload (file field name:file2; For tag attachment:enctype="multipart/form-data"; file config: file2:png; Upload path:form-uploads/; Max file size: 2000; Min file size:1) but the problem is always there: extension not allowed and file isn't saved on server.
Thank you for an answer.
Daniele
When i try to upload a file to your form (.png or .jpg) i get an error "(Check icon) type"
but i should be getting a "Sorry, Your uploaded file type is not allowed." (if you havent changed the default value)
Try removing the Even Loop, Email, Display Message and check it the upload work then add then one by one.
It doesn't work even without 3 component.
Hi danielez8,
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.
The upload path looks wrong to me it needs to be a full server path.
Bob
Hi Bob, i think you are talking to danielez8🙂
Sorry GreyHead but a debugger action is still into the On Submit event (in the attachment); why should I add email action if the problem is the upload?
I'm not using easy wizard.
Upload path now is correct.
Hi danielez,
I asked you to post the DeBug results here. I don't see them yet.
Bob
Hi my boss,
if I understood your first answer, the 'dummy emails' isn't there because the "event loop" action (that you can see on top attachment) doesn't allow to send any email.
Are right the attachments?
Thank you,
Daniele
Then I 've enabled email and this is the result...
Hi Daniele,
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
Ccan you be my savior? 😉
Hi,
The "attachments fields names" should not contain brackets, please remove the curly brackets around your field name there.
Also please make sure that the "Extensions separator" in the "file uploads" is set to "-"
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
works!
But it doens't upload file into correct folder: for example if absolute path is domain/httpdocs/site/form-uploads/ the file is uploaded in domain/httpdocs/site/domain/httpdocs/site with suffix form-uploadsnameimg.png
Either leave the upload path field empty to auto detect the path OR add slashes to the start and end of the path string!
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Sorry, but doesn't work: /form-uploads/ or /form-uploads or form-uploads/ is uploaded in root folder with prefix (not suffix), as if path field is empty.
I mean that, if you are going to use a custom path then you must enter the full path correctly with slashes, if you don't know the full path then you can clear the path field and make a test, use the debugger to get the path then use it.
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
After you suggestions, if I use /var/www/vhosts/domainname/httpdocs/site/form-uploads/ or /var/www/vhosts/domainname/httpdocs/site/form-uploads the result is /var/www/vhosts/domainname/httpdocs/site/form-uploads20140520172914filename.png but it should be /var/www/vhosts/domainname/httpdocs/site/form-uploads/20140520172914filename.png
Is this v5 RC6 ?
Could you please leave the path completely empty and test ? where do you get the file in this case ?
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
WORKWORKWORK with RC6 (before 4.1)!!!
Thankyou