Hello All !
I am stuck in the loginscreen after installing a fresh install of SuitCRM 8.2.3.
Here is what i have done so far:
- Checked the compatibility list. All pans out.
- Checked the supported extensions. All are supported and running.
- Configure URL rewrites: as it is hosting i cannot do that but i am assuming this already done.
- Configure php error reporting: as it is hosting i cannot do that but i am assuming this already done.
- Enable op cache. as it is hosting i cannot do that but i have other caching options to speed up.
- Downloaded the latest zip, unpack and uploaded it to my domain root.
- Setting permissions. As far as i can see all folders are 755 and files are 644. I have no control over groupname
- Created the database and database user within Siteground hosting environment.
According to the manual it says go to the root and the installer will run automatically. It doesn’t.
I had to find the installer which was under [domain]/public/legacy
Ran the installer and filled in the url of suitecrm instance: [domain]
Database info filled in: localhost, name database, name user and password. Port not filled in. (possible problem there?)
Admin info: user and password created.
Finished installer, no errors.
Checked config.php for correct site url: [domain]/public
Checked .htaccess for rewritebase. Here is something weird, according to documentation it should be [domain]/public/public
I try to login with the admin credentials and it fails. In (web)console it mentiones hard 500 error.
Suitecrm.log mentions nothing about the login.
Prod log gives the following error:
[2023-02-10 10:07:26] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\ConnectionException: “An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user ‘root’@‘localhost’ (using password: NO)” at /home/customer/www/[domain]/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 112 {“exception”:“[object] (Doctrine\DBAL\Exception\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user ‘root’@‘localhost’ (using password: NO) at /home/customer/www/[domain]/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:112, Doctrine\DBAL\Driver\PDO\Exception(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ‘root’@‘localhost’ (using password: NO) at /home/customer/www/[domain]/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ‘root’@‘localhost’ (using password: NO) at /home/customer/www/[domain]/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40)”} []
I looks like to credentials are passed but i checked config.php and all the right credentials are there?
Could something be going wrong with the connection with the database?
Thanks in advance for your help or insight on where i could check more.