2016-09-13 6 views
3

Typo3 7.6을 실행하고 있으며 어리석게도 내 사이트에서 연장 코드를 사용해 보았습니다. 하나의 오류가있어 확장 프로그램을 제거하려고 시도했지만 상황이 더욱 악화되었습니다. 이제 전체 시스템이 오류가 앞면과 뒷면에서 추락 :확장 프로그램을 설치 한 후 Typo3이 다운 됨 : 구문 분석 오류 : 구문 오류

Parse error: syntax error, unexpected '=' in /html/typo3/typo3_src-7.6.10/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php on line 1654

그것은 나를이 정보를 어떻게 원하는 것을 확실하지.

여기 내 코드는 라인 1654에 ExtensionManagementUtility.php에 있어요 :

/** 
* Execute ext_localconf.php files from extensions 
* 
* @return void 
*/ 
protected static function loadSingleExtLocalconfFiles() 
{ 
    // This is the main array meant to be manipulated in the ext_localconf.php files 
    // In general it is recommended to not rely on it to be globally defined in that 
    // scope but to use $GLOBALS['TYPO3_CONF_VARS'] instead. 
    // Nevertheless we define it here as global for backwards compatibility. 
    global $TYPO3_CONF_VARS; 
    foreach ($GLOBALS['TYPO3_LOADED_EXT'] as $_EXTKEY => $extensionInformation) { 
     if ((is_array($extensionInformation) || $extensionInformation instanceof \ArrayAccess) && isset($extensionInformation['ext_localconf.php'])) { 
      // $_EXTKEY and $_EXTCONF are available in ext_localconf.php 
      // and are explicitly set in cached file as well 
      $_EXTCONF = isset($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]) ? $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY] : null; 
      require $extensionInformation['ext_localconf.php']; 
     } 
    } 
} 

어떻게이 혼란에서받을 수 있나요?

답변