form get submit but it say please wait

form get submit but in website it shows please wait

form get submit but in website it shows please wait

Try checking write permissions for the php sessions folder. I had the same problem and adding www-data as owner of /var/lib/php/sessions/ solved it for me.

Best,
D.

@denispavliha Could you tell me where and how I should change it?

I have the same problem like @SVermainterloper . @SVermainterloper how did you solve this?

@denispavliha I installed mautic on a shared host and don’t have access to this folder. I installed it with softacoulous. Should it not run without changing folder permissions in that case?

@Aneta - as written, you should check which user owns the php sessions folder. It should be the webserver’s user (www-data or httpd or similar) and have write permissions enabled.

@Tobias2 - idk, I only have Mautic instances on own VPS’s with, of course, root access. But it should probably run out-of-the-box in your case, yes.

I’m getting the same log error and the form is hang on submit button after hit submit. Here is the log:

[2017-07-29 00:24:05] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMORMInvalidArgumentException: "A new entity was found through the relationship 'MauticEmailBundleEntityStatDevice#stat' that was not configured to cascade persist operations for entity: MauticEmailBundleEntityStat@0000000052ca741c00000000025c21fc. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist  this association in the mapping for example @ManyToOne(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'MauticEmailBundleEntityStat#__toString()' to get a clue." at /home/go.firetoeic.com/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php line 92 {"exception":"[object] (Doctrine\ORM\ORMInvalidArgumentException(code: 0): A new entity was found through the relationship 'Mautic\EmailBundle\Entity\StatDevice#stat' that was not configured to cascade persist operations for entity: Mautic\EmailBundle\Entity\Stat@0000000052ca741c00000000025c21fc. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist  this association in the mapping for example @ManyToOne(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'Mautic\EmailBundle\Entity\Stat#__toString()' to get a clue. at /home/go.firetoeic.com/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []

you can test the form here: https://go.firetoeic.com/form/20

Yeah, your AJAX request gets “success” returned yet the form hangs. Well the error above is most probably something the dev team needs to address. Maybe you check if there is some PR on GitHub?

This problem is all over the forums… it happened to all of my Mautic websites as soon as I upgraded to 2.9… Word to the wise, if you have not yet upgraded to 2.9, then DO NOT UPGRADE until this issue seems to be corrected… It makes all of your forms not function correctly and there has been no response from Mautic on how to fix the bug.

I had the same problem with a WordPress integration and found a simple solution. Basically, check the source code of the page containing your form and make sure that Mautic URL in your configuration settings match the URL in the tracking function in the source code. In my case, the embed code was generated as “http://www.mysite.com/mautic” and should be “http://mysite.com/mautic”… Check this out for more details: https://mautic.com/help/forms-hanging/

Guys, We have sort out the “please wait” bug

b Please use the manual copy of form instead of iframe or script tag.[/b]

You just have to replace the IP Address (script.src = ‘http://845.151.564.52/~eventsma/media/js/mautic-form.js:wink: with your domain name (script.src = ‘http://yourdomianname.com/media/js/mautic-form.js’; .) that’s it!

BEFORE

AFTER

Unfortunately we don’t have a domain up to know. We only have the IP.

This does seem to be a bug.

If you can get in and edit a couple of files then this has worked for me.

Follow the full thread for the instructions and where to find the files, and what line to look for.

Search this forum for the post called "form is hang on submit button after hit submit " it sows everything you need to know.

NOTE: after EACH Mautic upgrade you may need to do this. I’ve just had to do it again after the latest upgrade :frowning: