WordPress plugin js form does not generate

Hi



I have a new Mautic installation with one form and a brand new wordpress installation with the mautic plugin.

When i want to show a form with the plugin the js form does not generate any output.



the HTML output does include the code:




and i can see the form through the iframe method: http://hometoll.news.builders/m/form/1

Do i miss to enable install anything to get the wordpress plugin (js methode) to work?


Best regards
John Mølholt

Hi

I have a new Mautic installation with one form and a brand new wordpress installation with the mautic plugin.
When i want to show a form with the plugin the js form does not generate any output.

the HTML output does include the code:

and i can see the form through the iframe method: http://hometoll.news.builders/m/form/1

Do i miss to enable install anything to get the wordpress plugin (js methode) to work?

Best regards
John Mølholt

You download and enable the Mautic Plugin from here https://es.wordpress.org/plugins/wp-mautic/
To load a Mautic Form to your WP post, insert this shortcode to the place you want the form to appear:

[mauticform id=“1”]
Replace “1” with the form ID you want to load. To get the ID of the form, go to your Mautic, open the form detail and look at the URL. The ID is right there. For example in this URL: http://yourmautic.com/s/forms/view/3 the ID = 3.

Hi
yes i did install the plugin from the wordpress plugin directory. And the form has the ID 1 as i am possible to see the form when i open the URL (i have mautic in the subfolder m):
http://hometoll.news.builders/m/form/1

but not the URL (as described in your reply):
http://hometoll.news.builders/m/s/form/view/1

The plugin adds the HTML output (so the plugin seems to run)

in my page, but nothing from the form is shown.

Best regards
John

can you share in what page you are trying to display the form.

Sure, i have created at page for this and you can find it here http://bb4wp.com/mautic-form-test/

On this page http://bb4wp.com/contact-us/ i have used ithe iframe methode and thats working.

Just the js include script that seems not to work.

/John

Have you try using another template try using the plugin shortcode using the default wordpress template.

I have tried with the default WordPress template also, same result.

As MxyzptlkFishStix notes, when i run the URL the js page (http://hometoll.news.builders/m/form/generate.js?id=1) does not return any content.

/John

PS: if you want the admin login/pass to examine the configuration i am ok with that.

Just chiming in to say that I have the exact same issue. Nothing generated by generate.js.
Has anyone figured out what is going on?

@tdlabs If you’re running Mautic on Nginx, post or private message me your config and I’ll help you troubleshoot this.

@JConnell I am running it on a bitnami stack with cloudflare in front of it.
I believe it is on Debian with Apache and PHPfpm.

I actually got it sorted out: https://www.mautic.org/community/index.php/5862-form-code-doesn-t-working/p1#p20731

Adrian

Hi everyone,

I’m not an expert in WordPress, so I recently created my website and set up Mautic. I successfully inserted a form on my website, and everything was working fine. However, after a few months, the form stopped working, and now it only displays the code on the website.

I’ve tried reinstalling all the plugins and themes and searching the internet for solutions, but I couldn’t find anything helpful.

Could someone please provide assistance?

The website is:

Thank you.