Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: 8.x-1.x
Choose a base branch
from

Conversation

guiajlopes
Copy link
Contributor

Adding documentation to cover #13

@andypost
Copy link

+1 to get this in

@rodrigoaguilera
Copy link

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

@lisotton
Copy link

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

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