Error 500 when opening EspoCRM

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zurdic
    Member
    • Aug 2024
    • 38

    Error 500 when opening EspoCRM


    Click image for larger version

Name:	image.png
Views:	16
Size:	3.0 KB
ID:	113373
    Hello,

    When I try to open espocrm, this pops out.

    IN data->logs it says this:

    [2024-12-27 16:33:29] CRITICAL: (1045) SQLSTATE[HY000] [1045] Access denied for user '######'@'localhost' (using password: YES) :: GET /Settings :: /var/www550/p43602/oururl/web/application/Espo/ORM/PDO/MysqlPDOFactory.php(73)
    [object] (PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user '######'@'localhost' (using password: YES) at /var/www550/p43602/ourul/web/application/Espo/ORM/PDO/MysqlPDOFactory.php:73)
    [stacktrace]

    #### (my user for database)

    in MysqlPDOFactory.php on line 73 it's: $pdo = new PDO($dsn, $username, $password, $options);


    Click image for larger version

Name:	image.png
Views:	14
Size:	59.8 KB
ID:	113376

    Any fix?

    We tried to copy our database to another website using the same server and when I uploaded our espo to WebFTP that pops out in new website and even on our old/current website.

    Any help would be appreciate
    Attached Files
  • yuri
    Member
    • Mar 2014
    • 8455

    #2
    Maybe you need to set different database credentials. They are set in data/config-internal.php
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • Zurdic
      Member
      • Aug 2024
      • 38

      #3
      which credentials should I change?

      Click image for larger version

Name:	image.png
Views:	0
Size:	19.4 KB
ID:	113381
      Attached Files

      Comment

      • Zurdic
        Member
        • Aug 2024
        • 38

        #4
        okey fixed, the problem was in credentials

        Comment

        Working...