简体   繁体   English

Magento:找不到命名的PHP会话模块(文件)

[英]Magento: Cannot find named PHP session module (file)

I am debugging an issue with an extension and turned on MAGE_IS_DEVELOPER_MODE. 我正在调试扩展程序的问题并打开MAGE_IS_DEVELOPER_MODE。 Now I'm getting this error: 现在我收到这个错误:

    Warning: session_module_name(): Cannot find named PHP session module (file)  in
/Users/spdaly/Projects/td-site/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 67

I chmod'd 777 and cleared my cache. 我chmod了777并清除了我的缓存。 I haven't seen this error before. 我以前没见过这个错误。 Any ideas?? 有任何想法吗??

So...I should RTM. 所以......我应该RTM。 Public humiliation accepted... 公众羞辱被接受了......

app/etc/local.xml had app / etc / local.xml了

<session_save><![CDATA[file]]></session_save>

needs to be plural 需要是复数

<session_save><![CDATA[files]]></session_save>

I hope this keeps someone else from having this issue... 我希望这能阻止其他人解决这个问题......

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM