发新话题
打印

安裝好後台出現訊息

安裝好後台出現訊息

大家好

這是我安裝好後...後台就出現的訊息

請問該如何解決...謝謝



以下為我的系統安裝信息
-----------------------------------------------------------------------------
PHP系統環境:  Linux zagnut 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+tg+++opt+c8+gr2b-v6.194 #1 SMP Tue Jun 6 15:52:09 PDT 2006 i686  
數據庫版本:  5.0.18-standard-log  
PHP版本:  4.4.2  
Web服務器:  Apache/1.3.37 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.2 mod_ssl/2.8.22 OpenSSL/0.9.7e  
Web服務器和PHP的接口:  cgi  
Mambo 版本:  Mambo 4.5.4 Stable SP2 [ Sani ] 31-August-2006 10:00 GMT  
客戶端:  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)  

TOP

globals.php 总共才43行,怎么会在第 52 行出错?

TOP

43 行 ??
我把我這檔案的數據貼出來給您看看
--------------------------------------------------------
<?php
/**
* @version $Id: globals.php,v 1.6 2005/11/26 00:43:58 csouza Exp $
* @package Mambo
* @copyright (C) 2000 - 2005 Miro International Pty Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Mambo is Free Software
*/


// reads configuration.php for mosConfig_register_globals
function config_register_globals() {
    static $register_globals;
    if (is_null($register_globals)) {
        $config = implode(",", file(dirname(__FILE__).DIRECTORY_SEPARATOR.'configuration.php'));
        preg_match('/\$mosConfig_register_globals\s*=\s*\'([0-1]?)\'/', $config, $matches);
        $register_globals = isset($matches[1]) ? (int) $matches[1] : 1;
    }
    return $register_globals;
}

// get mosConfig_register_globals
$config_register_globals = config_register_globals();

// superglobals array
$superglobals = array($_SERVER, $_ENV, $_FILES, $_COOKIE, $_POST, $_GET);
if (isset($_SESSION)) array_unshift ($superglobals , $_SESSION);

// Emulate register_globals on
if (!ini_get('register_globals') && $config_register_globals) {
   foreach ($superglobals as $superglobal) {
       extract($superglobal, EXTR_SKIP);
   }
}
// Emulate register_globals off
elseif (ini_get('register_globals') && !$config_register_globals) {
   foreach ($superglobals as $superglobal) {
       foreach ($superglobal as $key => $value) {
           unset($GLOBALS[$key]);
       }
   }
}
?>als off
elseif (ini_get('register_globals') && !$config_register_globals) {
   foreach ($superglobals as $superglobal) {
       foreach ($superglobal as $key => $value) {
           unset($GLOBALS[$key]);
           unset( $GLOBALS[$key]);
       }
   }
}
?>
---------------------------------

共52行 ??

謝謝

[ 本帖最后由 cupid 于 2006-11-6 22:28 编辑 ]

TOP

已將問題移動至

Mambo使用交流區去

感謝回答幫忙

[ 本帖最后由 cupid 于 2006-11-7 09:17 编辑 ]

TOP

发新话题