![]() |
good, at times i have 700 members online with about 900 spiders, i have to turn off my plugin/ hook system so my forum does not lockup. using a VPS server. we will see what this does in a week when i get slammed again
|
You should recieve a prompt when attempting to flush the cache asking for your username/password, this is because your XCache is configured to require an admin username/password when using administrative XCache functions. Is the pop-up for authentification not showing?
This can be disabled through your php.ini: Code:
xcache.admin.enable_auth = Off |
Nope, not showing.
|
From what tests I've been able to do, the prompt should show on failure. It's possible the error haults this from happening, try the following change to see if it resolves your issue:
Open: ./includes/class_activecache_methods.php, Find: Code:
for ($x = 0, $total = xcache_count(XC_TYPE_VAR); $x < $total; $x++) Code:
for ($x = 0, $total = xcache_count(XC_TYPE_VAR); $x < $total; $x++) Code:
if (!isset($_SERVER['PHP_AUTH_USER']) && $x < 1) Code:
if (!isset($_SERVER['PHP_AUTH_USER'])) |
Quote:
Thanks. Didn't try the other lol. |
No problem :) If you get a chance to try out the above changes to see if that works let me know how it goes.
|
I will, but I probably won't get the error now. Great work. Thank you. By the way, I am running RC1 and haven't upgraded to 2 yet.
|
Thanks for the note, it should run on beta installations of vB 3.8 too, but I won't swear by it :)
|
Quote:
1 question -- when i try to flush, it asks me for xcache username and passwd, when i give the ones i have in php.ini file, it says wrong. wat are these username and passwd? also vboptimize directory has only 1 index.htm file? am i supposed to 777 this dir so vboptimize can write some files here? |
You need to specify your username and password for XCache, remember the password in php.ini should not be an actual password, but an md5 encrypted password, then you enter the plain-text password in the prompt. Otherwise you can disable the admin authentification for XCache, see a couple of posts above to see how.
As for vboptimise/, yes it should have read/write permissions, as specified in the Admin CP descriptions when you setup vB Optimise :) |
All times are GMT. The time now is 10:37 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|