Can't login ? please use the "Forgot password" under "Login"

Are you getting "We could not connect to ChronoEngine" error when you try to validate Chronoforms ? please update Chronoforms7!

Forums

Refresh if not uploading

deef73 posted Mar 17, 2020 at 05:50
#391646
This page is working when you upload something
https://www.glansbeton.be/test
However, I don't want to make uploading mandatory.
After a lot of testing, I get that if you don't upload anything, the page refreshes without giving an error. I have activated the debugger on this page. However, I cannot find what the error is. Anyone have an idea ?
GreyHead posted Mar 17, 2020 at 11:02
#391652
Hi deef73,
Please turn on the form Debugger, then submit the form and post the debug - including the 'dummy emails' results here. It may help if you try this with the Preview view of the form.
Bob
deef73 posted Mar 17, 2020 at 11:16
#391654
After a lot of testing, I get that if you don't upload anything, the page refreshes without giving an error. I have activated the debugger on this page. However, I cannot find what the error is. Anyone have an idea ?
This is from the debugger....
Array

(
[chronoform] => contacteer-ons
[event] => submit
[ip_number] => 84.192.56.164
[datum_aanvraag] => 17/03/2020 12:10:50 pm Europe/Brussels
[site_url] => www.glansbeton.be
[site_email] => info@glansbeton.be
[site_name_hc] => Glansbeton
[title] => dhr
[first_name] => John
[last_name] => Doe
[email_adres] => davy.anja@gmail.com
[phone] => 0479204206
[option_floor] => HOME
[postnummer_plaats] => 12345 CITY
[text36] => Street nr 5
[beschrijving_project] => just talking a bit here like I have to do
[file] => Array
(
[0] => 20200317111327_img-20150813-wa0000.jpeg
)

[verwijzer] => mondereclame
[doorverwezen] => niemand.... maar dat komt niet door zeker ?
[voorwaarden_aanvaard] => 1
[g-recaptcha-response] => 03AERD8XpTSx5LE-AkYnesPdNF_rCx2v1kXTJB8GlzWlYDkF3IUM8R7TLikCkCrw5YLmheELT0qq2P2qfPgyCUDzMW3JAUSO6hAmSMc4Dls9e3j8khvFeVx4SosPo-eq67XOGMOoBalWFRHheh2btR7tm0m-QZGWCntgPxyEE6lion9oGdCUWrwUd4YDQjBnCHXS_ziBu8kwMhvLtUWXOoo6U8OPN9oQcBM30Cf3mjF3UC0XNNbQ802jZeGKpNKdTdiPpeaSeVNSbJVuFjymjRQy5o2QPpFYq8qCQHcYNQrVl15qdgf5IOJjHEk2imPeQPeRwIXC5wkPyG6Ten6UycCRRwOlNbYKVrIC2O0fnPYYA4C2qnR09O_9cDamCJZGU1-D7WCR5HQ-44XJysIO4xxc9Ivyan-hnoMZfKAb9tNOWvULGD7V5flqIt2MIkvdwJqfgiMiGhI7vCA917oKhE2AHlvDzfvWvNZw
[send_button] =>
[language] => nl-NL
[Itemid] => 2936
[option] => com_chronoforms6
[view] => form
[lang] => nl-NL
)
Array

