使用CakePHP的会话对象销毁失败错误 [英] Session object destruction failed error with CakePHP
问题描述
我正在追踪本教学课程 http://www.queness.com/post/1450/jquery-photo-slide-show-with-slick-caption-tutorial-revisited
I'm following this tutorial http://www.queness.com/post/1450/jquery-photo-slide-show-with-slick-caption-tutorial-revisited
一切似乎都很好,但我只是检查IE6和IE7,我得到以下错误信息
And everything seems to be going fine, but I just checked in IE6 and IE7 and I'm getting the following error message
Warning (2): session_destroy() [function.session-destroy]: Session object destruction failed [CORE\cake\libs\cake_session.php, line 458]
我正在使用cakephp,显然错误信息说这是关系。
I'm using cakephp and obviously the error message says it's something to do with that. Unfortunately noone else on the tut's comments has had the same issue.
任何人都有任何想法:)
Anyone got any ideas :)
推荐答案
好吧,作为一个PHP程序员,你可以看看你运行的CakePHP版本的源代码(它给你的文件和行号),然后看看任何PHP函数可能正在调用。
Well, being a PHP programmer, you could look at the source code for the version of CakePHP that you are running (it gives you the file and line number) and then look at any PHP functions it might be calling.
我愿意在该行(或其附近的地方)下注,调用PHP的 session_destroy
或 session_regenerate_id
函数,其他人遇到此错误,您将能够找到信息关于它的PHP文档(提示:第二个链接中有信息 - 搜索页面中的destruct)。
I'm willing to bet on that line (or somewhere near to it) having a call to PHP's session_destroy
or session_regenerate_id
functions, and that other people have had this error and you'll be able to find information about it in the PHP docs (hint: there's info in the second link - search the page for 'destruct').
这篇关于使用CakePHP的会话对象销毁失败错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!