정보&강의 FastCGI sent in stderr: "PHP message: checkUpdate" while reading response header from upstream,
- 운영자
- 157
- 0
FastCGI sent in stderr: "PHP message: checkUpdate" while reading response header from upstream,
Nginx error log 에 이런 메시지가 출력된다.
유독 관리자 화면에서만 2~3일간 나오니깐 여긴 신경쓰이는게 아니다.
시간내서 원인을 찾다보니, 새글 메일발송 모듈에서 문제가 발생된 것이다.
원래는 2012년도에 만들어진 모듈인데 최근 변경된 XE 정책에 어긋난 문법이 사용된 것 같다.
어차피 업데이트는 안되는 상황이니 그냥 최근 문법으로 변경한다.
./modules/newposts/newposts.class.php 파일을 수정한다.
// 원래 소스 // function checkUpdate() // { // error_log('checkUpdate'); // $oDB = &DB::getInstance(); // $oModuleModel = &getModel('module'); // $oModuleController = &getController('module'); // // // Document Registration Trigger // if (!$oModuleModel->getTrigger('document.insertDocument', 'newposts', 'controller', 'triggerInsertDocument', 'after')) // { // return true; // } // // // 2012.03.06 add newposts_config.sender_name // if(!$oDB->isColumnExists("newposts_config","sender_name")) return true; // // 2012.03.06 add newposts_config.sender_email // if(!$oDB->isColumnExists("newposts_config","sender_email")) return true; // // // 2014.06.16 add newposts_config.sender_phones // if(!$oDB->isColumnExists("newposts_config","sender_phone")) return true; // // // 2015. 06. 09 add newposts_config.sms_method // if(!$oDB->isColumnExists("newposts_config","sms_method")) return true; // // 2015. 06. 09 add newposts_config.time_switch // if(!$oDB->isColumnExists("newposts_config","time_switch")) return true; // // 2015. 06. 09 add newposts_config.time_start // if(!$oDB->isColumnExists("newposts_config","time_start")) return true; // // 2015. 06. 09 add newposts_config.time_end // if(!$oDB->isColumnExists("newposts_config","time_end")) return true; // // 2015. 06. 09 add newposts_config.reserv_switch // if(!$oDB->isColumnExists("newposts_config","reserv_switch")) return true; // // // 2015. 06. 12 add newposts_config.selected_days // if(!$oDB->isColumnExists("newposts_config","selected_days")) return true; // // // 2016/03/17 // if(!$oDB->isColumnExists("newposts_config","sender_key")) return true; // // 2016/03/17 // if(!$oDB->isColumnExists("newposts_config","template_code")) return true; // // return false; // } // 추가된 소스 function checkUpdate() { return false; }
이런 글도 찾아보세요!
댓글 0
권한이 없습니다. 로그인