Custom Query (267 matches)
Results (55 - 57 of 267)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #70 | invalid | Authentication fails (user and password garbled in xcache.c::xcache_admin_auth_check()?!) | moo | blueyed |
| Description |
I've just rebuilt PHP_5_2 and XCache from the 1.2 branch, but now the authentication for the admin pages fails. I've added:
===================================================================
--- xcache.c (Revision 357)
+++ xcache.c (Arbeitskopie)
@@ -1558,6 +1558,8 @@
pass = NULL;
}
+ php_error_docref(NULL TSRMLS_CC, E_ERROR, "user: %s, password: %s", user, pass);
+ zend_bailout();
if (user != NULL && pass != NULL && strcmp(admin_user, Z_STRVAL_PP(user)) == 0) {
PHP_MD5_CTX context;
char md5str[33];
And get something like: Fatal error: xcache_count() [<a href='function.xcache-count'>function.xcache-count</a>]: user: äñT·`òT· ñT·\ÜT·, password: HòT·°òT·üñT·øàT· in /var/www/web7/web/xcache-admin/xcache.php on line 100 (The "binary blob" does change after a few request!) Dumping $_SERVER itself in PHP does show the correct values for PHP_AUTH_USER and PHP_AUTH_PW. I've configured XCache with just "./configure --enable-xcache --with-php-config=/usr/local/php52-fcgi/bin/php-config" SVN trunk shows the same behaviour. Maybe it's normal that the user/pass gets displayed as binary blob, when displayed like I've done it - but I would not expect it to change when I press F5 in the browser. |
|||
| #71 | fixed | even inode number result in hashing issue for cacheid (was php#0 (any one) bolck doesnt work.) | moo | Nneel |
| Description |
we are on vbulletin 3.6.4 cPanel+Apache 1.3.37+CentOS 4(Redhat AS4) +Dual Operton 248 vBulletin3.6.4+Php5.2.0 Xcache 1.2.0 (the last release stable one) helo..here is a screen shot of our xcache admin http://img169.imageshack.us/img169/2828/xcbf4.jpg as per Jasons instruction im submitting this bug http://www.vbulletin.com/forum/showthread.php?p=1309421&highlight=memcache#post1309421 here is our php info http://www.golpo.net/test111.php?info=1 our xcache.ini =============================================================== ; select low level shm/allocator scheme implemenation xcache.shm_scheme = "mmap" xcache.size = 64M xcache.count = 2 xcache.slots = 8K xcache.ttl = 0 xcache.gc_interval = 0 ; same as aboves but for variable cache xcache.var_size = 16M xcache.var_count = 2 xcache.var_slots = 8K ; default ttl xcache.var_ttl = 0 xcache.var_maxttl = 0 xcache.var_gc_interval = 300 xcache.test = Off ; N/A for /dev/zero xcache.readonly_protection = Off xcache.mmap_path = "/dev/zero" cking open_basedir) xcache.coredump_directory = "" xcache.cacher = On xcache.stat = On xcache.optimizer = On [xcache.coverager] xcache_coverager_start/stop/get/clean() xcache.coverager = Off xcache.coveragedump_directory = "" ============================================================== unless set: xcache.stat = Off both php arent working. and if xcache.stat is off..every time..after change anything(templateacp) need to clear the cache & have to wait for re-cache. but what is the sulotion? |
|||
| #72 | invalid | var.cache is not working. | moo | Nneel |
| Description |
We are using Xcache 1.2.0. we are on vbulletin 3.6.4 cPanel+Apache 1.3.37+CentOS 4(Redhat AS4) +Dual Operton 248 vBulletin3.6.4+Ioncube+ Php5.2.0 +Xcache 1.2.0 (the last release stable one) Our phpinfo http://www.golpo.net/test111.php?info=1 Php.ini zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xcache.so xcache.shm_scheme = "mmap" xcache.size = 96M xcache.count = 2 xcache.slots = 8K xcache.ttl = 0 xcache.gc_interval = 0 ; same as aboves but for variable cache xcache.var_size = 16M xcache.var_count = 2 xcache.var_slots = 8K ; default ttl xcache.var_ttl = 0 xcache.var_maxttl = 0 xcache.var_gc_interval = 300 xcache.test = Off ; N/A for /dev/zero xcache.readonly_protection = Off xcache.mmap_path = "/dev/zero" xcache.coredump_directory = "" xcache.cacher = On xcache.stat = On xcache.optimizer = On xcache.coverager = Off xcache.coveragedump_directory = "" I have put another 16MB of Ram for Var cache. here is the screenshot of phplist. very long page so just took the area can viewble w/o scroll.
Here is two screenshot for list.php for S.Sshot-2: http://img119.imageshack.us/img119/6122/in2jt7.jpg its not caching any var.And we didnt apply other patch for xCache. How to make it working? Thanx. |
|||

