itsgoingd / clockwork

Clockwork - php dev tools in your browser - server-side component
https://underground.works/clockwork
MIT License
5.63k stars 323 forks source link

Using Redis storage without user/password #711

Open reeslo opened 1 month ago

reeslo commented 1 month ago

There is an issue when using Redis storage but without authentication

image

A PHP Error was encountered

Severity: Warning

Message: Redis::auth(): When passing an array as auth it must have one or two elements!

Filename: Storage/RedisStorage.php

Line Number: 55

Backtrace:

Also if the database is not set it must be 0 like

        $redis->select($connection['database'] ?? 0);
A PHP Error was encountered

Severity: Warning

Message: Undefined array key "database"

Filename: Storage/RedisStorage.php

Line Number: 58
itsgoingd commented 1 month ago

Thanks for the report, I'll try to fix these soon.

reeslo commented 1 month ago

You're welcome! I've fixed it by adding fake informations :)

reeslo commented 6 days ago

Hi, the ui interface seems not usable when Redis driver is set.