I have read a lot of post on file upload and i have followed the processes involved but my form is still not uploading. I followed the video tutorial on Youtube for file upload yet the form are not attaching. That is my problem. Please i need URGENT HELP. I have been on these for weeks.
Hi m4smariaoni,
I've moved this post from the ChronoComments to the ChronoForms forum.
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.
Bob
I've moved this post from the ChronoComments to the ChronoForms forum.
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.
Bob
GreyHead, Thank you for the interest. Please find attached the debugger result. Also the form is not validating too.
<div class="ccms_form_element cfdiv_text" id="autoID-b463d4d72f0280096a71bbe383ef8aed_container_div"><label>Your Name</label><input maxlength="150" size="30" class=" validate['required','alpha']" title="" type="text" value="" name="name" />
<div class="ccms_form_element cfdiv_text" id="autoID-b463d4d72f0280096a71bbe383ef8aed_container_div"><label>Your Name</label><input maxlength="150" size="30" class=" validate['required','alpha']" title="" type="text" value="" name="name" />
Hi m4smariaoni,
It looks as though you haven't added an Upload Files action to your form - or if you have then it may not be enabled.
Bob
It looks as though you haven't added an Upload Files action to your form - or if you have then it may not be enabled.
Bob
I truly appreciate your response. the action file has been added already. please see the printscreen.
am using chronoform 4.0 RC3.2 and plugin V4 RC3.0
is this okay or could it be a problem
is this okay or could it be a problem
Hello Greyhead. Please is there any help from you concerning why my file upload is not working
Hi m4smariaoni,
Sorry, I missed your reply.
The Upload Files action isn't showing anything in the Debug report :-( Is it in the On Submit event?
Bob
Sorry, I missed your reply.
The Upload Files action isn't showing anything in the Debug report :-( Is it in the On Submit event?
Bob
yes it is. Please dont get tired of my issue. I have to sort it today.
Anyone who can help Pls?
Hi m4smariaoni,
By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.
Bob
By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.
Bob
Hi m4smariaoni,
There are a couple of problems.
1) The upload folder isn't writable. If you check the form without the template you can see this error message on submit:
2) You have quite an old version of ChronoForms installed - I don't think that this is causing the upload problem but there have been quite a lot of bug-fixes and improvements.
I couldn't fix either of these as they both need SuperAdmin access.
Bob
PS You also have {name} and {email} in the Email From Name and Email settings. You need plain strings in these boxes with a valid email, preferably matching the site domain.
There are a couple of problems.
1) The upload folder isn't writable. If you check the form without the template you can see this error message on submit:
JFolder::create: Could not create directory
Couldn't create upload directroy 1
This is usually a problem with the permissions; it can also happen if you have FTP enabled on the site and the FTP User doesn't have the necessary permissions.2) You have quite an old version of ChronoForms installed - I don't think that this is causing the upload problem but there have been quite a lot of bug-fixes and improvements.
I couldn't fix either of these as they both need SuperAdmin access.
Bob
PS You also have {name} and {email} in the Email From Name and Email settings. You need plain strings in these boxes with a valid email, preferably matching the site domain.
hello GreyHead,
Any Updates Please!!!
Thanks
Any Updates Please!!!
Thanks
Hi m4smariaoni,
As I said in my PM we had a six hour power cut this morning so my day is messed up.
I've just tried to upgrade ChronoForms on your site but it's not possible. I get a "Failed to move folder" error message which suggests that there are still permission problems to be be resolved :-(
Please let me know when you have fixed these - it will probably also fix your upload problem. Your web host should be able to help.
Bob
As I said in my PM we had a six hour power cut this morning so my day is messed up.
I've just tried to upgrade ChronoForms on your site but it's not possible. I get a "Failed to move folder" error message which suggests that there are still permission problems to be be resolved :-(
Please let me know when you have fixed these - it will probably also fix your upload problem. Your web host should be able to help.
Bob
Hello Greyhead.
It has to do with permission issue. You are right. Thank you for your help.
It has to do with permission issue. You are right. Thank you for your help.
I figured out the permission issue by enabling ftp in the global configuration .
Thank you so very much GreyHead.
Thank you so very much GreyHead.
Hello Greyhead,
I'm having issues with this as well. I followed the video and this forum thread, but files are not writing to the directory. I have permissions set to 755 on the default folder provided by Chronoforms.
Using CPanel in InMotionHosting. In Debug mode I get the following:
[upload_files] => Array
(
)
In the email, nothing shows up. Not seeing any errors regarding file permissions. In Joomla, FTP is turned off. Any ideas?
Best regards,
Derek
I'm having issues with this as well. I followed the video and this forum thread, but files are not writing to the directory. I have permissions set to 755 on the default folder provided by Chronoforms.
Using CPanel in InMotionHosting. In Debug mode I get the following:
[upload_files] => Array
(
)
In the email, nothing shows up. Not seeing any errors regarding file permissions. In Joomla, FTP is turned off. Any ideas?
Best regards,
Derek
Hi,
Please add a Custom Code action to the form On Submit event and add this code to it:
Bob
Please add a Custom Code action to the form On Submit event and add this code to it:
<?php
echo'<div>$_FILES: '.print_r($_FILES, true).'</div>';
?>
That will dump the PHP $_FILES array and should show you if there are errors on the upload.Bob
hello all,
after submitting the form. it will write invalid address for email before the thank you message. what could have happened
thanks
after submitting the form. it will write invalid address for email before the thank you message. what could have happened
thanks
This topic is locked and no more replies can be posted.