J4 Issue ?
avatar f-hamel
f-hamel
16 May 2018

Steps to reproduce the issue

Install Joomla 4 on System with PHP7 and Redis.
Set PHP-Session handler to use Redis.

But it's the same if we are using file handler and setting Redis as session handler
later in the backend

So if PHP use direct within a ini Redis Joomla isn't able to store a session
and if PHP use default session handler (file) and Joomla is set to use Redis this
won't work also.

Expected result from installation

Can Install Joomla

Expected result after installation

Can use Joomla

Actual result at installation

error_redis

Actual result if Redis sessionhandler ist set in the Backend and PHP session handler is set to file

error_redis_after_install

System information (as much as possible)

Apache 2.4
PHP 7.2
Redis 3.2.11

Additional comments

Same test with Joomla 3.8! There was no error and Redis can be used without any problem.

avatar f-hamel f-hamel - open - 16 May 2018
avatar joomla-cms-bot joomla-cms-bot - change - 16 May 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 May 2018
avatar joomla-cms-bot joomla-cms-bot - edited - 16 May 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 16 May 2018
Category Libraries
avatar brianteeman brianteeman - change - 17 May 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 17 May 2018
avatar PhilETaylor PhilETaylor - comment - 19 May 2018
avatar mbabker
mbabker - comment - 19 May 2018

Yes it is.

On Sat, May 19, 2018 at 1:37 PM Phil Taylor notifications@github.com
wrote:

Is redis even a supported session handler in 4.0? I dont even have the
option....

[image: screen shot 2018-05-19 at 19 30 50]
https://user-images.githubusercontent.com/400092/40271891-0be1d01a-5b9c-11e8-8170-9d454ea2e3c1.png


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#20427 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWfoYyvJ2zG-F7nZc7hKYuHCRkfzHHSks5t0GZkgaJpZM4UBWdA
.

--

  • Michael Please pardon any errors, this message was sent from my iPhone.
avatar franz-wohlkoenig franz-wohlkoenig - change - 19 May 2018
Status New Discussion
avatar PhilETaylor PhilETaylor - comment - 19 May 2018
avatar mbabker
mbabker - comment - 19 May 2018

All you have to do is pass a extension_loaded('redis') && class_exists('Redis'); check ?

avatar PhilETaylor PhilETaylor - comment - 19 May 2018
avatar acs-ferreira
acs-ferreira - comment - 19 Aug 2019

Isn't this a typo on the server configuration?

See the databese instead of database on the screenshot.

avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Aug 2019
Title
[4.0] Seesion Handler with Redis not working.
[4.0] Session Handler with Redis not working
avatar franz-wohlkoenig franz-wohlkoenig - edited - 19 Aug 2019
avatar brianteeman
brianteeman - comment - 19 Aug 2019

Yes it is

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Aug 2019

@f-hamel can you please have a look and close the issue if the reason was the typo?

avatar f-hamel
f-hamel - comment - 22 Aug 2019

Hey. Sorry for answering so late.

At the moment I have no way to test this again, because I've no redis environment and can't setup one at the moment. But I was talking to some friends using J4 with redis and they have no problem.

So I guess the reason was really the typo and I'll close this issue.

avatar f-hamel f-hamel - change - 22 Aug 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-08-22 22:38:04
Closed_By f-hamel
avatar f-hamel f-hamel - close - 22 Aug 2019

Add a Comment

Login with GitHub to post a comment