vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Board Optimization - [DBTech] vB Optimise 2.0.1 (Lite) (https://vborg.vbsupport.ru/showthread.php?t=199207)

Medtech 12-19-2008 01:33 AM

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

Deceptor 12-19-2008 01:33 AM

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

glorify 12-19-2008 01:35 AM

Nope, not showing.

Deceptor 12-19-2008 01:37 AM

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++)
                {
                        if (xcache_clear_cache(XC_TYPE_VAR, $x))
                        {
                                $any = true;
                        }
                }

Change this to:
Code:

                for ($x = 0, $total = xcache_count(XC_TYPE_VAR); $x < $total; $x++)
                {
                        if (@xcache_clear_cache(XC_TYPE_VAR, $x))
                        {
                                $any = true;
                        }
                }

Find:
Code:

if (!isset($_SERVER['PHP_AUTH_USER']) && $x < 1)
Change this to:
Code:

if (!isset($_SERVER['PHP_AUTH_USER']))
Save and upload, let me know if this resolves the issue for you :)

glorify 12-19-2008 01:44 AM

Quote:

Originally Posted by Deceptor (Post 1688392)
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

Was able to get it using that workaround :)

Thanks. Didn't try the other lol.

Deceptor 12-19-2008 01:47 AM

No problem :) If you get a chance to try out the above changes to see if that works let me know how it goes.

glorify 12-19-2008 01:58 AM

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.

Deceptor 12-19-2008 01:59 AM

Thanks for the note, it should run on beta installations of vB 3.8 too, but I won't swear by it :)

lazydesis 12-19-2008 01:59 AM

Quote:

Originally Posted by Deceptor (Post 1688357)
Fixed, re-download and then re-upload the following file:
./includes/class_activecache.php

You'll be able to select styles correctly then :)

thanks works as promised

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?

Deceptor 12-19-2008 02:01 AM

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
  • Page Generation 0.01841 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete