pandorafms/pandora_console/general/error_noconfig.php

68 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= <?php echo '"images/pandora.ico"' ?> type="image/ico">
<link rel="stylesheet" href= <?php echo '"include/styles/pandora.css"' ?> type="text/css">
</head>
<body>
<img src="images/login_background.png" id="login_body">
<div class="databox_logout" id="login">
<br>
<h1 id="log">No configuration file found</h1>
<br>
<div style="width: 440px; margin: 0 auto auto;">
<table cellpadding="4" cellspacing="1" width="440">
<tr><td align="left">
<a href="index.php"><img src= <?php echo '"images/pandora_login.png"' ?> border="0" height="100px" alt="Pandora FMS"></a>
</td><td valign="bottom">
<br><br>Pandora FMS Console cannot find <i>include/config.php</i> or this file has invalid
permissions and HTTP server cannot read it. Please read documentation to fix this problem.
<div class="msg">
You may try to run the <b><?php
if (file_exists('install.php'))
echo '<a href="install.php">installation wizard</a>';
else
echo 'installation wizard'; ?></b> to create one.
</div>
</td></tr>
</table>
</div>
<br>
</div>
<div id="bottom_logo">
<img src='images/bottom_logo.png' "alt" = "logo" "border" = "0">
</div>
</body>
</html>