xe1.54 에서 php5.3 잘쓰다가 서버이전이후에 php5.6 업데이트이후에 무차별 에러폭격 맞았습니다 ㅜㅜㅜ

 

밑에 에러 메세지 이고요

 

php.56으로 계속 쓰렴 어떻게해야하나요?

 

아님 다시 다운그레이드해야하즌지요?

사실 opcache 쓸수있다가 업데이트했다가 낭패네요 ㅜㅜ

쓸수있다면 어떻게하면될까요?

 

 

PHP 5.3.3 이떈 잘썼다가
 

PHP 5.6.30 업데이트된서버이전부터 밑에 에러뜹니다

 

---- 에러메세지 ====================================


Strict Standards: Declaration of ModuleObject::setMessage() should be compatible with Object::setMessage($message = 'success') in /home/test.com/httpdocs/classes/module/ModuleObject.class.php on line 0

Strict Standards: Declaration of Mail::addAttachment() should be compatible with PHPMailer::AddAttachment($path, $name = '', $encoding = 'base64', $type = 'applicatio...') in /home/test.com/httpdocs/classes/mail/Mail.class.php on line 17

Strict Standards: Non-static method Context::getInstance() should not be called statically in /home/test.com/httpdocs/index.php on line 54

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 141

Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /home/test.com/httpdocs/config/func.inc.php on line 97

Strict Standards: Non-static method ModuleHandler::_getModuleFilePath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 738

Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 791

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 794

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 811

Strict Standards: Non-static method Context::loadLang() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 764

Strict Standards: Non-static method Context::getInstance() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 595

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 141

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method CacheFile::getInstance() should not be called statically in /home/test.com/httpdocs/classes/cache/CacheHandler.class.php on line 69

Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /home/test.com/httpdocs/config/func.inc.php on line 97

Strict Standards: Non-static method ModuleHandler::_getModuleFilePath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 738

Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 791

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 794

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 811

Strict Standards: Non-static method Context::loadLang() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 764

Strict Standards: Non-static method Context::getInstance() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 595

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 141

Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /home/test.com/httpdocs/config/func.inc.php on line 97

Strict Standards: Non-static method ModuleHandler::_getModuleFilePath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 738

Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 791

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 794

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 811

Strict Standards: Non-static method Context::loadLang() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 764

Strict Standards: Non-static method Context::getInstance() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 595

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 141

Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /home/test.com/httpdocs/config/func.inc.php on line 97

Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /home/test.com/httpdocs/config/func.inc.php on line 97

Strict Standards: Non-static method ModuleHandler::_getModuleFilePath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 738

Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 791

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 794

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 811

Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /home/test.com/httpdocs/config/func.inc.php on line 97

Strict Standards: Non-static method Context::loadLang() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 764

Strict Standards: Non-static method Context::getInstance() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 595

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 141

Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /home/test.com/httpdocs/config/func.inc.php on line 97

Strict Standards: Non-static method ModuleHandler::_getModuleFilePath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 738

Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 791

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 794

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 811

Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /home/test.com/httpdocs/config/func.inc.php on line 97

Strict Standards: Non-static method Context::loadLang() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 764

Strict Standards: Non-static method Context::getInstance() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 595

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 141

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: array_walk() expects parameter 2 to be a valid callback, non-static method Context::checkConvertFlag() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 744

Strict Standards: Only variables should be passed by reference in /home/test.com/httpdocs/classes/context/Context.class.php on line 745

Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /home/test.com/httpdocs/config/func.inc.php on line 97

Strict Standards: Non-static method ModuleHandler::_getModuleFilePath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 738

Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 791

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 794

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 811

Strict Standards: Non-static method Context::loadLang() should not be called statically in /home/test.com/httpdocs/classes/module/ModuleHandler.class.php on line 764

