首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >phpBB错误- PHP警告

phpBB错误- PHP警告
EN

Stack Overflow用户
提问于 2015-10-28 16:44:31
回答 1查看 165关注 0票数 0

我在共享主机提供商上有一个phpBB论坛,我收到此错误

代码语言:javascript
复制
[phpBB Debug] PHP Warning: in file [ROOT]/includes/auth/CAS/CAS/Client.php on line 905: session_start(): open(/hermes/phpsessions/S/T/-/Z/sess_ST-ZhPr8mYrwe, O_RDWR) failed: No such file or directory (2)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/auth/CAS/CAS/Client.php on line 905: session_start(): Cannot send session cache limiter - headers already sent (output started at [ROOT]/includes/functions.php:3906)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/auth/CAS/CAS/Client.php on line 1614: session_write_close(): open(/hermes/phpsessions/S/T/-/Z/sess_ST-ZhPr8mYrwe, O_RDWR) failed: No such file or directory (2)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/auth/CAS/CAS/Client.php on line 1614: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (4;/hermes/phpsessions)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/auth/CAS/CAS/Client.php on line 1618: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)

奇怪的是,有一天出乎意料地发生了,它以前是正常工作的。另外,在我的私有目录中,我没有任何/hermes

EN

回答 1

Stack Overflow用户

发布于 2015-10-28 16:49:38

确保会话目录是可写的,或者您可以使用以下命令自己设置路径:

代码语言:javascript
复制
session_save_path

如果你正在使用上面的函数,This comment也很有用。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33386395

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档