Hi,
I’ve freshly downloaded the Mautic zip, and put it into my IIS Document root on Windows. When I browse to http://localhost/index.php, Mautic redirects to http://localhost/index.php/index.php/installer and generates a HTTP 500 error.
When I look into the logs, it happens because it’s trying to connect to a MySQL Server on localhost with no username and password even before displaying the database configuration screen during the installation process.
Any idea on how to work around this? I manually hardcoded the right credentials into MauticvendordoctrinedballibDoctrineDBALConnection.php, but then the schema was missing.
Running php app/console doctrine:schema:update --force from the console leads to the same problem.
Thanks,
Georges
[2016-10-15 17:12:35] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALExceptionConnectionException: "An exception occured in driver: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. "
Hi,
I’ve freshly downloaded the Mautic zip, and put it into my IIS Document root on Windows. When I browse to http://localhost/index.php, Mautic redirects to http://localhost/index.php/index.php/installer and generates a HTTP 500 error.
When I look into the logs, it happens because it’s trying to connect to a MySQL Server on localhost with no username and password even before displaying the database configuration screen during the installation process.
Any idea on how to work around this? I manually hardcoded the right credentials into MauticvendordoctrinedballibDoctrineDBALConnection.php, but then the schema was missing.
Running php app/console doctrine:schema:update --force from the console leads to the same problem.
Thanks,
Georges
[2016-10-15 17:12:35] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALExceptionConnectionException: "An exception occured in driver: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. "
Ok, the fix is very easy, just remove the extra index.php from the path that got added for an unknown reason.
http://localhost/index.php/installer launches the installer properly.