포럼
Call-time pass-by-reference off 일때도 동작할수 있어야 되는거 아닌가요?
2011.11.25 13:22
최근 보안설정때문에 Call-time pass-by-reference 를 off로 설정하는 호스팅도 많은데..
Call-time pass-by-reference 가 off로 되어있으면 설치할때부터 에러메세지가 뜨더군요..
에러메세지는 다음과 같습니다.
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/db/DBSqlite2.class.php on line 428
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/db/DBSqlite2.class.php on line 457
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/db/DBSqlite2.class.php:428) in /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/display/DisplayHandler.class.php on line 62
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/db/DBSqlite2.class.php:428) in /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/display/DisplayHandler.class.php on line 240
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/db/DBSqlite2.class.php:428) in /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/display/DisplayHandler.class.php on line 241
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/db/DBSqlite2.class.php:428) in /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/display/DisplayHandler.class.php on line 242
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/db/DBSqlite2.class.php:428) in /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/display/DisplayHandler.class.php on line 243
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/db/DBSqlite2.class.php:428) in /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/display/DisplayHandler.class.php on line 244
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/db/DBSqlite2.class.php:428) in /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/display/DisplayHandler.class.php on line 245
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/db/DBSqlite2.class.php:428) in /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/display/DisplayHandler.class.php on line 77
Warning: Cannot modify header information - headers already sent by (output started at /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/db/DBSqlite2.class.php:428) in /www/110mb.com/m/c/i/t/y/m/e/1/mcityme1/htdocs/xe/classes/display/DisplayHandler.class.php on line 77
뭔가 수정을 해야되는게 있나요?
mysql 같은 메이저 db 는 저런 에러가 안나는데 묘한 마이너db 는 아직도 저 에러가 나더군요.
http://code.google.com/p/xe-core/issues/detail?id=1082&thanks=1082&ts=1322199661
에러 수정을 위한 패치를 올렸으니 참고하시고 적용하세요.