我在 netfirms 服务器上安装了一个 CakePhp 2.0 博客应用程序,该博客使用 PostsController 定义博客使用的术语工作正常,当我现在添加编辑、添加和删除帖子等操作时,使用 beforeSave() 回调编辑我的模型和添加了一个具有相同功能的新控制器 GalleriesController 删除图像,修改或添加新图像,然后当任何 cms 操作发生时,无论是后期编辑或修改还是图像编辑或修改,我都会在网络服务器上收到此错误,但未显示在我的本地 WAMP 服务器安装上
Warning (2): session_start(): open(/var/php_sessions/sess_d876a0afa32835689eafbf4a111b60bd, O_RDWR) failed: No such file or directory (2) [CORE/Cake/Model/Datasource/CakeSession.php, line 615]
Warning (2): session_start() [http://php.net/function.session-start]: Cannot send session cookie - headers already sent by (output started at /hermes/bosweb25b/b952/nf.accountname/public_html/lib/Cake/Utility/Debugger.php:776) [CORE/Cake/Model/Datasource/CakeSession.php, line 615]
Warning (2): session_start() [http://php.net/function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/bosweb25b/b952/nf.accountname/public_html/lib/Cake/Utility/Debugger.php:776) [CORE/Cake/Model/Datasource/CakeSession.php, line 615]
Warning (2): Unknown: open(/var/php_sessions/sess_d876a0afa32835689eafbf4a111b60bd, O_RDWR) failed: No such file or directory (2) [Unknown, line 0]
Warning (2): Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) [Unknown, line 0]