Giter Site home page Giter Site logo

phpmemcacheadmin's People

Watchers

 avatar

phpmemcacheadmin's Issues

Servers list does not stick when using opcode caching extensions

The configuration of phpmemcacheadmin is stored in *.php file. Thus, when you 
use opcode cache (APC, ZendOptimizer+, etc.) with 'timestamp revalidation' 
setting turned off, you will see that the configuration is not updated and the 
phpmemcacheadmin does not work at all.

Possible solution: change extension of config file from *.php to, for instance, 
*.json, or read the config directly from a file instead of including/requiring 
it via PHP.


Original issue reported on code.google.com by [email protected] on 25 Mar 2014 at 10:42

Wrong statistic

> What steps will reproduce the problem?
1. install phpmecacheadmin, memcached and php-memcache
2. use it for some time period
3. get wrong statistic data

> What is the expected output? What do you see instead?
As you can see on screenshot we have 100% of hits and 100% of misses.
Also we have a very big amount of free space on pie chart.
http://img718.imageshack.us/img718/1994/selection021.png

> What version of the product are you using? On what operating system?
several servers, several linux distributions (ubuntu server, centos)
phpmecacheadmin 1.2.1
memcached 1.4.2\1.4.5\1.4.7 
php 5.2\5.3


Original issue reported on code.google.com by [email protected] on 15 Sep 2011 at 5:58

Add the possibility to have a read-only phpmemcacheadmin

Having the ability to flush, add, set and delete directly from phpmemcacheadmin 
is a little bit dangerous. It would be nice - although it brings no security at 
all as it will always be possible to do it through telnet - to be able to mask 
these possibilities in order to avoid an undesired click on "flush all servers" 
by a user.

Original issue reported on code.google.com by [email protected] on 3 Dec 2010 at 4:45

Unable to set new data using Memcache API

What steps will reproduce the problem?
1. Navigate to /commands.php
2. In 'Execute predefined Command', choose the 'set' command.
3. Enter any key and value.
4. Choose 'Memcache' for API.

What is the expected output? What do you see instead?
In the console I expect:

Server 127.0.0.1:11211
SUCCESS

Instead, I receive a warning:

( ! ) Warning: Memcache::set() expects parameter 4 to be long, string given in 
/path/to/phpmemcachedadmin/phpMemcachedAdmin-1.2.2-r262/Library/Command/Memcache
.php on line 191

What version of the product are you using? On what operating system?
- phpmemcachedadmin 1.2.2-r262
- Mac OS X 10.9.3
- PHP Version 5.4.24
- Apache/2.2.26 (Unix)

Please provide any additional information below.

Library/Command/Memcache.php, line 191 is currently:

if(self::$_memcache->set($key, $data, 0, $duration))

It's missing some type casting, and should be:

if(self::$_memcache->set($key, $data, 0, (int) $duration))

Original issue reported on code.google.com by [email protected] on 27 May 2014 at 3:57

Stats are not displayed

What steps will reproduce the problem?
Start the phpmemcachedadmin for the "problematic" server.

What is the expected output? What do you see instead?
The expected output should be correct information on interface, instead I get 
division by zero messages and incorrectly displayed information.

What version of the product are you using? On what operating system?
I'm using phpmemcachedadmin 1.2.2 on Windows 7 x64 for Memcached 1.4.15 server 
on Solaris 10 x86.

Additional information that may help:
I've just installed a new Memcached server and in phpmemcachedadmin the stats 
are not displayed as expected. (see screenshot 1)
The problem is not reproducing for another server (see screenshot 2) and I 
don't know what I've missed on my installation process that may cause this 
problem. Memcached server seems to start OK the number of hits/misses, 
current/total items are displayed correctly but the rest are messed up.


Original issue reported on code.google.com by [email protected] on 25 Oct 2013 at 9:43

Attachments:

warning: preg_replace: Unknown modifier 'w'

What steps will reproduce the problem?
1. I downloaded and put on the server
2. went to page: 
   /index.php?server=localhost:11211&show=items&slab=2&request_key=sweeps:user/sweepstake:991664/2858&request_api=Server&request_command=get

What is the expected output? What do you see instead?

I get a Warning:

