Если Вы обновили PHP с версии 5.3.x до версии 5.4.x и выше, то у Вас вероятнее всего, может возникнуть ошибка с известным компонентом файлового менеджера для Joomla под названием extplorer.
Во первых, при установке extplorer-а Вы увидите вот такие ошибки:
Strict Standards: Non-static method extArchive::extract() should not be called statically in .../administrator/components/com_extplorer/install.extplorer.php on line 34
Strict Standards: Non-static method extFile::getExt() should not be called statically in .../administrator/components/com_extplorer/libraries/Archive/archive.php on line 36
Strict Standards: Non-static method extFile::stripExt() should not be called statically in .../administrator/components/com_extplorer/libraries/Archive/archive.php on line 38
Strict Standards: Non-static method extFile::getExt() should not be called statically in .../administrator/components/com_extplorer/libraries/Archive/archive.php on line 38
Strict Standards: Non-static method PEAR::isError() should not be called statically in .../administrator/components/com_extplorer/install.extplorer.php on line 35
Во вторых, при запуске extplorer-а в административной панели Joomla Вы будете видеть вот такие ошибки вместо файлового менеджера программы:
Strict Standards: Only variables should be assigned by reference in .../plugins/system/stopkids/stopkids.php on line 15
Strict Standards: Non-static method SearchAdvancedConfigHelper::component() should not be called statically, assuming $this from incompatible context in .../plugins/system/ascore/ascore.php on line 86
Strict Standards: Only variables should be assigned by reference in .../administrator/components/com_searchadvanced/helpers/config.php on line 50
Strict Standards: Only variables should be assigned by reference in .../plugins/system/socbuttons/socbuttons.php on line 66
Strict Standards: Only variables should be assigned by reference in .../plugins/system/socbuttons/socbuttons.php on line 67
Strict Standards: Non-static method ext_Lang::detect_lang() should not be called statically in .../administrator/components/com_extplorer/include/init.php on line 103
Strict Standards: Non-static method ext_Result::init() should not be called statically in .../ecolora.com/administrator/components/com_extplorer/admin.extplorer.php on line 98
Strict Standards: Non-static method ext_Result::empty_errors() should not be called statically in .../ecolora.com/administrator/components/com_extplorer/include/result.class.php on line 40
Strict Standards: Non-static method ext_Result::empty_messages() should not be called statically in .../administrator/components/com_extplorer/include/result.class.php on line 41
Strict Standards: Declaration of ext_List::execAction() should be compatible with ext_Action::execAction($dir, $item) in Unknown on line 0
Srict Standards: Non-static method extHTML::loadExtJS() should not be called statically, assuming $this from incompatible context in .../administrator/components/com_extplorer/include/list.php on line 374
Решение, на самом деле простое:
В файле administrator/components/com_extplorer/admin.extplorer.php находите строки:
if( defined( 'E_STRICT' ) ) { // Suppress Strict Standards Warnings
error_reporting(E_ALL);
}
и меняете их на:
if( defined( 'E_STRICT' ) ) { // Suppress Strict Standards Warnings
error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE);
}
Должно помочь. Удачных Вам проектов!
Comments
RSS feed for comments to this post