我得到这个致命的错误:Magento会话序列化在哪里?
PHP Fatal error:
Uncaught exception 'Exception' with message
'Serialization of 'Mage_Core_Model_Config_Element' is not allowed'
in [no active file]:0 Stack trace: #0 {main}
thrown in [no active file] on line 0
我的理解是试图序列Mage_Core_Model_Config_Element
和失败,但我从来没有使用过getNode()
,它总是getStoreConfig()
我。
我很高兴能够调试这个,如果我能找到其中它正在生成。 Magento会话在哪里被序列化?
注意:尝试在页脚中回显序列化(如提示的一个线程)在这种情况下不起作用。会话没有被设置(导致这个错误),所以当它到达页脚时没有错误...
寻找函数['session_write_close()'](http://php.net/session_write_close)的用法可以引导你一种方式,但它的用法相当普遍,所以对你的问题没有快速,明确的答案。 – hakre