« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« Failed to create the database connection! »
 
Parser timing
  MySQL: 0.0000 s(0 Requests)
  PHP: 0.2239 s 
  Total: 0.2239 s 
Error while inserting event log into database.