Hi, I installed OCS version 2.2.1 on an Ubuntu server, it happens that when I try to access http: // ServerIP / ocsreports the following screen appears:
<? Php
// ================================================ ====================================
// OCS INVENTORY REPORTS
// Copyleft Erwan GOALOU 2010
// Web:
http://www.ocsinventory-ng.org
//
// This code is open source and may be copied and modified the long to the source
// Code is always made freely available.
// Please refer to the General Public License
http://www.gnu.org/ or license.txt
// ================================================ ====================================
require ( "require / fichierConf.class.php");
// Before session_start to objects to be allow unserialized from session
require_once ( 'require / menu / include.php');
require_once ( 'require / config / include.php');
@session_start ();
// Magic Quotes:
// This feature Has Been deprecated as of PHP 5.3 and deleted as of PHP 5.4.
if (get_magic_quotes_gpc ()) {
magicQuotes_awStripslashes function (& $ value, $ key) {$ value = stripslashes ($ value);}
$ Gpc = array (& $ _ GET, & $ _ POST, & $ _ COOKIE, & $ _ REQUEST);
array_walk_recursive ($ gpc 'magicQuotes_awStripslashes');
}
$ Sleep = 1;
$ Microtime debut = (true);
define ( 'AJAX', false);
require ( 'require / header.php');
addLog ( 'PAGE', $ protectedGet [PAG_INDEX]);
if (! isset ($ protectedGet [ "popup"]) &&! isset ($ protectedGet [ "no_footer"]))
require (FOOTER_HTML);
Could anyone help me solve this problem?
Thank you!