Hi Mr. Grey Head
I have a problem, I tried to upload file in my form and not working. I have follow all the step from pdf manual how to upload file, but it seems the file didn't store in my database or folder in my server.
Here is the link: http://www.gooddeedawards.com/index.php?option=com_content&view=article&id=50&Itemid=54
I tried to activate the debug system and here is the result:
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 ( [text_2] => test [text_3] => test [text_8] => test [text_6] => [email]viryawijaya@gmail.com[/email] [text_7] => test [text_5] => test [text_9] => test [text_4] => test [text_10] => test [text_13] => test [text_16] => test [button_1] => Submit [401a093ec53760900bab8748ed685843] => 1 [1cf1] => dcbde570232431acbc354de8ba16e908 [chronoformname] => nominee )
6. $_FILES Array: Array ( [file1] => Array ( [name] => nomineeform.zip [type] => application/zip [tmp_name] => /tmp/phpDbDLak [error] => 0 [size] => 378192 ) )
7. Upload routine started for file upload by : file1
8. http://www.GoodDeedAwards.com/images/stories/form20100103225144_nomineeform.zip has been uploaded OK
9. Form passed the plugins step (if enabled) OK
10. An email has been SENT successfully from (Good Deed Awards)info@gooddeedawards.com to [email]viryawijaya@gmail.com[/email]
11. An email has been SENT successfully from (Good Deed Awards)info@gooddeedawards.com to [email]viryawijaya@gmail.com[/email]
12. Debug End
Could you please help me solve this problem. Thanks.
I have a problem, I tried to upload file in my form and not working. I have follow all the step from pdf manual how to upload file, but it seems the file didn't store in my database or folder in my server.
Here is the link: http://www.gooddeedawards.com/index.php?option=com_content&view=article&id=50&Itemid=54
I tried to activate the debug system and here is the result:
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 ( [text_2] => test [text_3] => test [text_8] => test [text_6] => [email]viryawijaya@gmail.com[/email] [text_7] => test [text_5] => test [text_9] => test [text_4] => test [text_10] => test [text_13] => test [text_16] => test [button_1] => Submit [401a093ec53760900bab8748ed685843] => 1 [1cf1] => dcbde570232431acbc354de8ba16e908 [chronoformname] => nominee )
6. $_FILES Array: Array ( [file1] => Array ( [name] => nomineeform.zip [type] => application/zip [tmp_name] => /tmp/phpDbDLak [error] => 0 [size] => 378192 ) )
7. Upload routine started for file upload by : file1
8. http://www.GoodDeedAwards.com/images/stories/form20100103225144_nomineeform.zip has been uploaded OK
9. Form passed the plugins step (if enabled) OK
10. An email has been SENT successfully from (Good Deed Awards)info@gooddeedawards.com to [email]viryawijaya@gmail.com[/email]
11. An email has been SENT successfully from (Good Deed Awards)info@gooddeedawards.com to [email]viryawijaya@gmail.com[/email]
12. Debug End
Could you please help me solve this problem. Thanks.
Hi Virya,
Well, as you can see from the DeBug ChronoForms thinks that the file has uploaded correctly. Please check the /images/stories/ folder. It maybe that you intended the /images/stories/form/ folder - but that's not what the url says.
Bob
Well, as you can see from the DeBug ChronoForms thinks that the file has uploaded correctly. Please check the /images/stories/ folder. It maybe that you intended the /images/stories/form/ folder - but that's not what the url says.
Bob
Hi Bob,
I have checked the folder. Even now I change the folder to components\com_chronocontact\uploads
And I still can't find the file that I upload.
Please see the debug:
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 ( [text_2] => test [text_3] => 19 [text_8] => A [text_6] => [email]viryawijaya@gmail.com[/email] [text_7] => test [text_5] => test [text_9] => teset [text_4] => sdkfjskf [text_10] => jdfkjsdf [text_13] => sdfsdf [text_16] => sdfsdf [button_1] => Submit [d571d644ddc32a6a36fa4bfc7015b1e6] => 1 [1cf1] => 75a98841206281a8bdee97b8ae5a15bd [chronoformname] => nominee )
6. $_FILES Array: Array ( [file1] => Array ( [name] => nomineeform.zip [type] => application/zip [tmp_name] => /tmp/phpheXC1e [error] => 0 [size] => 378192 ) )
7. Upload routine started for file upload by : file1
8. http://www.gooddeedawards.com/components/com_chronocontact/uploads20100107100519_nomineeform.zip has been uploaded OK
9. Form passed the plugins step (if enabled) OK
10. An email has been SENT successfully from (Good Deed Awards)info@gooddeedawards.com to [email]viryawijaya@gmail.com[/email]
11. An email has been SENT successfully from (Good Deed Awards)info@gooddeedawards.com to [email]viryawijaya@gmail.com[/email]
12. Debug End
I really confused about how to make it works. Already tried every ways that come into my mind.
Please help me solve this problem. Thanks.
Virya
I have checked the folder. Even now I change the folder to components\com_chronocontact\uploads
And I still can't find the file that I upload.
Please see the debug:
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 ( [text_2] => test [text_3] => 19 [text_8] => A [text_6] => [email]viryawijaya@gmail.com[/email] [text_7] => test [text_5] => test [text_9] => teset [text_4] => sdkfjskf [text_10] => jdfkjsdf [text_13] => sdfsdf [text_16] => sdfsdf [button_1] => Submit [d571d644ddc32a6a36fa4bfc7015b1e6] => 1 [1cf1] => 75a98841206281a8bdee97b8ae5a15bd [chronoformname] => nominee )
6. $_FILES Array: Array ( [file1] => Array ( [name] => nomineeform.zip [type] => application/zip [tmp_name] => /tmp/phpheXC1e [error] => 0 [size] => 378192 ) )
7. Upload routine started for file upload by : file1
8. http://www.gooddeedawards.com/components/com_chronocontact/uploads20100107100519_nomineeform.zip has been uploaded OK
9. Form passed the plugins step (if enabled) OK
10. An email has been SENT successfully from (Good Deed Awards)info@gooddeedawards.com to [email]viryawijaya@gmail.com[/email]
11. An email has been SENT successfully from (Good Deed Awards)info@gooddeedawards.com to [email]viryawijaya@gmail.com[/email]
12. Debug End
I really confused about how to make it works. Already tried every ways that come into my mind.
Please help me solve this problem. Thanks.
Virya
Hi Virya,
From the URL it looks as though there is a / missing after uploads:
components/com_chronocontact/uploads20100107100519_nomineeform.zip
Bob
From the URL it looks as though there is a / missing after uploads:
components/com_chronocontact/uploads20100107100519_nomineeform.zip
Bob
Hi Bob,
I just add a / to the upload file configuration and the file still don't exist in the folder
Here is the debug result:
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 ( [text_2] => test [text_3] => testq [text_8] => kksdf [text_6] => [email]viryawijaya@gmail.com[/email] [text_7] => sdfsd [text_5] => dsdf [text_9] => dfsdf [text_4] => dfsdf [text_10] => fsdf [text_13] => sdfs [text_16] => sdfsd [button_1] => Submit [a21677df923d45eb85f0dffb1e679174] => 1 [1cf1] => b37169f7429590eff9aafc0640067889 [chronoformname] => nominee )
6. $_FILES Array: Array ( [file1] => Array ( [name] => nomineeform.zip [type] => application/zip [tmp_name] => /tmp/php68bgAQ [error] => 0 [size] => 378192 ) )
7. Upload routine started for file upload by : file1
8. http://www.gooddeedawards.com/components/com_chronocontact/uploads/20100107120559_nomineeform.zip has been uploaded OK
9. Form passed the plugins step (if enabled) OK
10. An email has been SENT successfully from (Good Deed Awards)info@gooddeedawards.com to [email]viryawijaya@gmail.com[/email]
11. An email has been SENT successfully from (Good Deed Awards)info@gooddeedawards.com to [email]viryawijaya@gmail.com[/email]
12. Debug End
I just add a / to the upload file configuration and the file still don't exist in the folder
Here is the debug result:
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 ( [text_2] => test [text_3] => testq [text_8] => kksdf [text_6] => [email]viryawijaya@gmail.com[/email] [text_7] => sdfsd [text_5] => dsdf [text_9] => dfsdf [text_4] => dfsdf [text_10] => fsdf [text_13] => sdfs [text_16] => sdfsd [button_1] => Submit [a21677df923d45eb85f0dffb1e679174] => 1 [1cf1] => b37169f7429590eff9aafc0640067889 [chronoformname] => nominee )
6. $_FILES Array: Array ( [file1] => Array ( [name] => nomineeform.zip [type] => application/zip [tmp_name] => /tmp/php68bgAQ [error] => 0 [size] => 378192 ) )
7. Upload routine started for file upload by : file1
8. http://www.gooddeedawards.com/components/com_chronocontact/uploads/20100107120559_nomineeform.zip has been uploaded OK
9. Form passed the plugins step (if enabled) OK
10. An email has been SENT successfully from (Good Deed Awards)info@gooddeedawards.com to [email]viryawijaya@gmail.com[/email]
11. An email has been SENT successfully from (Good Deed Awards)info@gooddeedawards.com to [email]viryawijaya@gmail.com[/email]
12. Debug End
Additional information:
I just check the Auto generate code tab: Form Fields names:
There is no file1 field name. Is that the problem?
Thanks.
Virya
I just check the Auto generate code tab: Form Fields names:
There is no file1 field name. Is that the problem?
Thanks.
Virya
Hi Virya,
No, that isn't the problem.
That URL looks better, as far as I can see as long as the uploads folder is writeable, then the file should be there.
By all means PM or Email me the site URL and a SuperAdmin login and I'll take a quick look.
Bob
No, that isn't the problem.
That URL looks better, as far as I can see as long as the uploads folder is writeable, then the file should be there.
By all means PM or Email me the site URL and a SuperAdmin login and I'll take a quick look.
Bob
Hi Virya,
In the File Uploads *path* box you have a *URL* - it was clearly marked as 'not writeable' and the default path is given just below the box.
With the correct path and write permissions set the file upload works OK.
Bob
In the File Uploads *path* box you have a *URL* - it was clearly marked as 'not writeable' and the default path is given just below the box.
With the correct path and write permissions set the file upload works OK.
Bob
Hi Bob,
Thanks for your time to explore my config. Any suggestion for this situation?
Thanks.
Virya
Thanks for your time to explore my config. Any suggestion for this situation?
Thanks.
Virya
Hi Bob,
Already look for the result. Are you change the upload path to
/home/root/public_html/components/com_chronocontact/uploads/
Thanks a lot.
Virya
Already look for the result. Are you change the upload path to
/home/root/public_html/components/com_chronocontact/uploads/
Thanks a lot.
Virya
im having a similar problem.
here what debug said:
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 ( [text_1] => [button_3] => Submit [4fe30b0245af3b97a74cf2ebc0a35330] => 1 [1cf1] => 4eadddc25447a00ea21178cd38d1ed85 [chronoformname] => proba )
6. $_FILES Array: Array ( [file_2] => Array ( [name] => Prijatelj1.jpg [type] => image/jpeg [tmp_name] => /var/tmp/phpuMBTTN [error] => 0 [size] => 9590 ) )
7. Form passed the plugins step (if enabled) OK
8. An email has been SENT successfully from (bojan)role@sezampro.yu to [email]bojanrokvic@gmail.com[/email]
9. Debug End
i can not send even the smallest picture or enything.
please, help me if you can.
thanks!
B.
here what debug said:
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 ( [text_1] => [button_3] => Submit [4fe30b0245af3b97a74cf2ebc0a35330] => 1 [1cf1] => 4eadddc25447a00ea21178cd38d1ed85 [chronoformname] => proba )
6. $_FILES Array: Array ( [file_2] => Array ( [name] => Prijatelj1.jpg [type] => image/jpeg [tmp_name] => /var/tmp/phpuMBTTN [error] => 0 [size] => 9590 ) )
7. Form passed the plugins step (if enabled) OK
8. An email has been SENT successfully from (bojan)role@sezampro.yu to [email]bojanrokvic@gmail.com[/email]
9. Debug End
i can not send even the smallest picture or enything.
please, help me if you can.
thanks!
B.
Hi toniadams,
Where does the upload fail?
It looks as though the file is uploading to the Joomla temp folder OK.
Please look at the Form File Uploads tab - is the upload folder there marked as 'Writable'?
Bob
Where does the upload fail?
It looks as though the file is uploading to the Joomla temp folder OK.
Please look at the Form File Uploads tab - is the upload folder there marked as 'Writable'?
Bob
sir,
plz give me syntax of Field names/allowed Extensions/sizes(KB)
i can't understand that extension
regards,
Uday
sorry for english
plz give me syntax of Field names/allowed Extensions/sizes(KB)
i can't understand that extension
regards,
Uday
sorry for english
Hi Uday,
It's on the tooltip:
input_name:ext1|ext2|ext3{max_upload_kb-min_upload_kb}, repeat as needed . . .
for example:
file_1:jpg|png{10000-0}
or
photo:png:jpg{2000-10},bio:pdf|doc{1000-0}
Bob
It's on the tooltip:
input_name:ext1|ext2|ext3{max_upload_kb-min_upload_kb}, repeat as needed . . .
for example:
file_1:jpg|png{10000-0}
or
photo:png:jpg{2000-10},bio:pdf|doc{1000-0}
Bob
sir,
thx for reply
when i uploaded pdf file
but there is no mail received in any browser
i define our form syntax for file uploading
file_13:pdf|docx{22222-1}
regards,
Uday
thx for reply
when i uploaded pdf file
but there is no mail received in any browser
i define our form syntax for file uploading
file_13:pdf|docx{22222-1}
regards,
Uday
Hi Uday,
How do you know it hasn't uploaded?
Please post a screenshot of the File Uploads tab here.
Bob
How do you know it hasn't uploaded?
Please post a screenshot of the File Uploads tab here.
Bob
sir,
thx for reply
i enclosed all details with form also enclose jpg of upload tab
thx for reply
i enclosed all details with form also enclose jpg of upload tab
Hi Uday,
I restored your form and the form upload works OK for me.
How do you know it hasn't worked for you?
Bob
I restored your form and the form upload works OK for me.
How do you know it hasn't worked for you?
Bob
sir,
thx for reply
actually the problem is that in form
when I change the drop down list the url also change
but that’s not working properly I also write javascript
and also refer the forum
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=16814&p=45463&hilit=onsubmit#p45463
but that’s not working
regards,
Uday
thx for reply
actually the problem is that in form
when I change the drop down list the url also change
but that’s not working properly I also write javascript
and also refer the forum
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=16814&p=45463&hilit=onsubmit#p45463
but that’s not working
regards,
Uday
thx for reply again
i solved the problem
i solved the problem
Help..... lol
See step 8: file has not been uploaded.
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 ( [text_1] => 44444444444 [radio0] => Either [text_9] => 44444444 [text_12] => 4444444444444 [button_13] => Submit [60ff45ab3b30d304dda07909797f15e0] => 1 [1cf1] => 8dc04d7fd72b468e669cda576c7785f6 [chronoformname] => Portrait_Request )
6. $_FILES Array: Array ( [file_14] => Array ( [name] => testing.jpg [type] => image/jpeg [tmp_name] => /chroot/tmp/phpdzzrcR [error] => 0 [size] => 43562 ) )
7. Upload routine started for file upload by : file_14
8. /home/donaiswo/public_html/components/com_chronocontact/uploads/Portrait_Request/20100804153157_testing.jpg has NOT been uploaded!!
9. Form passed the plugins step (if enabled) OK
10. An email has been SENT successfully from (Donais Wolf Productions)(edited) to (edited)
11. Debug End
See step 8: file has not been uploaded.
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 ( [text_1] => 44444444444 [radio0] => Either [text_9] => 44444444 [text_12] => 4444444444444 [button_13] => Submit [60ff45ab3b30d304dda07909797f15e0] => 1 [1cf1] => 8dc04d7fd72b468e669cda576c7785f6 [chronoformname] => Portrait_Request )
6. $_FILES Array: Array ( [file_14] => Array ( [name] => testing.jpg [type] => image/jpeg [tmp_name] => /chroot/tmp/phpdzzrcR [error] => 0 [size] => 43562 ) )
7. Upload routine started for file upload by : file_14
8. /home/donaiswo/public_html/components/com_chronocontact/uploads/Portrait_Request/20100804153157_testing.jpg has NOT been uploaded!!
9. Form passed the plugins step (if enabled) OK
10. An email has been SENT successfully from (Donais Wolf Productions)(edited) to (edited)
11. Debug End
Hi Donaiswolf ,
This usually means that there is something amiss with the File Upload settings. Can you post a screenshot of that tab?
Bob
This usually means that there is something amiss with the File Upload settings. Can you post a screenshot of that tab?
Bob
[attachment=0]screenshot of file upload tab.JPG[/attachment]
Hi Donaiswolf ,
That all looks OK. I've dug into the code and the error message comes from the last step when ChronoForms tries to move the file. The most likely casue of a failure is that the folder permissions somehow don't match up (or possibly that the folder doesn't exist)?
Bob
That all looks OK. I've dug into the code and the error message comes from the last step when ChronoForms tries to move the file. The most likely casue of a failure is that the folder permissions somehow don't match up (or possibly that the folder doesn't exist)?
Bob
Yeah, i thought that too and made adjustments that have still failed. To expedite this troubleshooting, I'd be happy to let you log in and look at the back end.
[attachment=0]Portrait_Request.JPG[/attachment]
[attachment=0]Portrait_Request.JPG[/attachment]
Okay this is Donaiswolf, bumping my post here. I've had to reformat my PC, ..joy.. and I'm still stuck. I can't remember my account details for Donaiswolf, and for some reason I can't reset my password for Donaiswolf.
Anyway... any ideas on this? Anyone?
Anyway... any ideas on this? Anyone?
Ha! Luckily for me I subscribed to this thread, so when I posted with Wolfgift, i realized what email i had used for it lol.. ugh.
Anyway.. so yeah... what do i do?
..lol... halp!
Thanks,
Donaiswolf
Anyway.. so yeah... what do i do?
..lol... halp!
Thanks,
Donaiswolf
Hi Donaiswolf,
It still looks like a permissions problem of some kind. The best route may be to check the server logs and talk to your host.
We've seen similar messages when the FTP option is enabled in site Global Configuration.
Bob
It still looks like a permissions problem of some kind. The best route may be to check the server logs and talk to your host.
We've seen similar messages when the FTP option is enabled in site Global Configuration.
Bob
Reply from my Webhost techinican:
Hello,
I have tried to resolve the issue but to no avail. It seems that the images has to be written to the following folder:
public_html/components/com_chronocontact/uploads/Portrait_Request
This folder is fully accessible and writable from your application. I have also tried different PHP versions, but the result was the same. What I can tell you for sure is that the image is placed in the public_html/tmp folder (for example public_html/tmp/phpv1aJdO) and if it is renamed to jpg, it will be displayed properly. It seems that the form fails to move the image from that folder to public_html/components/com_chronocontact/uploads/Portrait_Request. I do hope that the ChronoForms support will be able to provide any insight having in mind the information above.
Thoughts?
Looking back a the debug error message.. where did it get image/pjpeg ??
Hello,
I have tried to resolve the issue but to no avail. It seems that the images has to be written to the following folder:
public_html/components/com_chronocontact/uploads/Portrait_Request
This folder is fully accessible and writable from your application. I have also tried different PHP versions, but the result was the same. What I can tell you for sure is that the image is placed in the public_html/tmp folder (for example public_html/tmp/phpv1aJdO) and if it is renamed to jpg, it will be displayed properly. It seems that the form fails to move the image from that folder to public_html/components/com_chronocontact/uploads/Portrait_Request. I do hope that the ChronoForms support will be able to provide any insight having in mind the information above.
Thoughts?
Looking back a the debug error message.. where did it get image/pjpeg ??
Hi Donaiswolf ,
Sorry you seem to be stuck between your ISP telling you it does work and the error report saying that it doesn't. There's nothing clever about the ChronoForms code here; it calls the Joomla JFile method to relocate the file, In turn that either uses Joomla FTP if you have it enabled; or the PHP move_uploaded_file().
If you have FTP enabled in your site Global Configuration try turning that off and see if the problem is resolved.
Bob
Sorry you seem to be stuck between your ISP telling you it does work and the error report saying that it doesn't. There's nothing clever about the ChronoForms code here; it calls the Joomla JFile method to relocate the file, In turn that either uses Joomla FTP if you have it enabled; or the PHP move_uploaded_file().
If you have FTP enabled in your site Global Configuration try turning that off and see if the problem is resolved.
Bob
okay. After I disabled a separate Captcha security feature. it worked.
Not only did it upload but I also got the attachment via an email.
Even though there wasn't much you could've done here cause it wasn't Chrono Forms, I want to thank you from the bottom of my heart for sticking with me on this.
* * * * * * * *
FOR THOSE WITH SIMILAR ISSUES - disable anyother components/mods/plugins that are working with this form during testing.
* * * * *
Not only did it upload but I also got the attachment via an email.
Even though there wasn't much you could've done here cause it wasn't Chrono Forms, I want to thank you from the bottom of my heart for sticking with me on this.
* * * * * * * *
FOR THOSE WITH SIMILAR ISSUES - disable anyother components/mods/plugins that are working with this form during testing.
* * * * *
This topic is locked and no more replies can be posted.