I am getting this message at the top of the form after hitting "submit":
* JFTP::store: Bad response
* Warning! - Failed to move file.
* JFTP::store: Bad response
* Warning! - Failed to move file.
Here is the email that is sent, with no uploads included:
Home
E-mail message
From: Admin [admin@mysite.com]
To: [email]myemail@gmail.com[/email]
CC:
BCC:
Subject: Talent Form
Name
testing
Phone number
916
[email]123@gmail.com[/email]
Upload Your W-9
20100417155754_W9 Form.pdf
Upload Your Agreement20100417155754_companyname_agreement.pdf
Submitted by 24.10.43.164
Files:
testing thank you for submitting your paperwork to Companyname.
1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [name] => testing [phone] => 916 [email] => [email]123@gmail.com[/email] [chrono_verification] => t3iBQ [button_10] => Submit [0643ff9d79089b07cce7ae3e64a82a4b] => 1 [1cf1] => 5aca24f05f6de755fea47e2e62333108 [chronoformname] => talent_form )
6. $_FILES Array: Array ( [w9] => Array ( [name] => W9 Form.pdf [type] => application/pdf [tmp_name] => /tmp/phpDlVoyt [error] => 0 [size] => 46623 ) [agreement] => Array ( [name] => companyname_agreement.pdf [type] => application/pdf [tmp_name] => /tmp/phpP2Q9Yq [error] => 0 [size] => 435861 ) )
7. Upload routine started for file upload by : w9
8. /hsphere/local/home/companyname/mysite.com/images/uploads/talent_form/20100417155754_W9 Form.pdf has NOT been uploaded!!
9. Upload routine started for file upload by : agreement
10. /hsphere/local/home/companyname/mysite.com/images/uploads/talent_form/20100417155754_companyname_agreement.pdf has NOT been uploaded!!
11. Form passed the plugins step (if enabled) OK
12. An email has been SENT successfully from (Admin)admin@mysite.com to [email]myemail@gmail.com[/email]
13. Debug End
14.
Redirect link set, click to test:
http://mysite.com/index.php?option=com_content&view=article&id=63%3Athank-you-talent&catid=30%3Aall-forms&Itemid=63
The upload path shows "writeable"
Any suggestions? Thanks
This appears to happen when you have FTP configured in the site Global Settings but the site folder permissions aren't correct to allow the FTP user to move files.
Try turning FTP off if it is enabled. If not then please talk to your ISP about your site permission settings.
Bob
I did as you said and turned off the FTP.
Now I get this message:
* Couldn't create upload directroy 2
Home
Warning: file_put_contents(/hsphere/local/home/companyname/mysite.com/images/uploads/talent_form/index.html): failed to open stream: Permission denied in /hsphere/local/home/companyname/mysite.com/libraries/joomla/filesystem/file.php on line 298
E-mail message
From: Admin [admin@mysite.com]
To: [email]myemail@gmail.com[/email]
CC:
BCC:
Subject: Talent Form
Name
testing testing
Phone number
916
[email]123@gmail.com[/email]
Upload Your W-9
20100419175802_W9 Form.pdf
Upload Your Agreement20100419175802_companyname_agreement.pdf
Submitted by 24.10.43.164
Files: /hsphere/local/home/companyname/mysite.com/images/uploads/talent_form/20100419175802_W9 Form.pdf, /hsphere/local/home/companyname/mysite.com/images/uploads/talent_form/20100419175802_companyname_agreement.pdf
testing testing thank you for submitting your paperwork to Companyname.
1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [name] => testing testing [phone] => 916 [email] => [email]123@gmail.com[/email] [chrono_verification] => Ys4cn [button_10] => Submit [33dcdbc9e85f7a36b25e1291f4c2cd2d] => 1 [1cf1] => 5aca24f05f6de755fea47e2e62333108 [chronoformname] => talent_form )
6. $_FILES Array: Array ( [w9] => Array ( [name] => W9 Form.pdf [type] => application/pdf [tmp_name] => /tmp/phpTseHMT [error] => 0 [size] => 46623 ) [agreement] => Array ( [name] => companyname_agreement.pdf [type] => application/pdf [tmp_name] => /tmp/phps7HWmY [error] => 0 [size] => 435861 ) )
7. Upload routine started for file upload by : w9
8. /hsphere/local/home/companyname/mysite.com/images/uploads/talent_form/20100419175802_W9 Form.pdf has been uploaded OK
9. Upload routine started for file upload by : agreement
10. /hsphere/local/home/companyname/mysite.com/images/uploads/talent_form/20100419175802_companyname_agreement.pdf has been uploaded OK
11. Form passed the plugins step (if enabled) OK
12. An email has been SENT successfully from (Admin)admin@mysite.com to [email]myemail@gmail.com[/email]
13. Debug End
Also, verified the folder permissions which we have control of through our own hosting.
Tried enabling and disabling the web services under the Global Config and did not seem to make
any difference. Any other ideas? :? Thanks
Two possilbilites . . .
1) this path looks wrong "/hsphere/local/home/breakaway/breakawaytalent.com/images/uploads/talent_form/index.html" I don't think that there should be an index,html at the end. Please check that the upload path you are suing is a folder (not a file) and that it is shown on the file uploads tab as writable.
2) If that isn't the problem then there is some kind of permissions issue around the uploads folder. You may need to check with your ISP to see what is necessary to make it writeable to the Joomla user.
Bob
A big thanks for the info. 😀 It was a permissions issue that we thought was taken care of, but for
whatever reason did not save. Things are uploading and showing up in the emails and folder,
however it looks like I may need to change the folder from out of the Joomla Media Manager as it is
not permitting me to view the documents in the folder. Do you know if this is a Joomla issue?
We are looking for the best and easiest way for our client to store and retrieve documents that are sent to her.
Hopefully this is the last question I have for some time.
Much thanks.
You should be able to access files in the Media Manager folder OK. If you are trying to add them to articles I think that they have to be in the stories sub-folder.
The other alternative is to add a ChronoConnectivity list so that the client can browse or search the uploaded docs from the front-end.
Bob
Thanks a lot for your support. I will try both and see which is best.
You have a wonderful product and great support for its users.
Keep up the great work! 😀
CAS
After submitting my form an email is being sent to me and to my customer with the attached file. Everything works fine.
The file is also uploaded to the webspace and saved in the proper directory. No permission issues. Everything ok.
The Problem is, that the page shown after submitting the form contains an error message stating that the file could not be moved. "Failed to move file"
FTP in global J1.5 Configuration is switched "off".
Here is my DEBUG Log:
1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [Anrede] => XXXXX [Vorname] => XXXXX [Name] => XXXXX [Strasse] => XXXXX [plz] => XXXXX [Wohnort] => XXXXX [Geburtsdatum] => 11/08/1999 [Telefon] => 123 [email] => [email]XXXXX@XXXXX.com[/email] [DatumAbmahnung] => XXXXX [Frist] => XXXXX [summe] => XXXXX [Rechtsverletzung] => XXXXX. [Anschlussart] => XXXXX [Wohnung] => XXXXX [Nutzer] => XXXXX [WLAN] => XXXXX [weitereAngaben] => [check1] => Array ( [0] => XXXXX [1] => XXXXX ) [Herkunft] => XXXXX [chrono_verification] => kKuDA [button_7] => Absenden [ce15f7844b9cb67ccca7868a136e8790] => 1 [1cf1] => 6d0c172ae7de6b2b63b8ab00ca9ecb47 [chronoformname] => Abmahnung_oL )
6. $_FILES Array: Array ( [Dateiname] => Array ( [name] => AAAAA.pdf [type] => application/pdf [tmp_name] => /tmp/phpfleAmw [error] => 0 [size] => 466829 ) )
7. Upload routine started for file upload by : Dateiname
8. /www/htdocs/w0085013/website/components/com_chronocontact/uploads/AAAAA.pdf has been uploaded OK
9. Upload routine started for file upload by : Dateiname
10. /www/htdocs/w0085013/website/components/com_chronocontact/uploads/AAAAA.pdf has NOT been uploaded!!
11. Form passed the plugins step (if enabled) OK
12. An email has been SENT successfully from (Website using Chronoform)website@XXXXX.com to [email]admin@XXXXX.com[/email]
13. An email has been SENT successfully from (Website using Chronoform)website@XXXXX.xom to [email]customer@XXXXX.com[/email]
14. Debug End
I guess the error message is a result of the form trying to upload the same file twice (line 8 and 10) ? I have only one field in my form which is used for uploading a file. The name of the field is "Dateiname". Why does it show up twice (in the debug-log)? 😟
If you could help me, it would make my day. ChronoForm is the best joomla add-on ever. If the error issue can be solved I will definitely validate it. 😀
Which circumstances? There are two or three different problems in this thread.
Bob
What do you have in the "Field names/allowed Extensions/sizes(KB)" box on the File Uploads tab.
Bob
That's interesting... I used the wizard to input that info. I cannot remember if I had cleared that field manually before the last time that I used the wizard. It is possible (and I can confirm for you if you like, but you can probably test yourself) that the wizard writes that particular setting twice.
I removed the duplication and it now works correctly.