Your software
My Mautic version is: 3.1.2
My PHP version is: 7.3
My Database type and version is: MySQL 8
Your problem
My problem is: Cannot access dashboard
These errors are showing in the log:
Steps I have tried to fix the problem:
Hello Mautic community,
I am a Mautic enthusiast, I love it. And although I’m new to Mautic, I’ve started a project with it.
I have a problem that I hope someone can help me solve. I have installed, upgraded, configured, and running. But as I had a problem that in another topic I will tell if I don’t solve it, I have made a change.
The change that I have done:
Has changed to “YES” in CORS and I have placed the url where the web is in the white list (mysite.com)
I have the .htaccess of Mautic, which I checked again and downloaded from here, please can someone help me? Because after the change I made I can not access the dashboard to revert it.
And after those lines I have a lot of lines on the log, and all the same:
[2020-12-18 18:17:38] mautic.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\BadRequestHttpException: “Untrusted Host “mautic.mysite.com.com”.” at /home//mautic.mysite.com.com/vendor/symfony/http-kernel/HttpKernel.php line 71 {“exception”:"[object] (Symfony\Component\HttpKernel\Exception\BadRequestHttpException(code: 0): Untrusted Host “mautic.mysite.com.com”. at /home//mautic.mysite.com.com/vendor/symfony/http-kernel/HttpKernel.php:71, Symfony\Component\HttpFoundation\Exception\SuspiciousOperationException(code: 0): Untrusted Host “mautic.mysite.com.com”. at /home//mautic.mysite.com.com/vendor/symfony/http-foundation/Request.php:1319)"}
Most of them are before the change, I don´t know the exact hour of the change, but I think all of them before the change. And now there are no new logs
508 Error indicates a resource limit problem. Have a look at Php.ini file for limits that need to be adjusted. This issue may be unrelated to the CORS settings as it has nothing to do with the issue you describe.
List the specs of your VPS/Server
But after the error Mautic run well for hours until I changed CORS and right after that the site was unreachable. I am on a share hosting A2 Hosting, the lower hosting, now I am planning to upgrade as long as the site is already configured… all of that if I get to make it run again…
I contacted A2hosting support but i am not having good experience… Still waiting.
On the error log of the account, There are not errors related, just some from yesterday when I was configuring and entered a wrong pass
Really the site is down… so not sure how to make it up again… maybe it is the solution…
In Mautic, the /s/xxx URLs like /s/dashboard require authentication. ‘s’ stands for ‘secure’. URLs that can be accessed without authentication (i.e. public) do not have this /s prefix.
As far as your installation problem is concerned, I think the problem is with your rewrite rules. Mautic comes with a .htaccess file for Apache that defines these rewrite rules… make sure Apache is configured to allow reading configuration from .htaccess ( AllowOverride All directive)