CakePHP Error: Unable to configure the session, setting session.auto_start failed

后端 未结 5 1962
再見小時候
再見小時候 2021-01-31 19:27

I\'m getting this error:

Error: [CakeSessionException] Unable to configure the session, setting session.auto_start failed.

I\'m using Cakephp 2.2.4.

5条回答
  •  醉梦人生
    2021-01-31 20:00

    as I do not have enough reputation to comment, I'm adding the following answer in addition to Simon's one:

    to get it working, I had to comment out all three occurrences of 'session.auto_start' => 0 (around and after line 557 in CakeSession.php)

    For details, see the following patch of the CakePHP team: https://github.com/cakephp/cakephp/commit/faa2cbd3c3fc1bbf83064727847789123110b8e3#diff-bd8dc176fa0f41743dbaafa75f77b5ae

提交回复
热议问题