We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15065
    • 138 Posts
    Hi

    One of our site got down, and the customer informed us the issue.

    When I try to view the site, the following error appearing;
    "
    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
    "


    And when try to login to manager, the following error appearing;
    "
    Failed to create the database connection!
    . Please run the MODx install utility
    "


    How can I resolve the issue and what may be the reason for the error ?

    Pls help....this is an urgent

    Thanks in advance

    Jurdy
      • 37550 ☆ A M B ☆
      • 711 Posts
      Hi,

      Are you able to check if your database still exists? and log into it via something like phpmyadmin.

      It sounds like either your database login details have changed or the database no longer exists or could be corrupt

      Aaron
        http://www.onesmarthost.co.uk
        UK MODX Hosting with love.
        • 15065
        • 138 Posts
        Hi Aaron,

        I have checked the database and it is existing [ size 329.26 MB, 39 tables ] . Also I could login into it using phpmyadmin.

        What else I can do to solve the issue? pls help ...

        Jurdy
          • 8609
          • 607 Posts
          I assume you’re running Evolution?

          Once you’ve checked that the database still exists and the user you created and assigned to that database still exists and is assigned to that database with all privileges, the next step I would suggest would be to open the config file (manager/includes/config.inc.php) and make sure that the database information stored there is correct. Someone may have fiddled with it.
            • 1343 ☆ A M B ☆
            • 2,213 Posts
            The first error appears to be a 500 error which is generally caused by permission issues. If your on linux make sure files are 644 and folder 755 (assumes host is using phpsuexec).

            You should get a different error for connection issues if I recall correctly.

            Also check the config file to ensure the correct login information is entered (manager/includes/config.inc.php).
              Patrick | Server Wrangler
              About Me: Website | Tweets |  MODX Hosting
              • 15065
              • 138 Posts
              Issue solved. The hostname [database server name ] in config file was not working. I changed it to another one and now it is working fine.

              thanks for every help and guidelines.

              thanks
              Jurdy