bonsoir a tous
je suis débutent sur cati c'est ma première fois de installer et je suis bloquer au niveau de l"affichage de l'interface web
bref quand fais http://adresse du serveur/cacti/ voilà ce que j'obtient
<?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2020 The Cacti Group |
| |
| 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; either version 2 |
| of the License, or (at your option) any later version. |
| |
| 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. |
+-------------------------------------------------------------------------+
| Cacti: The Complete RRDtool-based Graphing Solution |
+-------------------------------------------------------------------------+
| This code is designed, written, and maintained by the Cacti Group. See |
| about.php and/or the AUTHORS file for specific developer information. |
+-------------------------------------------------------------------------+
| http://www.cacti.net/ |
+-------------------------------------------------------------------------+
*/
include('./include/auth.php');
top_header();
api_plugin_hook('console_before');
function render_external_links($style = 'FRONT') {
global $config;
$consoles = db_fetch_assoc_prepared('SELECT id, contentfile
FROM external_links
WHERE enabled = "on"
AND style = ?', array($style));
if (cacti_sizeof($consoles)) {
foreach($consoles as $page) {
if (is_realm_allowed($page['id'] + 10000)) {
if (preg_match('/^((((ht|f)tp(s?))\:\/\/){1}\S+)/i', $page['contentfile'])) {
print '<iframe class="content" src="' . $page['contentfile'] . '" frameborder="0"></iframe>';
} else {
print '<div id="content">';
comment faire partir ce message s'il vous plait quelqu'un peut m'aider ?
Cacti interface displays PHP Code
Moderators: Developers, Moderators
Re: cacti
Looks like you either didn't install PHP, or you didn't configure your webserver to properly display PHP.
Who is online
Users browsing this forum: No registered users and 2 guests