Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit bef0782

Browse files
author
Steve Johnson
committed
Merge pull request #334 from biotech/patch-2
Error on installation in system with no files session storage
2 parents 06279de + f4becb8 commit bef0782

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)