Mautic Community Forums

Mautic form submit issues after update http protocol

Hey guys, good afternoon!



I got some issues after update my http protocol to https.



After rebuild cache and delete the /prod folder from cache, i had no success

Quote:
(On submit form): Failed to load resource: the server responded with a status of 500 (Internal Server Error)
app.js?v3ed5fef6:219 Uncaught DOMException: Blocked a frame with origin “https://subdomain.mydomain.com.br” from accessing a cross-origin frame.
at HTMLDocument. (https://subdomain.mydomain.com.br/media/js/app.js?v3ed5fef6:219:67)
at fire (https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:328:299)
at Object.fireWith [as resolveWith] (https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:333:198)
at Function.ready (https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:340:11)
at HTMLDocument.completed (https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:340:291)
(On submit form): Failed to load resource: the server responded with a status of 500 (Internal Server Error)

I already did:

- changes in apache htdocs from SAMEORIGIN to GOFORIT
- the proccess above didnt works, so i commented the same X-FrameOptions line
- rebuild the cache
- enabled/disabled CORS settings and whitelisted my domains and subdomains with https protocol


Mautic log
Quote:
[2017-07-18 21:10:21] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMORMInvalidArgumentException: "A new entity was found through the relationship 'MauticFormBundleEntitySubmission#lead' that was not configured to cascade persist operations for entity: MauticLeadBundleEntityLead with ID #. 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"})." at /[mautic_root]/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\FormBundle\Entity\Submission#lead' that was not configured to cascade persist operations for entity: Mautic\LeadBundle\Entity\Lead with ID #. 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"}). at /[mautic_root]/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []

Apache log for the last 3 days
Quote:
[Sun Jul 16 17:33:57.193373 2017] [authz_core:error] [pid 1804:tid 140081474029312] [client ip] AH01630: client denied by server configuration: /[root]/phpmyadmin/htdocs/scripts
[Sun Jul 16 20:51:19.505048 2017] [authz_core:error] [pid 1543:tid 140081255819008] [client ip] AH01630: client denied by server configuration: /[root]/phpmyadmin/htdocs/
[Sun Jul 16 22:04:05.147980 2017] [authz_core:error] [pid 1543:tid 140081314567936] [client ip] AH01630: client denied by server configuration: /[root]/phpmyadmin/htdocs/

Any suggestion?

Thanks

Hey guys, good afternoon!

I got some issues after update my http protocol to https.

After rebuild cache and delete the /prod folder from cache, i had no success

[quote](On submit form): Failed to load resource: the server responded with a status of 500 (Internal Server Error)
app.js?v3ed5fef6:219 Uncaught DOMException: Blocked a frame with origin “https://subdomain.mydomain.com.br” from accessing a cross-origin frame.
at HTMLDocument. (https://subdomain.mydomain.com.br/media/js/app.js?v3ed5fef6:219:67)
at fire (https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:328:299)
at Object.fireWith [as resolveWith] (https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:333:198)
at Function.ready (https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:340:11)
at HTMLDocument.completed (https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:340:291)
(On submit form): Failed to load resource: the server responded with a status of 500 (Internal Server Error)[/quote]

I already did:

  • changes in apache htdocs from SAMEORIGIN to GOFORIT
  • the proccess above didnt works, so i commented the same X-FrameOptions line
  • rebuild the cache
  • enabled/disabled CORS settings and whitelisted my domains and subdomains with https protocol

Mautic log

Apache log for the last 3 days

[quote][Sun Jul 16 17:33:57.193373 2017] [authz_core:error] [pid 1804:tid 140081474029312] [client ip] AH01630: client denied by server configuration: /[root]/phpmyadmin/htdocs/scripts
[Sun Jul 16 20:51:19.505048 2017] [authz_core:error] [pid 1543:tid 140081255819008] [client ip] AH01630: client denied by server configuration: /[root]/phpmyadmin/htdocs/
[Sun Jul 16 22:04:05.147980 2017] [authz_core:error] [pid 1543:tid 140081314567936] [client ip] AH01630: client denied by server configuration: /[root]/phpmyadmin/htdocs/[/quote]

Any suggestion?

Thanks

@danielshad I have the same Mautic log error, cannot submit any forms on fresh install of 2.9.0, just get 500 error every time. Any progress? Thoughts on how to fix?