Skip to content

Commit f4becb8

Browse files
committed
Error on installation in system with no files session storage
All details on files, also issue created for discuss that magento/magento2#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
1 parent f239838 commit f4becb8

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: default
3+
group: install_trouble
4+
subgroup: Errors during installation
5+
title: During installation, exception SessionHandler::read()
6+
menu_title: During installation, exception SessionHandler::read()
7+
menu_node:
8+
menu_order: 26
9+
github_link: install-gde/trouble/tshoot_session.md
10+
---
11+
12+
<h2>During last step of installation Exception - SessionHandler::read</h2>
13+
14+
{% highlight PHP %}
15+
exception 'Exception' with message 'Warning: SessionHandler::read():
16+
open(..) failed: No such file or directory (2) ../magento2/lib/internal/Magento/Framework/Session/SaveHandler.php on line 74'
17+
in ../magento2/lib/internal/Magento/Framework/App/ErrorHandler.php:67
18+
{% highlight PHP %}
19+
20+
### Solution:
21+
22+
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
23+
to edit your php.ini and set
24+
25+
{% highlight PHP %}
26+
session.save_handler = files
27+
{% highlight PHP %}
28+
29+
session.save_path can be just disabled for use default parameters or set to valid folder in your file system
30+
31+
{% highlight PHP %}
32+
;session.save_path = /some/patch/here
33+
{% highlight PHP %}

0 commit comments

Comments
 (0)