Forums

The form stopped working and debugger doesn't show anything

Alistair 22 Jan, 2020
The form (after working fine for ages) is not being sent anymore, there is a small circle in the middle of the page then that's it, no thank you message, no form being sent. I have enabled the debugger but it doesn't seem to work, so I wondered if anything changed lately to make it stop working so abrupdly. Thanks.
Alistair 22 Jan, 2020
Ok, I managed to get the debugger working sorry:
Array
(
    [chronoform] => enquiry
    [event] => submit
    [name] => prova
    [company_name] => 
    [country] => 
    [email] => xxxxxx@gmail.com
    [telephone] => 
    [your_request] => prova
    [file2] => Array
        (
            [0] => 
        )

    [deadline_for_quotes] => 
    [deadline_for_goods] => 
    [button21] => 
    [how_did_you_find_us] => 
    [Itemid] => 122
    [option] => com_chronoforms6
    [view] => form
)
Array
(
    [submit_validate_fields] => Array
        (
            [log] => Automatic validation enabled.
            [var] => 1
        )

    [validate_fields6] => Array
        (
            [log] => Automatic validation enabled.
            [var] => 1
        )

    [upload2] => Array
        (
            [path] => /web/htdocs/www.xxxxxx.com/home/components/com_chronoforms6/chronoforms/uploads/
            [file2.[n]] => Array
                (
                    [extensions] => Array
                        (
                            [0] => jpg
                            [1] => png
                            [2] => gif
                            [3] => pdf
                            [4] => doc
                            [5] => docx
                            [6] => txt
                            [7] => zip
                            [8] => jpeg
                            [9] => rtf
                        )

                )

            [file2.0] => Array
                (
                    [saved] => 0
                )

            [var] => Array
                (
                    [file2] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

        )

    [load_validate_fields] => Array
        (
            [log] => Automatic validation enabled.
            [var] => 1
        )

)
Max_admin 24 Jan, 2020
If the small circle does not disappear then you may have a javascript error on the page of the form, but how do you get the debugger data then ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Alistair 24 Jan, 2020
The small circle disappears and you land back to the form page, without the form being sent. While there should be no circle, the form should be sent with the thank you message showing.
I have another form on the very same website and everything works fine.
Alistair 24 Jan, 2020
Hi, I hadn't even tried with the file attached as I saw the email wouldn't arrive, I have now tried attaching a file and not only does the attachment upload but the email is sent correctly (including the thank you message). So the issue happens only when users do not upload any files (field not mandatory).
healyhatman 24 Jan, 2020
The "fail" event for the file upload is called when there's no file to upload when you specify a file field to be uploaded. Put it inside an event switch with data source {data.empty:file2} in the "false" branch.
Alistair 25 Jan, 2020

Put it inside an event switch with data source {data.empty:file2} in the "false" branch.


I don't understand what that means. The form has worked with these settings for a long time, so not sure what changed. Unfortunately I don't understand those instructions.


Max_admin 26 Jan, 2020
Hi Alistair,

do you have the same issue with the demo contact form ? are you able to attach a backup of your form or send me a message using the contact page and attach the form file.

What is your Joomla version ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Alistair 27 Jan, 2020
Hello, I'm attaching the back-up of the form.[file=https://we.tl/t-SEBs8n4FlL]backed up form[/file]
I'm on Joomla! 3.9.14
Alistair 29 Jan, 2020
Edit: now on version 3.9.15
Alistair 01 Feb, 2020

Put it inside an event switch with data source {data.empty:file2} in the "false" branch.


Can this be translated/simplified by anyone?
Alistair 03 Feb, 2020
So, do I put the Event switcher before the Upload files?
healyhatman 03 Feb, 2020
You put the upload inside the event switcher just like in the screenshot
This topic is locked and no more replies can be posted.