Forums

imported form - files not uploading

sharonbetts 16 Nov, 2014
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.
GreyHead 16 Nov, 2014
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
sharonbetts 16 Nov, 2014
I am using the default upload path - there is nothing in that field.
Should I put a path in there?
sharonbetts 16 Nov, 2014
I hard coded the default path - still nothing -
http://kuvaszclubofamerica.org/sw-test

with debugger running
sharonbetts 16 Nov, 2014
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?
sharonbetts 16 Nov, 2014
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.
GreyHead 17 Nov, 2014
Hi Sharon,

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
sharonbetts 17 Nov, 2014
$_FILES: Array ( )

is the result - server is running php 5.3.29
Is there a setting I should be looking at?
GreyHead 19 Nov, 2014
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
sharonbetts 21 Nov, 2014
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
Max_admin 23 Nov, 2014
Hi Sharon,

Did you change the form method under the HTML action ? do you have the same Chronoforms version on both sites ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
sharonbetts 23 Nov, 2014
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.

:
Max_admin 24 Nov, 2014
You can also try the demo files upload function included in the v5 installer, does this one work or not ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
sharonbetts 25 Nov, 2014
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
Max_admin 26 Nov, 2014
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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
sharonbetts 26 Nov, 2014
Hi again,
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
                )

        )

)
sharonbetts 26 Nov, 2014
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
                )

        )

)
Max_admin 26 Nov, 2014
Ok, please send me admin login by PM or using the "contact us" page!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
sharonbetts 26 Nov, 2014
I just resent via PM the same credentials I sent before. Thank you for working with me on this.
Sharon
This topic is locked and no more replies can be posted.