2
모든 웹 페이지에서 치명적인 오류 apperead :젠토 - 치명적인 오류 : 클래스 'Mage_Http : _Helper'
public static function helper($name)
{
if (strpos($name, '/') === false) {
$name .= '/data';
}
$registryKey = '_helper/' . $name;
if (!self::registry($registryKey)) {
$helperClass = self::getConfig()->getHelperClassName($name);
self::register($registryKey, new $helperClass);
}
return self::registry($registryKey);
}
라인 521 :
Fatal error: Class 'Mage_Http:_Helper' not found in /web/htdocs/www.dolcefuoco.com/home/app/Mage.php on line 521
오류가 아래의 기능과 관련이 입니다 :
: 로그 경고 아래self::register($registryKey, new $helperClass);
691,363,210
2012-11-26T22:27:10+00:00 ERR (3): Warning: include(Mage/Http:/Helper.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /web/htdocs/www.dolcefuoco.com/home/lib/Varien/Autoload.php on line 93
2012-11-26T22:27:10+00:00 ERR (3): Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'Mage/Http:/Helper.php' for inclusion (include_path='/web/htdocs/www.dolcefuoco.com/home/app/code/local:/web/htdocs/www.dolcefuoco.com/home/app/code/community:/web/htdocs/www.dolcefuoco.com/home/app/code/core:/web/htdocs/www.dolcefuoco.com/home/lib:.:/php5/lib/php/') in /web/htdocs/www.dolcefuoco.com/home/lib/Varien/Autoload.php on line 93
그리고 여기에 문제가 만드는 autoload.php 기능 :
* Register SPL autoload function
*/
static public function register()
{
spl_autoload_register(array(self::instance(), 'autoload'));
}
/**
* Load class source code
*
* @param string $class
*/
public function autoload($class)
{
if ($this->_collectClasses) {
$this->_arrLoadedClasses[self::$_scope][] = $class;
}
if ($this->_isIncludePathDefined) {
$classFile = $class;
} else {
$classFile = str_replace(' ', DIRECTORY_SEPARATOR, ucwords(str_replace('_', ' ', $class)));
}
$classFile.= '.php';
//echo $classFile;die();
return include $classFile;
}
라인 93은 다음과 같습니다
return include $classFile;
내가 그것을 해결하기 위해 무엇을 할 수 있습니까? 모든 제안은 매우 높이 평가됩니다, 사이트가 다운되었습니다 !!
변경 사항은 무엇입니까? –
태그 모듈을 비활성화하고 Mage_Admin을 잘못 비활성화했습니다. 저장 버튼을 클릭 한 후에 만 Mage_admin을 비활성화했음을 알았습니다. 일단 사이트가 종료되었습니다. 그런 다음 다시 활성화했습니다. 그러나 아무 일도 일어나지 않았습니다. 이 Mage_admin이 영향을 미치는지 아닌지는 모르겠지만이 편집 이후에 일어난 모든 일은 내가 알지 못합니다. – mayamale
다른 일이 진행 중입니다. 'Mage_Admin'을 비활성화하면 사이트가 다운되지 않습니다. 그리고 버전에 따라'Mage_Admin'은 관리자를 비활성화하지 않습니다. 나는 우연히 다른 일이있을 것이라고 생각합니다. 문제를 일으키는 다른 모듈이있을 가능성이 있습니다. 'Mage_Http : _Helper'는'Mage_Core_Helper_Http'에 대한 잘못된 참조입니다. 최근에 설치 한 적이 있습니까? –