60 lines
2.4 KiB
PHP
60 lines
2.4 KiB
PHP
<?php
|
|
|
|
// Pandora FMS - http://pandorafms.com
|
|
// ==================================================
|
|
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas
|
|
// Please see http://pandorafms.org for full contribution list
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU General Public License
|
|
// as published by the Free Software Foundation; version 2
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<title>Pandora FMS - The Flexible Monitoring System - Console error</title>
|
|
<meta http-equiv="expires" content="0">
|
|
<meta http-equiv="content-type" content="text/html; charset=utf8">
|
|
<meta name="resource-type" content="document">
|
|
<meta name="distribution" content="global">
|
|
<meta name="author" content="Sancho Lerena">
|
|
<meta name="copyright" content="This is GPL software. Created by Sancho Lerena and others">
|
|
<meta name="keywords" content="pandora, monitoring, system, GPL, software">
|
|
<meta name="robots" content="index, follow">
|
|
<link rel="icon" href="images/pandora.ico" type="image/ico">
|
|
<link rel="stylesheet" href="include/styles/pandora.css" type="text/css">
|
|
</head>
|
|
<body>
|
|
|
|
<div id="main" style=' width: 80%; margin:0 auto 0 auto;'>
|
|
<div align='center'>
|
|
<div id='login_f'>
|
|
<h1 id="log_f" class="error">Problem with Pandora FMS auth system</h1>
|
|
<div>
|
|
<img src="images/pandora_logo.png" border="0">
|
|
</div>
|
|
<div class="msg">
|
|
Cannot connect to the database, please check your database setup in the <b>include/config.php</b> file or read the documentation on how to setup Pandora FMS.<i><br /><br />
|
|
Probably one or more of your user, database or hostname values are incorrect or
|
|
the database server is not running.</i><br /><br /><span class="error">
|
|
<b>DB ERROR:</b>
|
|
<?php
|
|
echo db_get_last_error();
|
|
?></span>
|
|
</div>
|
|
<div class="msg">
|
|
If you have modified auth system, problem could be because Pandora cannot override authorization variables from the config database. Remove them from your database by executing:<br><br><pre>DELETE FROM tconfig WHERE token = "auth";</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|