(
[google_nocaptcha13] => Array
(
[response] => Array
(
[success] => 1
[challenge_ts] => 2020-03-17T11:13:02Z
[hostname] => www.glansbeton.be
)

[_success] => De NoCaptcha verificatie was geslaagd.
[var] => 1
)

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

[upload26] => Array
(
[path] => /data/sites/web/glansbetonbe/www/components/com_chronoforms6/chronoforms/uploads/
[file.[n]] => Array
(
[extensions] => Array
(
[0] => jpg
[1] => jpeg
[2] => png
[3] => gif
[4] => pdf
[5] => doc
[6] => docx
[7] => txt
[8] => zip
)

)

[file.0] => Array
(
[saved] => 1
)

[var] => Array
(
[file] => Array
(
[0] => Array
(
[path] => /data/sites/web/glansbetonbe/www/components/com_chronoforms6/chronoforms/uploads/20200317111327_img-20150813-wa0000.jpeg
[filename] => 20200317111327_img-20150813-wa0000.jpeg
[name] => IMG-20150813-WA0000.jpeg
[size] => 891607
)

)

)

)

[email_to_webmaster] => Array
(
[recipients] => Array
(
[0] => davy.anja@gmail.com
[1] => info@glansbeton.be
)

[subject] => [[HOME]] John Doe deed een aanvraag via www.glansbeton.be
[body] => Beste beheerder van Glansbeton,<br /><br />

<p>Er werd zonet een offerte aanvraag gedaan door John Doe via <strong>www.glansbeton.be</strong>. Kun je deze offerte zo spoedig mogelijk maken?<br /><br />
Met vriendelijke groeten,<br /><br />
De webmaster,<br /><br />
<a href="https://www.glansbeton.be">www.glansbeton.be</a>
</p>

<table width="100%" cellpadding="5" cellspacing="3" border="0" class="ui table"><tr><td width="30%" valign="top" align="right"><strong>ip_number</strong></td><td width="70%" valign="top" align="left">84.192.56.164</td></tr><tr><td width="30%" valign="top" align="right"><strong>datum_aanvraag</strong></td><td width="70%" valign="top" align="left">17/03/2020 12:10:50 pm Europe/Brussels</td></tr><tr><td width="30%" valign="top" align="right"><strong>site_url</strong></td><td width="70%" valign="top" align="left">www.glansbeton.be</td></tr><tr><td width="30%" valign="top" align="right"><strong>Aanspreek titel</strong></td><td width="70%" valign="top" align="left">De heer</td></tr><tr><td width="30%" valign="top" align="right"><strong>Voornaam</strong></td><td width="70%" valign="top" align="left">John</td></tr><tr><td width="30%" valign="top" align="right"><strong>Achternaam</strong></td><td width="70%" valign="top" align="left">Doe</td></tr><tr><td width="30%" valign="top" align="right"><strong>Email adres</strong></td><td width="70%" valign="top" align="left">davy.anja@gmail.com</td></tr><tr><td width="30%" valign="top" align="right"><strong>Telefoonnummer</strong></td><td width="70%" valign="top" align="left">0479204206</td></tr><tr><td width="30%" valign="top" align="right"><strong>Welke betonvloer ?</strong></td><td width="70%" valign="top" align="left">Woonbeton (betere afwerking)</td></tr><tr><td width="30%" valign="top" align="right"><strong>Postnummer & Plaats</strong></td><td width="70%" valign="top" align="left">12345 CITY</td></tr><tr><td width="30%" valign="top" align="right"><strong>Straat</strong></td><td width="70%" valign="top" align="left">Street nr 5</td></tr><tr><td width="30%" valign="top" align="right"><strong></strong></td><td width="70%" valign="top" align="left">just talking a bit here like I have to do</td></tr><tr><td width="30%" valign="top" align="right"><strong>Wil je een plan of foto's uploaden ?</strong></td><td width="70%" valign="top" align="left">["20200317111327_img-20150813-wa0000.jpeg"]</td></tr><tr><td width="30%" valign="top" align="right"><strong>Via welk medium hebt u ons gevonden</strong></td><td width="70%" valign="top" align="left">Mondreclame</td></tr><tr><td width="30%" valign="top" align="right"><strong>Wie heeft u doorverwezen</strong></td><td width="70%" valign="top" align="left">niemand.... maar dat komt niet door zeker ?</td></tr><tr><td width="30%" valign="top" align="right"><strong>Aanvaard de <a href="https://www.glansbeton.be/voorwaarden-glansbeton">voorwaarden</a> van Glansbeton BVBA&nbsp;<i class="icon info circular blue inverted small" data-hint="Indien u de voorwaarden van ons niet kunt aanvaarden, kunnen wij u geen offerte aanbieden. Wij raden u aan om deze voorwaarden goed na te lezen, daar deze noodzakelijk zijn voor een goede uitvoering van de werken."></i></strong></td><td width="70%" valign="top" align="left">1</td></tr></table>

[files] => Array
(
[0] => /data/sites/web/glansbetonbe/www/components/com_chronoforms6/chronoforms/uploads/20200317111327_img-20150813-wa0000.jpeg
)

[from_name] => Davy Renckens
[from_email] =>
[reply_name] => John Doe
[reply_email] => davy.anja@gmail.com
[result] => de Email is met succes verstuurd.
[var] => 1
)

[email_to_customer] => Array
(
[recipients] => Array
(
[0] => davy.anja@gmail.com
)

[subject] => John Doe wij hebben uw aanvraag via www.glansbeton.be goed ontvangen!
[body] => Beste John,<br /><br />

<p>Wij hebben uw offerteaanvraag via <strong>www.glansbeton.be</strong> goed ontvangen. Wij trachten deze binnen de 7 werkdagen te verwerken. Indien u nog aanvulling of opmerkingen heeft kunt u gewoon op deze email reageren.<br /><br />
Met vriendelijke groeten,<br /><br />
Webmaster,<br /><br />
<a href="www.glansbeton.be">www.glansbeton.be</a>
</p>

<table width="100%" cellpadding="5" cellspacing="3" border="0" class="ui table"><tr><td width="30%" valign="top" align="right"><strong>ip_number</strong></td><td width="70%" valign="top" align="left">84.192.56.164</td></tr><tr><td width="30%" valign="top" align="right"><strong>datum_aanvraag</strong></td><td width="70%" valign="top" align="left">17/03/2020 12:10:50 pm Europe/Brussels</td></tr><tr><td width="30%" valign="top" align="right"><strong>site_url</strong></td><td width="70%" valign="top" align="left">www.glansbeton.be</td></tr><tr><td width="30%" valign="top" align="right"><strong>Aanspreek titel</strong></td><td width="70%" valign="top" align="left">De heer</td></tr><tr><td width="30%" valign="top" align="right"><strong>Voornaam</strong></td><td width="70%" valign="top" align="left">John</td></tr><tr><td width="30%" valign="top" align="right"><strong>Achternaam</strong></td><td width="70%" valign="top" align="left">Doe</td></tr><tr><td width="30%" valign="top" align="right"><strong>Email adres</strong></td><td width="70%" valign="top" align="left">davy.anja@gmail.com</td></tr><tr><td width="30%" valign="top" align="right"><strong>Telefoonnummer</strong></td><td width="70%" valign="top" align="left">0479204206</td></tr><tr><td width="30%" valign="top" align="right"><strong>Welke betonvloer ?</strong></td><td width="70%" valign="top" align="left">Woonbeton (betere afwerking)</td></tr><tr><td width="30%" valign="top" align="right"><strong>Postnummer & Plaats</strong></td><td width="70%" valign="top" align="left">12345 CITY</td></tr><tr><td width="30%" valign="top" align="right"><strong>Straat</strong></td><td width="70%" valign="top" align="left">Street nr 5</td></tr><tr><td width="30%" valign="top" align="right"><strong></strong></td><td width="70%" valign="top" align="left">just talking a bit here like I have to do</td></tr><tr><td width="30%" valign="top" align="right"><strong>Wil je een plan of foto's uploaden ?</strong></td><td width="70%" valign="top" align="left">["20200317111327_img-20150813-wa0000.jpeg"]</td></tr><tr><td width="30%" valign="top" align="right"><strong>Via welk medium hebt u ons gevonden</strong></td><td width="70%" valign="top" align="left">Mondreclame</td></tr><tr><td width="30%" valign="top" align="right"><strong>Wie heeft u doorverwezen</strong></td><td width="70%" valign="top" align="left">niemand.... maar dat komt niet door zeker ?</td></tr><tr><td width="30%" valign="top" align="right"><strong>Aanvaard de <a href="https://www.glansbeton.be/voorwaarden-glansbeton">voorwaarden</a> van Glansbeton BVBA&nbsp;<i class="icon info circular blue inverted small" data-hint="Indien u de voorwaarden van ons niet kunt aanvaarden, kunnen wij u geen offerte aanbieden. Wij raden u aan om deze voorwaarden goed na te lezen, daar deze noodzakelijk zijn voor een goede uitvoering van de werken."></i></strong></td><td width="70%" valign="top" align="left">1</td></tr></table>
[files] => Array
(
[0] => /data/sites/web/glansbetonbe/www/components/com_chronoforms6/chronoforms/uploads/20200317111327_img-20150813-wa0000.jpeg
)

[reply_name] => John Doe
[reply_email] => davy.anja@gmail.com
[result] => de Email is met succes verstuurd.
[var] => 1
)

)
GreyHead posted Mar 18, 2020 at 10:17
#391663
HI deef73,
That all looks to be working correctly. I can only guess that you have some required validation on the Files Upload???
Bob
deef73 posted Mar 18, 2020 at 23:02
#391673
I am a bit further now... it is working when I don't use a Multi file select.
Screenshot-1.png
Above you can see how it's done in the designer tab
Screenshot-2.png
Above you can see the validation
Screenshot-3.png
Above you can see the info
Screenshot-4.png
Above you can see the advanced tab
Screenshot-5.png
Above you can see the events Tab
Screenshot-6.png
Above you can see the setup upload
It's nothing special I think. If I change file[] to file and I change multiple file upload to no then the there is no refresh and everything is working.
Someone a Idea what I'm doing wrong here ?
Thanks,

Deef!
This topic is locked and no more replies can be posted.

 2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com