Warning: preg_replace() [function.preg-replace]: Unknown modifier 'w' in 
/mnt/hgfs/vhosts/memcacheadmin/Library/Command/Server.php on line 275


What version of the product are you using? On what operating system?

- phpMemCacheAdmin-1.1.3r161

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 4 Jan 2011 at 10:29

Cache size problems

Hi,

I've got a problem with cache size stats and graphic.

Do you know what is the problem?

Wasted seems very big! And there is no used on the graphic.

Screenshot: 

http://img849.imageshack.us/img849/8132/phpmemecacheadmin.jpg

Need some help please.

Thanks.

Original issue reported on code.google.com by [email protected] on 12 Apr 2012 at 1:12

chart url

chart.apis.google.com
Needs to be changed to:
chart.googleapis.com


chart.apis.google.com has a ssl cert issue, and its out dated.

Original issue reported on code.google.com by [email protected] on 30 Sep 2012 at 10:54

key URLs not encoded

The URLs for memcache keys were not being encoded properly when trying to view 
them via the slab pages.

To fix this issue, we changed $key to encodeurl($key) in /View/Stats/Items.tpl, 
example below.

# diff View/Stats/Items.tpl View/Stats/Items.tpl.orig
35c35
<         onclick="javascript:executeHideShow('console', 'hide', 
true);javascript:executeCommand('container', 'request_key=<?php echo 
urlencode($key); ?>&amp;request_api=<?php echo $_ini->get('get_api'); 
?>&amp;request_command=get&amp;request_server=<?php echo $_GET['server']; 
?>');"><?php echo ((strlen($key) > 70) ? substr($key, 0, 70) . '[..]' : $key); 
?></a>

---
>         onclick="javascript:executeHideShow('console', 'hide', 
true);javascript:executeCommand('container', 'request_key=<?php echo $key; 
?>&amp;request_api=<?php echo $_ini->get('get_api'); 
?>&amp;request_command=get&amp;request_server=<?php echo $_GET['server']; 
?>');"><?php echo ((strlen($key) > 70) ? substr($key, 0, 70) . '[..]' : $key); 
?></a>


Original issue reported on code.google.com by [email protected] on 20 Jun 2013 at 3:31

Uptime of "All servers" is sum of uptime of servers

When looking at the uptime of each of my server, I have something like:
 Uptime 143 days 8 hrs 11 min

But when looking at the same stat in 'All servers', I have the following:
 Uptime 860 days 3 hrs 39 min

It appears phpmemcacheadmin is summing the uptime of the 6 servers

Original issue reported on code.google.com by [email protected] on 3 Dec 2010 at 5:09

invalid encoding on return command

What steps will reproduce the problem?
1. goto commands.php
2. search a key that return utf-8 caracters (for example "ñ")

What is the expected output? What do you see instead?
expected:

   Server 127.0.0.1:11211
   suggest=ñ

returned:

   Server 127.0.0.1:11211
   suggest=ñ

What version of the product are you using? On what operating system?

 1.2.0

Please provide any additional information below.

change the line 110 for 

   return $header . htmlentities($return, ENT_NOQUOTES | ENT_IGNORE, "UTF-8") . "\r\n";

instead of

   return $header . htmlentities($return) . "\r\n";



Original issue reported on code.google.com by [email protected] on 7 Apr 2011 at 7:39

how do you access the slabs data

What steps will reproduce the problem?
1. download v1.1.3
2. unzip to directory
3. run the app

What is the expected output? What do you see instead?
I expected there would be a link to "slabs" report, but I only see links to 
live stats, stats, issue command, and edit configuration

What version of the product are you using? On what operating system?
1.1.3 on windows server 2008

Please provide any additional information below.
I looked through the PHP code and could not find a reference to the slabs 
report url.

Original issue reported on code.google.com by jason%[email protected] on 19 Oct 2010 at 12:50

Download package is a tarbomb

What steps will reproduce the problem?
1. Download one of the packaged releases.
2. Untar it.
3. Observe that the contents explode all over your working directory.

Original issue reported on code.google.com by [email protected] on 5 Feb 2015 at 10:12

CVE-2014-8732 cross-site scripting security vulnerability

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8732

Cross-site scripting (XSS) vulnerability in phpMemcachedAdmin 1.2.2 and earlier 
allows remote attackers to inject arbitrary web script or HTML via unspecified 
vectors.

Are you going to fix this vulnerability?

Original issue reported on code.google.com by [email protected] on 6 Jan 2015 at 2:15

Replace cache size graph by pages allocation graph

Hello,

cache size graph is not very interesting as it show the ratio of cached data 
size over maximum allocated size, ignoring waste space. It means even when the 
cache is full, the graph will not be at 100% space used.

Here is a patch replacing it with an overview of non-allocated pages available. 
It also changes the color of the box when ratio of free pages becomes too low 
(using styles introduced in the patch I submitted in #7).

I needed to change the merge function so that it can merge slabs information 
(maybe some other fields would need to be simply kept as is instead of being 
summed).

Having the slabs information in the main page should also be useful for other 
interesting global indicators.

Regards,
Colin

Original issue reported on code.google.com by [email protected] on 12 Jan 2011 at 2:52

Attachments:

Slab Reassign & Automove does not show

What steps will reproduce the problem?
1. Open the Dash board and look for "Slab Reassign & Automove"
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
2.2

Please provide any additional information below.

Hi,
I can see in the code that this section is hardcoded to "N/A".
can you please ellaborate how can we get results for this section?

Many thanks, 
Oded

Original issue reported on code.google.com by [email protected] on 25 Dec 2012 at 9:20

Allow names in the configuration and reflect that in the gui

We create our configuration using a script and a config looks like this:

'servers' =>
  array (
    'production-memcached' =>
    array (
      'db7-s0' =>
      array (
        'port' => '28800',
        'hostname' => '10.28.38.70',
      ),
      's0010-s3' =>
      array (
        'port' => '28830',
        'hostname' => '10.28.38.78',
      ),
etc.

So the keys for the server are actual short names. The attached patch changes 
the code so that these names are used everywhere, which makes for our (pretty 
large installation), the tool way more useful because we do not drown in a 
large sea of 10.x.x.x IPs and almost the same ports everywhere. :-) 

It is straightforward. Please apply.

Original issue reported on code.google.com by [email protected] on 21 Jan 2012 at 2:13

Attachments:

Multiple memcached farms configuration

Currently, it's only possible to configure phpmemcacheadmin for one memcached 
farm. It would be nice to be able to have multiple farms in order to have one 
single instance handling multiple applications and still having the "All 
servers" capability per application.

We have two memcached farms and the way we do it currently is running two 
instances of phpmemcacheadmin but this couldn't scale very well if we were to 
have more applications using memcached.


Original issue reported on code.google.com by [email protected] on 3 Dec 2010 at 4:51

Usage discrepency

What steps will reproduce the problem?
1. display stats for two servers using phpmemcacheadmin and 
/usr/share/pear/doc/memcache/memcache.php

What is the expected output? What do you see instead?
The stats for cache used in phpmemcacheadmin is far higher that the stats for 
memcache.php

Am I missing something or is there a problem?

Original issue reported on code.google.com by visseraj on 23 Nov 2011 at 5:07

Attachments:

Coloring slots for which eviction occured

Hi,

this is not a bug but an enhancement.
Here is a small patch to allow coloring slots for which eviction occured. There 
are three different colors available depending on the "evicted_time" value for 
the slot.

Concerning this field, note that evicted_time is the time the last evicted item 
stayed in cache. This can be confusing in the way it is displayed currently as 
the label is "Eviction Last" which first made me think it was the time when the 
last eviction occured. However it's hard to find a short label that would be 
less misleading (maybe "Last evicted lifetime").

Regards,
Colin

Original issue reported on code.google.com by [email protected] on 12 Jan 2011 at 12:58

server segmentation suggestion

I have been using your tool for about a week now and really like it. However 
when it comes to getting an overall view of servers it is difficult. If I have 
multiple servers in dev, staging and production, I cannot get an overview for 
each segmentation, just all of them combined.

My suggestion would be to add a pool flag to each server in the configuration 
so that you can flag it as dev, staging or production. Then in the dropdown for 
servers, you could have the following:

All servers
Production
    web1
    web2
    webn
Staging
    staging1
    stagingn
Dev
    dev1


Then, I could easily see how space I have used in my production pool.



Original issue reported on code.google.com by visseraj on 12 Oct 2010 at 2:13

Monitoring mamcache instances with SASL enabled.

What steps will reproduce the problem?
1. Take a fully functional phpMemcachedAdmin monitoring 2 memcache instances 
(1.4.4-3.el6) without SASL enabled;
2. Upgrade memcache to version 1.4.21 with SASL enabled;
3. Run the instances with the same parameters from before, except by the 
addition of "-S" at the command.

What is the expected output? What do you see instead?
Problem is: prior the upgrade I could monitor the instances.
Now the page keeps "waiting" but don't show any stats.

What version of the product are you using? On what operating system?
- CentOS 6.5
- Compiled memcached-1.4.21-1.el6.x86_64
- phpMemcachedAdmin-1.2.2-5.svn262.el6.noarch


Please provide any additional information below.

I wonder if phpMemcachedAdmin isn't capable of reading data "binary protocol" 
instances. If that's the case, is it possible to add this functionality?

Thank you and Happy New Year.

Original issue reported on code.google.com by [email protected] on 2 Jan 2015 at 12:28

Missing LICENSE file

I'm going to integrate phpMemcachedAdmin in Fedora/EPEL official repositories 
(see review request at https://bugzilla.redhat.com/show_bug.cgi?id=879016).

License ASL 2.0 requires that a copy of the license text be distributed along 
with the binaries and/or source code 
(see:http://fedoraproject.org/wiki/Packaging:LicensingGuidelines#License_Text).

Could you please consider adding that file?

Thank you :)

Original issue reported on code.google.com by [email protected] on 23 Nov 2012 at 10:45

Unable to view content of a key

What steps will reproduce the problem?
1. Insert some keys in memcache
2. Go to slab stats and from there to slab item stats
3. Click on the link to view the content of the key

Expected to see the content at the top, but instead, get another page inside 
the content pane.

v.1.2.2

Sample Key:
SUBJECT#31201#ea3b223e-24c2-4512-b9-1c-a3-b9-b7-4e-47-63#0-WORKINGCONTEXT#1-203#
C


Original issue reported on code.google.com by [email protected] on 25 Apr 2014 at 2:31

lot of ereg() deprecated warnings.

dont know if some functionalities are broken because of this but for now i am 
not able to get out in file as CSV or JSON ...may be i am looking into wrong 
place.

PHP Warning:  Module 'pcntl' already loaded in Unknown on line 0
PHP Deprecated:  Function ereg() is deprecated in 
/var/www/html/brutis-read-only/lib/functions.php on line 117
PHP Deprecated:  Function split() is deprecated in 
/var/www/html/brutis-read-only/lib/functions.php on line 118
PHP Deprecated:  Function ereg() is deprecated in 
/var/www/html/brutis-read-only/lib/functions.php on line 123
PHP Deprecated:  Function ereg() is deprecated in 
/var/www/html/brutis-read-only/lib/functions.php on line 123
Starting collector
PHP Warning:  Module 'pcntl' already loaded in Unknown on line 0
PHP Warning:  Module 'pcntl' already loaded in Unknown on line 0

Original issue reported on code.google.com by [email protected] on 7 May 2013 at 5:44

Lots of undefined indexes when running start page

What steps will reproduce the problem?
1. Just load it

What is the expected output? What do you see instead?
No PHP Warnings


What version of the product are you using? On what operating system?
phpmemcacheadmin 1.2.2 - Windows 7 x64, PHP 5.3.14, newest memcached for windows




Original issue reported on code.google.com by [email protected] on 15 Feb 2013 at 9:12

Lang Patch - Translate

What steps will reproduce the problem?
1. Created Language Files
2. Adding Multi Lang.


What is the expected output? What do you see instead?
PhpMemcachedAdmin supported multi lang.

What version of the product are you using? On what operating system?
PhpMemcachedAdmin 1.2.2 - All OS.

Please provide any additional information below.
Ask the team to be included me as a committer. I can adding MultiLang support 
and translate files. 

Original issue reported on code.google.com by [email protected] on 15 Jul 2013 at 8:20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.