“session has already been started…” exception in Zend Framework application

后端 未结 12 993
囚心锁ツ
囚心锁ツ 2020-12-31 08:18

I get this error when trying to load a Zend Framework application:

Fatal error: Uncaught exception \'Zend_Session_Exception\' with message \'sessi

12条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-31 09:14

    I had the same problem and searching through all of the posts including this one I couldn't find an answer until I released that although I had the same exception result, my error was caused by something completely different.

    I actually had an issue with autoloading. Because of the problem during Bootstrap I believe this caused the exception above to be shown (hiding the real error).

    So if you went through all of the other possible fixes, try commenting out the details in your Bootstrap and see if that gets you past this problem. Obviously you slowly bring back the different parts of the bootstrap to uncover the real problem.

提交回复
热议问题