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

Error on installation in system with no files session storage #334

Merged
1 commit merged into from
Sep 5, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions guides/v2.0/install-gde/trouble/php/tshoot_session.md
Original file line number Diff line number Diff line change
@@ -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
---

<h2>During last step of installation Exception - SessionHandler::read</h2>

{% 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 %}