Strict Standards: Non-static method Context::getInstance() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 595

Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /home/test.com/httpdocs/classes/context/Context.class.php on line 141

  • profile

    Strict Standards 에러는 무시하셔도 됩니다. XE 최신 버전의 config/config.inc.php 파일 윗부분에 PHP 5.4 이상에서 최신 버전까지 대응하는 error_reporting 설정이 있으니 그걸 복사해서 쓰세요. 그러면 불필요한 에러가 나오지 않습니다.

     

    PHP 5.6이라면 HTTP_RAW_POST_DATA 관련해서도 문제가 있을 수 있습니다. XE 최신 버전의 classes/context/Context.class.php 파일을 구해서 HTTP_RAW_POST_DATA를 검색해 보세요. init 함수 맨 위에 10줄 정도가 PHP 5.6에 대응하는 코드입니다. 이것도 복사해서 넣으셔야 할 거예요. 안 그러면 글이 안 써집니다 ㅜ.ㅜ

     

    Strict Standards, Deprecated 등 불필요한 에러를 다 숨겨버리고 나면 진짜 심각한 에러가 나타날지도 모릅니다. 이건 고치셔야죠...

  • profile ?

    기진곰님 먼저 도움 감사합니다
    일단 저도 검색을 해봤었는데요

    일단 기진곰님 말씀듣고

    config.inc.php 최신에있는

     

    if(version_compare(PHP_VERSION, '5.4.0', '<'))
    {
        @error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING);
    }
    else
    {
        @error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING ^ E_STRICT);
    }

     

    맨위에넣었고요 
    예전에 기진곰님께서 답변으로
    php.ini에서 always_populate_raw_post_data = -1 라고하신글이있어서 그렇게
    도했습니다

     


    그런데 그리고나선

     

    아무것도 안떠요 백지 ㅜㅜ

     

    참고로 예전에도 지금 새로옮긴서버도 nginx로 되있습니다

     

  • profile ?
    그리고 추가로 말씀하셨던
    XE 최신 버전의 classes/context/Context.class.php init 함수 맨 위에 10줄 정도가 PHP 5.6에 대응하는 코드가

    이밑에 있는거 를 저의 context/Context.class.php 의 function init()
    { init 함수 안에 집어넣으시라는 말씀인거 맞는건가요?

    그래도 500에러 뜨네요 ㅜㅜ

    그런데


    ===기진곰님이 복사해서 넣으라는 밑의 내용이 맞는건지요?==================

    // fix missing HTTP_RAW_POST_DATA in PHP 5.6 and above
    if(!isset($GLOBALS['HTTP_RAW_POST_DATA']) && version_compare(PHP_VERSION, '5.6.0', '>=') === TRUE)
    {
    $GLOBALS['HTTP_RAW_POST_DATA'] = file_get_contents("php://input");

    // If content is not XML JSON, unset
    if(!preg_match('/^[\<\{\[]/', $GLOBALS['HTTP_RAW_POST_DATA']) && strpos($_SERVER['CONTENT_TYPE'], 'json') === FALSE && strpos($_SERVER['HTTP_CONTENT_TYPE'], 'json') === FALSE)
    {
    unset($GLOBALS['HTTP_RAW_POST_DATA']);
    }
    }

    =================================================




    config.inc.php 최신에있는

    if(version_compare(PHP_VERSION, '5.4.0', '<'))
    {
    @error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING);
    }
    else
    {
    @error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING ^ E_STRICT);
    }

    넣어서인지 에러메세지는 안뜨고 500에러만 여전히 뜹니다 ㅜㅜ
  • ? profile

    해당 소스는 맞습니다.

     

    500 에러가 뜬다면 어디가 문제인지 서버의 에러 로그에 나올 거예요. 에러 로그 확인하세요.

    (아까 Strict Standards는 에러 로그가 아니라 화면에 떴나요?)

     

    그리고 두 가지 동시에 수정하지 말고 하나씩만 해보세요.

  • profile ?

    기진곰님 다시한번 답변감사합니다
    제가 직접하는건아니고 회사에서 만든 사이트라서 그런데요

    이걸 빨리 못하면
    php 원래 5.3 다운그레이드 해야하는데요 ㅜㅜ

    그런데 원래 opcache까지 정도는 xe가 전 당연히 커버할 즐알고
    5.5 이상 5.6d이하만 세팅해 놓음 제가 할수있다고해서...
    제가좀 난감한상태인데요 ㅜㅜ


    다운그레이드 php 5.5 로해도 안될까요?


    그런데 기진곰님 말씀하신 내용중에 최신 1.8
    XE 최신 버전의 classes/context/Context.class.php 안에있는 부분을

    저의
    ===============================
    function init(

    -> 이곳에 집어넣으시라는 이야기 맞는건지요?
    )
    ==================================

    즉 저의 현재 classes/context/Context.class.php 기진곰님의 말씀 넣으라는부분이 맞는건지요?
    저도 초짜라서 이런질문드리오니 양해구합니다 ㅜㅜ

    =====================================
    function init(

    // fix missing HTTP_RAW_POST_DATA in PHP 5.6 and above
    if(!isset($GLOBALS['HTTP_RAW_POST_DATA']) && version_compare(PHP_VERSION, '5.6.0', '>=') === TRUE)
    {
    $GLOBALS['HTTP_RAW_POST_DATA'] = file_get_contents("php://input");

    // If content is not XML JSON, unset
    if(!preg_match('/^[\<\{\[]/', $GLOBALS['HTTP_RAW_POST_DATA']) && strpos($_SERVER['CONTENT_TYPE'], 'json') === FALSE && strpos($_SERVER['HTTP_CONTENT_TYPE'], 'json') === FALSE)
    {
    unset($GLOBALS['HTTP_RAW_POST_DATA']);
    }
    }




    )
    ===========================================

  • ? profile

    아하! 그게 문제였군요.

    function init()
    {
        여기다가 집어넣어야 합니다.

        원래 여기에 내용이 있습니다.
    }

  • profile ?
    기진곰님 답변감사합니다
    그런데 그렇게 말씀하신대로 해서
    에러는 안뜨는데

    캐쉬재설정 하면 백지화되고 seq=0 값스로 자꾸 입력되더라고요 ㅜㅜ

    https://xetown.com/qna/616279

    여기글 한번 좀 봐주심 감사할게요 ㅜㅜ