Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
今天Case的網頁突然出現這東西,而且還是在登入之後的第一頁。
前一天晚上明明沒有啊! (抱頭)
找了半小時找不出個所以然,也google了不少網頁,總算在 這裡 找到提示。
結論就是我的$_SESSION裡有某一個是空值,所以跑出這段警告。trace back之後找到問題所在,正確的塞值進去。 解決!
可喜可賀、可喜可賀
沒有留言:
張貼留言