Mautic Community Forums

Site URL and forms

Since upgrading to 2.6.1 I’ve had a wacky issue I’m trying to track down. It seems site url is being combined with baseUrl in some situations.



My mautic is installed into /public_html/ma

My ‘Site Url’ is set to htttp://www.AAA.com/ma



Most of the site works fine. Can submit forms, send emails etc. Yet the /ma/mtc.js script has 3 references:

MauticJS.insertScript(‘http://www.AAA.com/ma/ma/app/bundles/CoreBundle/Assets/js/libraries/2.jquery.js’);

MauticJS.insertStyle(‘http://www.AAA.com/ma/ma/media/css/mediaelementplayer.css’);

MauticJS.insertScript(‘http://www.AAA.com/ma/ma/media/js/mautic-form.js’);



As you can see, there’s a second layer of directories (/ma/ma) rather than just /ma.



I tried setting siteurl to just the base url, but that broke more things.



Any suggestions? Is it as simple as having my siteurl wrong, or is there a wacky bug I can’t uncover?



Thanks…

Since upgrading to 2.6.1 I’ve had a wacky issue I’m trying to track down. It seems site url is being combined with baseUrl in some situations.

My mautic is installed into /public_html/ma
My ‘Site Url’ is set to htttp://www.AAA.com/ma

Most of the site works fine. Can submit forms, send emails etc. Yet the /ma/mtc.js script has 3 references:
MauticJS.insertScript(‘http://www.AAA.com/ma/ma/app/bundles/CoreBundle/Assets/js/libraries/2.jquery.js’);
MauticJS.insertStyle(‘http://www.AAA.com/ma/ma/media/css/mediaelementplayer.css’);
MauticJS.insertScript(‘http://www.AAA.com/ma/ma/media/js/mautic-form.js’);

As you can see, there’s a second layer of directories (/ma/ma) rather than just /ma.

I tried setting siteurl to just the base url, but that broke more things.

Any suggestions? Is it as simple as having my siteurl wrong, or is there a wacky bug I can’t uncover?

Thanks…

It’s exact what I’m havin right now.

I had exactly the same issue. After search a lot and ask for help and no one could help me. I decide to forget the Idea to instal mautic in a sub directory (evento tough It was Berger e to me) and I instaled It on a sub Domain as the majority of the mautic instalation até made. Att Leandro as Informações could understand.

After I did It my mautic is working perfectly fine.

If anyone could explain How to Have this issue fixes, it Will be very usefull.