묻고답하기
php 버전과 xe 버전이 달라서 생기는 오류 해결좀 해주세요.
2015.07.21 13:42
Strict Standards: Non-static method Context::getInstance() should not be called statically in /host/home/jungbubwiki/html/index.php on line 47
Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /host/home/jungbubwiki/html/config/func.inc.php on line 84
Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 328
Strict Standards: Non-static method Context::loadLang() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 403
Strict Standards: Non-static method Context::getInstance() should not be called statically in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 510
Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /host/home/jungbubwiki/html/config/func.inc.php on line 84
Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 328
Strict Standards: Non-static method Context::loadLang() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 403
Strict Standards: Non-static method Context::getInstance() should not be called statically in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 510
Strict Standards: Non-static method Context::isInstalled() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 32
Strict Standards: Non-static method Context::getConfigFile() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1518
Strict Standards: Non-static method Context::get() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 34
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1071
Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /host/home/jungbubwiki/html/config/func.inc.php on line 84
Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 328
Strict Standards: Non-static method Context::loadLang() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 403
Strict Standards: Non-static method Context::getInstance() should not be called statically in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 510
Strict Standards: Non-static method Context::get() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 75
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1071
Warning: Creating default object from empty value in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 147
Strict Standards: Non-static method Context::isInstalled() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 434
Strict Standards: Non-static method Context::getConfigFile() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1518
Strict Standards: Non-static method Context::getLang() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/object/Object.class.php on line 47
Strict Standards: Non-static method Context::getLang() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/object/Object.class.php on line 47
Strict Standards: Non-static method Context::set() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 164
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1055
Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /host/home/jungbubwiki/html/config/func.inc.php on line 84
Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 328
Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/modules/module/module.model.php on line 414
Strict Standards: Non-static method Context::getLangType() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/modules/module/module.model.php on line 422
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 558
Strict Standards: Non-static method Context::loadLang() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 403
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 510
Strict Standards: Non-static method Context::get() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleObject.class.php on line 87
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1071
Strict Standards: Non-static method Context::get() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleObject.class.php on line 88
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1071
Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /host/home/jungbubwiki/html/config/func.inc.php on line 84
Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 328
Strict Standards: Non-static method Context::get() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleObject.class.php on line 94
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1071
Warning: Creating default object from empty value in /host/home/jungbubwiki/html/modules/module/module.model.php on line 1146
Strict Standards: Non-static method Context::set() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleObject.class.php on line 131
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1055
Strict Standards: Non-static method Context::isInstalled() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/modules/install/install.view.php on line 20
Strict Standards: Non-static method Context::getConfigFile() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1518
Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /host/home/jungbubwiki/html/config/func.inc.php on line 84
Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 328
Strict Standards: Non-static method Context::loadLang() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 403
Strict Standards: Non-static method Context::getInstance() should not be called statically in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 510
Strict Standards: Non-static method Context::set() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/modules/install/install.controller.php on line 197
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1055
Strict Standards: Non-static method Context::set() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/modules/install/install.controller.php on line 198
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1055
Strict Standards: Non-static method FileHandler::makeDir() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/modules/install/install.controller.php on line 216
Strict Standards: Non-static method FileHandler::makeDir() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/modules/install/install.controller.php on line 216
Strict Standards: Non-static method FileHandler::makeDir() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/modules/install/install.controller.php on line 216
Strict Standards: Non-static method FileHandler::makeDir() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/modules/install/install.controller.php on line 216
Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /host/home/jungbubwiki/html/config/func.inc.php on line 84
Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 328
Strict Standards: Non-static method Context::loadLang() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 403
Strict Standards: Non-static method Context::getInstance() should not be called statically in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 510
Strict Standards: Non-static method Context::get() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/modules/addon/addon.controller.php on line 21
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1071
Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /host/home/jungbubwiki/html/config/func.inc.php on line 84
Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 328
Strict Standards: Non-static method Context::set() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleObject.class.php on line 260
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1055
Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/modules/install/install.view.php on line 34
Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /host/home/jungbubwiki/html/config/func.inc.php on line 84
Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 328
Strict Standards: Non-static method Context::get() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/modules/addon/addon.controller.php on line 21
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1071
Strict Standards: Non-static method Context::getResponseMethod() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleObject.class.php on line 343
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 659
Strict Standards: Non-static method Context::getResponseMethod() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleObject.class.php on line 343
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 659
Strict Standards: Only variables should be assigned by reference in /host/home/jungbubwiki/html/index.php on line 56
Strict Standards: Non-static method Context::isInstalled() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 434
Strict Standards: Non-static method Context::getConfigFile() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1518
Strict Standards: Non-static method Context::getLang() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/object/Object.class.php on line 47
Strict Standards: Non-static method Context::getLang() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/object/Object.class.php on line 47
Strict Standards: Non-static method Context::getRequestMethod() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/module/ModuleHandler.class.php on line 246
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 816
Strict Standards: Non-static method Context::get() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/display/DisplayHandler.class.php on line 34
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1071
Strict Standards: Non-static method Context::getRequestMethod() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/display/DisplayHandler.class.php on line 35
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 816
Strict Standards: Non-static method Context::getRequestMethod() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/display/DisplayHandler.class.php on line 39
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 816
Strict Standards: Non-static method TemplateHandler::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/display/DisplayHandler.class.php on line 272
Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/template/TemplateHandler.class.php on line 53
Strict Standards: Non-static method CacheHandler::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/template/TemplateHandler.class.php on line 58
Strict Standards: Non-static method Context::getDBInfo() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/cache/CacheHandler.class.php on line 19
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 296
Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/template/TemplateHandler.class.php on line 70
Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/template/TemplateHandler.class.php on line 109
Strict Standards: Non-static method Context::getResponseMethod() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/display/DisplayHandler.class.php on line 43
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 659
Strict Standards: Non-static method Context::get() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/display/DisplayHandler.class.php on line 46
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1071
Strict Standards: Non-static method Context::get() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/display/DisplayHandler.class.php on line 46
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1071
Strict Standards: Non-static method Context::set() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/display/DisplayHandler.class.php on line 49
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1055
Strict Standards: Non-static method TemplateHandler::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/display/DisplayHandler.class.php on line 52
Strict Standards: Non-static method Context::get() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/display/DisplayHandler.class.php on line 55
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home/jungbubwiki/html/classes/context/Context.class.php on line 1071
Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /host/home/jungbubwiki/html/config/func.inc.php on line 84
Strict Standards: Non-static method ModuleHandler::getModulePath() should not be
================================================================================================================================================================================================================
설치 하고자 하는 레이아웃 : https://www.xpressengine.com/index.php?mid=download&package_id=18917848
설치 하고자 하는 xe core : 1.4.2.2
https://www.xpressengine.com/index.php?mid=download&package_id=18325662&release_id=18912915
이유 : 위키 레이아웃을 쓰기 위해서는 꼭 구버전인 1.4.2.2를 써야 레이아웃 오류가 안 생깁니다.
최신 xe 버전은 제가 사용하고자 하는 레이아웃이 오류가 나 버리네요
해결좀 부탁 드립니다.
댓글 7
-
기진곰
2015.07.21 14:58
-
원보드
2015.07.21 16:53
그렇게 메모장으로 고쳤는데 웹사이트 자체를 인식 못 합니다.
-
기진곰
2015.07.21 17:26
넣으면 안 되는 곳에 넣으셨나 봅니다.
-
원보드
2015.07.21 19:21
아니요 님 말씀대로 원래 똑같은 소스가 있는 곳에 고대로 복사 붙여넣기로 업그레이드 시켰어요.
PHP 지식은 없지만 HTML , C언어 지식도 있고 복사 붙여넣기도 못할 정도는 아니에요.
-
기진곰
2015.07.21 19:28
변경사항의 핵심은 E_STRICT (Strict Standards) 에러를 표기하지 않도록 하는 것입니다. 원래 E_STRICT 에러가 아닌 것이 최근의 PHP에서는 E_STRICT 에러로 취급되도록 바뀌었거든요.
소스 수정시 문제가 발생한다면 XE에서 error_reporting 설정을 변경하는 부분을 아예 제거하고, .htaccess나 php.ini를 수정해서 error_reporting에 E_STRICT를 포함하지 않도록 해보세요.
정 문제가 있으면 아예 모든 에러를 표시하지 않도록 display_errors = Off 로 해버리셔도 됩니다.
-
원보드
2015.07.21 20:06
메모장이 아닌 에딧플러스로 님이 첫번째로 알려주신 소스 코드를 수정해서 설치에는 성공 했는데요
요청하신 모듈을 찾을 수 없습니다.
사이트 관리자에게 모듈 점검 요청 바랍니다이젠 여기서 막히네요..
여기서 로그아웃도 안 되고 아무것도 안 되네요
-
기진곰
2015.07.21 20:19
Strict 에러가 발생하는 것 외에도, 다른 부분에 호환성 문제가 있나 봅니다.
XE 코어는 에러 리포팅 설정만 바꾸면 그럭저럭 쓸만할 텐데, XE 1.4.x 시절에 만들어진 모듈이 PHP 최근 버전과는 호환되지 않는 것일 수도 있어요.
XE 최신 버전은 PHP 5.4 이상의 에러 설정에 대응하는 코드가 있지만, 구 버전은 그게 없어서 생기는 문제입니다.
config 폴더에서 config.inc.php 파일을 찾아, 윗부분 적당한 곳에 아래의 내용을 넣어주세요. 만약 비슷한 내용이 있다면 아래의 내용으로 교체하시면 됩니다.
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING ^ E_STRICT);