From f4becb829c6e5a8bfb5b9dcad0ebeaa8a5aa1712 Mon Sep 17 00:00:00 2001 From: Viktor Khliupko Date: Tue, 25 Aug 2015 00:25:54 +0200 Subject: [PATCH] Error on installation in system with no files session storage All details on files, also issue created for discuss that https://github.com/magento/magento2/issues/1735 , but this is huge change which will take some time to resolve and issue could be common problem for users who configure session storage at redis or memcached --- .../install-gde/trouble/php/tshoot_session.md | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 guides/v2.0/install-gde/trouble/php/tshoot_session.md diff --git a/guides/v2.0/install-gde/trouble/php/tshoot_session.md b/guides/v2.0/install-gde/trouble/php/tshoot_session.md new file mode 100644 index 00000000000..d6b9ce94a8f --- /dev/null +++ b/guides/v2.0/install-gde/trouble/php/tshoot_session.md @@ -0,0 +1,33 @@ +--- +layout: default +group: install_trouble +subgroup: Errors during installation +title: During installation, exception SessionHandler::read() +menu_title: During installation, exception SessionHandler::read() +menu_node: +menu_order: 26 +github_link: install-gde/trouble/tshoot_session.md +--- + +

During last step of installation Exception - SessionHandler::read

+ +{% highlight PHP %} +exception 'Exception' with message 'Warning: SessionHandler::read(): +open(..) failed: No such file or directory (2) ../magento2/lib/internal/Magento/Framework/Session/SaveHandler.php on line 74' +in ../magento2/lib/internal/Magento/Framework/App/ErrorHandler.php:67 +{% highlight PHP %} + +### Solution: + +This happens when your session.save_handler php parameter set to some another session storage that "files" (redis, memcached etc.), to fix that you need +to edit your php.ini and set + +{% highlight PHP %} +session.save_handler = files +{% highlight PHP %} + +session.save_path can be just disabled for use default parameters or set to valid folder in your file system + +{% highlight PHP %} +;session.save_path = /some/patch/here +{% highlight PHP %}