phpmemadmin icon indicating copy to clipboard operation
phpmemadmin copied to clipboard

Does not display any data

Open Onepamopa opened this issue 8 years ago • 4 comments

OS: FreeBSD 10.3 x64 memcached 1.4.34 libmemcached 1.0.18 php 5.6 (also tested on 7)

When click on "Data": "No data available on Memcached daemon." but data IS available. There are 10 keys, for example: TEST_1.2.3.4 BLA_5.4.3.1 but they are not being "detected" by phpMemAdmin for some reason.

Onepamopa avatar Jan 23 '17 15:01 Onepamopa

I have a similar problem using Laravel Homestead (Vagrant).

This tool looks like it would be super useful if it worked.

Right now, the Data tab just shows one key ("laravel"), and it looks like it has an empty value, 0 Bytes, Type = NULL. That doesn't seem correct at all.

ryancwalsh avatar Jul 05 '17 23:07 ryancwalsh

Ahh, I found the problem for Laravel.

See how Laravel uses a prefix for the cache keys?

If I set that to an empty string (''), PhpMemAdmin works. And it's such a beautiful tool!

I wonder if PhpMemAdmin could be updated to allow Laravel cache key prefixes (as is default in Laravel).

ryancwalsh avatar Jul 05 '17 23:07 ryancwalsh

actually I've found the problem - memcached was running with lru_maintainer enabled, when disabled - data displayed properly in phpmemadmin

Onepamopa avatar Oct 02 '17 14:10 Onepamopa

Cool. I'll look up lru_maintainer and see if it's part of my Homestead Vagrant setup and if it's adjustable and if it's related to my problem.

ryancwalsh avatar Oct 02 '17 15:10 ryancwalsh