묻고답하기
XE 1.4.5.7 errors after host PHP 5.3 upgrade
2014.11.17 13:22
XE 1.4.5.7을 사용하고 있습니다. 호스트가 PHP 5.3로 업그레이 한 후
Deprecated: Call-time pass-by-reference has been
deprecated in /home/kupck/kupck.org/xe/classes/db/DBMysql.class.php
on line 460
Warning: session_start() [function.session-start]: Cannot send session cookie
- headers already sent by (output started at
/home/kupck/kupck.org/xe/classes/db/DBMysql.class.php:460) in /home/kupck/kupck.org/xe/classes/context/Context.class.php
on line 135
등의 랜딩/홈페이지에 올라옵니다.
XE 초보 사용자 입니다. 자세한 해결 방법을 알려주십쇼. 감사합니다.
I am still using XE 1.4.5.7 on my (church) website. After PHP 5.3 upgrade by host, I am getting
Deprecated: Call-time pass-by-reference has been deprecated in /home/kupck/kupck.org/xe/classes/db/DBMysql.class.phpon line 460
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/kupck/kupck.org/xe/classes/db/DBMysql.class.php:460) in /home/kupck/kupck.org/xe/classes/context/Context.class.php on line 135
on the landing/home page.
How can I fix this? I am a (very) novice user and step-by-step/detailed instructions would be greatly appreciated.
댓글 5
-
기진곰
2014.11.17 14:12
-
KCEli
2014.11.17 14:38
감사합니다. config.inc.php 수정후 아래의 것들이 올라옵니다.
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /home/kupck/kupck.org/xe/classes/context/Context.class.php on line 233
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/kupck/kupck.org/xe/index.php:47) in /home/kupck/kupck.org/xe/classes/context/Context.class.php on line 135또 suppress 할 것이 있습니까?
감사합니다.After the above config.inc.php update, I am now getting:
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /home/kupck/kupck.org/xe/classes/context/Context.class.php on line 233
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/kupck/kupck.org/xe/index.php:47) in /home/kupck/kupck.org/xe/classes/context/Context.class.php on line 135
Can you think of other suppressions I need to supply?
Thanks !! -
YJSoft
2014.11.17 14:41
Xzet로 업데이트해보세요.(해당 문제들을 수정한 1.4 버전대 보안패치입니다.)
업데이트 전 백업하셔야 합니다.
https://github.com/Xzet/Xzet-core/releases/tag/1.4.5.24.beta2
-
KCEli
2014.11.17 15:15
감사합니다.
-
KCEli
2014.11.17 14:52
I added
~E_STRICT
in config.inc.php and I am now getting clean display !!
Thanks.
config/config.inc.php 맨 윗부분에 @error_reporting(E_ALL ^ E_NOTICE); 라는 부분을 찾아
E_ALL ^ E_NOTICE ^ E_STRICT ^ E_DEPRECATED 로 바꿔주세요.
그나저나 이 글은 묻고답하기 게시판으로 옮기셔야 할듯.