index.php errore

  • Creatore Discussione Creatore Discussione avatar
  • Data di inizio Data di inizio

avatar

Utente Attivo
3 Gen 2017
97
0
6
55
buon giorno a tutti la index.php non funziona e il sito lo vedo tutto bianco
PHP:
<?php

// ----------------------------------------------------------------------------
//
// index.php - OpenHublist.org Script
//
// Description:
//   The script allows easy management over ADC and NMDC hubs
//
// Author:
//   Stanculescu Catalin
// 
// Copyright:
//   This script can not be edited or redistributed without author's permission.
//   This script can only be used with a valid licence.
//   In order to use this script go to /purchase
//
// Warning:
//   The script should not have unexpected results. However, if any damage
//    is caused by this class the author can not be responsible. The use of
//    this class is at the risk of the user.
//
// Requirements:
//   PHP >= 5.0 built with mysql , sockets , gd , bzip2 and  mbstring
//
// ----------------------------------------------------------------------------
//error_reporting(E_ALL);

header('content-type: text/html; charset=UTF-8');
session_start();

ob_start();

require_once($_SERVER['DOCUMENT_ROOT']."/includes/config.php");

if ( ALLOW_ACCESS  == 'allow_ip') {
 $array = explode(" " , ALLOW_IP);
 if (!in_array($_SERVER['REMOTE_ADDR'] , $array)){
  include 'pages/offline.php';
  die();
 }
}
if ( ALLOW_ACCESS == 'deny_all'){
 include 'pages/offline.php';
 die();
}

require_once($_SERVER['DOCUMENT_ROOT']."". DIRECTORY_PATH . "includes/core.php");

//$Main->checkInstall();

if (!isset($_GET['page'])) {
 $current_page = 'home';
}else{
 $current_page = $_GET['page'];
}

$metainfo = $Meta->getMetaFromPage($current_page);

$Meta->title = $metainfo[0];
$Meta->description = $metainfo[1];
$Meta->keywords = $metainfo[2];
$Meta->keystrokes = $metainfo[3];

$time = date('Y-m-d H:i:s');


?>
mi potete aiutare per favore ?
 
Ultima modifica di un moderatore:
@avatar
Già altre volte ti go detto che:
Da regolamento del forum, come tutti noi sei tenuto ad usare il tag
code.gif
o il tag
php.png
per il PHP, quando posti del codice, oppure la funzione codice dalla barra degli strumenti
box inserisci 2.png.JPG

Inoltre ti prego di leggere attentamente il regolamento generale del forum e quello di sezione dove posti
Grazie
Per questa volta te lo sistemo io ma mi raccomando per il futuro
 
non sono tanto bravo con i forum , comunque e possibile qualcuno che mi aiuti a sistemare questo codice
 

Discussioni simili