Forums

Error width chronoforms 6 form

klaus1902 29 Jan, 2019
I have created a form with chronoforms 6 on a joomla page.
When I click Send, I get the following error:
0 - DOMXPath :: query (): Invalid expression in selector >> body << in /var/home/laerchenhof-mariaalm.at/www/libraries/cegcore2/vendors/emogrifier/Emogrifier.php on line 371.
I have the same form already running on two pages, work flawlessly. These pages are also the same structure as the affected page.
Page: www.laerchenhof-mariaalm.at
If you click on the word "dürfen" on the start page, you will be directed to the form.

Thanks for your help
Klaus


klaus1902 04 Feb, 2019
Can anyone help me with this mistake?
healyhatman 04 Feb, 2019
Do you have a breadcrumbs module or component on the page at all?
klaus1902 04 Feb, 2019
I have a slider module - slide show ck - for the header. But this module I have activated on another page and chronoforms works on this page. I have the same
Max_admin 05 Feb, 2019
Hi Klaus,

What do you have in your email "Body" box in the email settings ?

You can try to disable the "Advanced template" processing option in the email settings in the form, that may solve it, but please post the body content here first.

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
klaus1902 05 Feb, 2019
[file=11565]chronoforms_texte.txt[/file]
The texts are all in German.
klaus1902 05 Feb, 2019
I changed the advanced mode to easy mode.The form works perfect.Thanks for your help.
Flying_Badger 28 Feb, 2019
Hello

I am having exactly the same problem as klaus1902.

I am using an adapted demo form. I have it on several other sites as well, all working fine.

On this site however I get the following message when submitting the form:

DOMXPath::query(): Invalid expression in selector >> body << in /home/mysite/public_html/libraries/cegcore2/vendors/emogrifier/Emogrifier.php on line 371

I tried changing to easy mode but this has not helped.

Any advice?

Many thanks

Jo
healyhatman 01 Mar, 2019
Do YOU have any breadcrumb modules on the page?
Flying_Badger 01 Mar, 2019
Hi healyhatman

No I don't.

It is now having trouble with the security check.... it is repeatedly saying I have chosen the wrong image.

Do you know, is the 'emogrifier' something to do with the images used in the security check?

Many thanks for any thoughts, insights etc you can give.

Cheers

Jo
Flying_Badger 01 Mar, 2019
Okay, so no.... emogifier nothing to do with images!

So it "converts html and css into Gmail friendly emails".... I don't really know what that means, but why should it be affecting the form.

Oh, wait.... I did notice that the emails were more attractive in Chronoforms6.... so .....

This is line 371 of emogifier.php, where the message says the error is:

// query the body for the xpath selector
$nodesMatchingCssSelectors = $xPath->query($this->translateCssToXpath($cssRule['selector']));

Would be grateful for any help you can give.

Many thanks

Jo
Max_admin 08 Mar, 2019
Please try to switch off the "Apply advanced template parsing and styles" setting in the email settings of your form, does it help ?

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
arampro 23 May, 2019
Hi Max,
I had this problem too, but only on php 7.3. Going back to php 7.2 fixed the problem. Maybe this helps.
Cheers, Aram
Max_admin 29 May, 2019
Thank you, but disabling the "Advanced template" setting in the email does not fix it ?

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
arampro 11 Jun, 2019
Answer
1 Likes
Hi Max,
First it didn't. I tried it again (and cleared cache) and it does work under php 7.3 as well.
Regards, Aram
pixelhexe 12 Dec, 2019
I just had the same problem with the error mentioned above - and want to confirm that in my case, the error occurs in php 7.3 IF (!) the option "Apply advanced template parsing and styles" is activated. After switching it off everything works fine again. Thank you for the helpful hint.
matrix 27 Jan, 2020
OK - the same Problem. Deactivate "advanced template parsing and styles" - the Form works.
BUT!!! - What is the different from this Function when is activated and when we must deactivate, why is this Function inside from chronoform 6????
matrix 17 Feb, 2020
Hi
I have not an answer to:
What is the different from this Function when is activated and when we must deactivate, why is this Function inside from chronoform 6????
Can you tell me or you are working on a solution?
Sjarel77 22 Apr, 2020
Same problem here.
Just the basic contact form, gives the same error.

When I switch back from PHP 7.3 to PHP 7.2 the error is gone.
Max_admin 22 Apr, 2020
Just disable the Advanced Template Setting please, the parser is outdated and causes this issue!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
matrix 22 Apr, 2020
sorry - but why you delete this not in a update????
Max_admin 22 Apr, 2020
because nobody uses this feature
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Sjarel77 23 Apr, 2020
Good evening
And where can I find this "advanced template setting"?

When I go to my template style, I have the options:
* Details
* Tempaltes
* Menus
* Menu assignment

and that's it.

I guess it depends on which template you use ?



on the other hand:
* in the email settings of my form, the box "apply advanced template parsing and styles" is NOT ticked
* the body of my emailsettings are empty
* I don't use breadcrumbs on my website
* I use v6 classic mode
Max_admin 20 Jun, 2020
Does v7 cause the same issue on your server ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.