I designed a form on my test server and included a file upload for an image file. It works perfectly.
Using the same hosting site - but a different domain - I exported the form and imported it into the live site.
Now the files no longer upload - I checked the upload folder and they are not there. Nothing was changed from the original file -
I am using the default upload folder.
When I run the Debugger on the live site, the file upload does not show up at all - anywhere?
When I run the debugger on the original - all is fine and I see the file in the array?
I have imported the file numerous times. The sites are running the same version of Joomla - different templates.
Using the same hosting site - but a different domain - I exported the form and imported it into the live site.
Now the files no longer upload - I checked the upload folder and they are not there. Nothing was changed from the original file -
I am using the default upload folder.
When I run the Debugger on the live site, the file upload does not show up at all - anywhere?
When I run the debugger on the original - all is fine and I see the file in the array?
I have imported the file numerous times. The sites are running the same version of Joomla - different templates.
Hi Sharon,
Check that the upload path is valid on the new server. The root part will have changed and may need to be reset in the Upload Files action?
Bob
Check that the upload path is valid on the new server. The root part will have changed and may need to be reset in the Upload Files action?
Bob
I am using the default upload path - there is nothing in that field.
Should I put a path in there?
Should I put a path in there?
I hard coded the default path - still nothing -
http://kuvaszclubofamerica.org/sw-test
with debugger running
http://kuvaszclubofamerica.org/sw-test
with debugger running
This is the exact same form as far as I can see - on the same hosting ISP - different domain.
http://sharonbetts.org/testsite/index.php/silver
this one works. I deleted the actions / fields etc that went with uploads and re-made that section - nothing.
is there some setting in joomla that I am missing?
http://sharonbetts.org/testsite/index.php/silver
this one works. I deleted the actions / fields etc that went with uploads and re-made that section - nothing.
is there some setting in joomla that I am missing?
Further information - I made a simple form with one file upload on the live server.
It also would not work. In the debugger, you see nothing about the file upload at all.
http://kuvaszclubofamerica.org/upload
Therefore, it is something in my installation - but, I am at a complete loss as to what could be blocking this and not even showing up as an error.
It also would not work. In the debugger, you see nothing about the file upload at all.
http://kuvaszclubofamerica.org/upload
Therefore, it is something in my installation - but, I am at a complete loss as to what could be blocking this and not even showing up as an error.
Hi Sharon,
Please try adding a Custom Code action to the On Submit event with this Debug code
Bob
Please try adding a Custom Code action to the On Submit event with this Debug code
<?php
echo'<div>$_FILES: '.print_r($_FILES, true).'</div>';
?>
That should show if there is a problem with the PHP part of the file upload.
Bob
$_FILES: Array ( )
is the result - server is running php 5.3.29
Is there a setting I should be looking at?
is the result - server is running php 5.3.29
Is there a setting I should be looking at?
Hi Sharon,
Something is clearly missing :-( By all means email or PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.
Bob
Something is clearly missing :-( By all means email or PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.
Bob
Hey Bob,
I PM'd the credentials as you suggested - have you had a chance to see what could possibly be wrong with the installation / php / ??
Sharon
I PM'd the credentials as you suggested - have you had a chance to see what could possibly be wrong with the installation / php / ??
Sharon
Hi Sharon,
Did you change the form method under the HTML action ? do you have the same Chronoforms version on both sites ?
Regards,
Max
Did you change the form method under the HTML action ? do you have the same Chronoforms version on both sites ?
Regards,
Max
No, I did not change the method under HTML action, they are set to File - and yes they are both running the newest version of Chronoforms. 5.0.3 with the package and plugins both 5.0
The simple file upload form was actually built right on the site that does not work (the one I sent you the credentials to)
http://kuvaszclubofamerica.org/upload
It was not imported.
:
The simple file upload form was actually built right on the site that does not work (the one I sent you the credentials to)
http://kuvaszclubofamerica.org/upload
It was not imported.
:
You can also try the demo files upload function included in the v5 installer, does this one work or not ?
I just tried the demo - no, nothing uploads / attaches
Obviously it is something in the php or joomla - I am at a loss though.
Sharon
Obviously it is something in the php or joomla - I am at a loss though.
Sharon
Hi Sharon,
How do you know that the file doesn't upload ? with a fresh demo files upload form, please submit the form once and send me the debug report displayed.
Regards,
Max
How do you know that the file doesn't upload ? with a fresh demo files upload form, please submit the form once and send me the debug report displayed.
Regards,
Max
Hi again,
I knew because I tested it and no files were attached to the email. Here is the report:
I knew because I tested it and no files were attached to the email. Here is the report:
Array
(
[chronoform] => demo-file-upload
[event] => submit
[button2] => Submit
[ip_address] => 69.133.76.23
)
Array
(
)
Errors
Array
(
)
Debug
Array
(
[3] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:sharonbetts@gmail.com
[2] => Subject:Test demo uplooad
[3] => From name:webmaster@kuvaszclubofamerica.org
[4] => From email:webmaster@kuvaszclubofamerica.org
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Body:
<table>
<tr><td>File Label</td><td></td></tr>
</table><br /><br />IP: 69.133.76.23
)
)
)
Here is the debug report when also attaching the pdf of the form to the email. The demo form is found at: http://kuvaszclubofamerica.org/demo-upload
Data Array
Array
(
[chronoform] => demo-file-upload
[event] => submit
[button2] => Submit
[cf_pdf_file] => demo-file-upload_20141126132644.pdf
[ip_address] => 69.133.76.23
)
Array
(
[cf_pdf_file] => Array
(
[name] => demo-file-upload_20141126132644.pdf
[path] => /home/kuvaszcl/public_html/components/com_chronoforms5/chronoforms/pdfs/demo-file-upload/demo-file-upload_20141126132644.pdf
[size] => 0
[link] => /home/kuvaszcl/public_html/components/com_chronoforms5/chronoforms/pdfs/demo-file-upload/demo-file-upload_20141126132644.pdf
)
)
Errors
Array
(
)
Debug Info
Array
(
[5] => Array
(
[TCPDF] => Array
(
[0] => /home/kuvaszcl/public_html/components/com_chronoforms5/chronoforms/pdfs/demo-file-upload/demo-file-upload_20141126132644.pdf has been saved correctly.
)
)
[3] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:sharonbetts@gmail.com
[2] => Subject:Test demo uplooad
[3] => From name:webmaster@kuvaszclubofamerica.org
[4] => From email:webmaster@kuvaszclubofamerica.org
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:/home/kuvaszcl/public_html/components/com_chronoforms5/chronoforms/pdfs/demo-file-upload/demo-file-upload_20141126132644.pdf
[10] => Body:
<table>
<tr><td>File Label</td><td></td></tr>
</table><br /><br />IP: 69.133.76.23
)
)
)
Ok, please send me admin login by PM or using the "contact us" page!
I just resent via PM the same credentials I sent before. Thank you for working with me on this.
Sharon
Sharon
This topic is locked and no more replies can be posted.