User tests: Successful: Unsuccessful:
Closes #26269
Fix blatantly wrong code.
If connecting to redis using a sock Eg: /var/run/redis/redis.sock then Joomla should be transparently setting the port to 0 before connecting to redis.
$host[0] === '/' is checking if the first char in the string /var/run/redis/redis.sock is a / and if so should be setting the port to 0 - someone got the ?: wrong the wrong way and no one noticed :)
Provision a redis server correctly set up for socket connections though, say, /var/run/redis/redis.sock
Configure Joomla Global configuration to use Redis as a cache and session handler using the above sock (to match your server, not exactly the example /var/run/redis/redis.sock)
Joomla could not connect to redis over sock and would red screen of death or debugger message if debug mode on
Joomla can now connect.
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |
| Status | Pending | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-05-19 22:40:39 |
| Closed_By | ⇒ | wilsonge | |
| Labels |
Added:
?
|
||
Thank you @PhilETaylor! Wow, i opened the issue 2 years ago...
PS: ehm, what's the meaning of "Paging" under Documentation?
Thanks!