Skip to content

#13 Add documentation about use Redis without have the module enabled#26

Open
guiajlopes wants to merge 1 commit into
md-systems:8.x-1.xfrom
guiajlopes:8.x-1.x
Open

#13 Add documentation about use Redis without have the module enabled#26
guiajlopes wants to merge 1 commit into
md-systems:8.x-1.xfrom
guiajlopes:8.x-1.x

Conversation

@guiajlopes

Copy link
Copy Markdown
Contributor

Adding documentation to cover #13

@andypost

Copy link
Copy Markdown

+1 to get this in

@rodrigoaguilera

Copy link
Copy Markdown

This a great piece of information +1 to add it to the docs

@lisotton

Copy link
Copy Markdown

I think should include also in this documentation that in this case the content of redis.services.yml should be copied to sites/default/services.yml, otherwise you will get:

You have requested a non-existent service "cache.backend.redis". Did you mean one of these: "cache.backend.apcu",  
   "cache.backend.php", "cache.backend.memory", "cache.backend.null"?

@lisotton

Copy link
Copy Markdown

Also, I needed to use double back-slash and add it to the end, otherwise I was getting:

A non-empty PSR-4 prefix must end with a namespace separator.

So my suggestion is:

$class_loader->addPsr4('Drupal\\redis\\', DRUPAL_ROOT . '/[redis_folder]/src');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants