vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - datastore cache to XCache - boost your vBulletin (https://vborg.vbsupport.ru/showthread.php?t=141005)

lauxanh 10-14-2007 10:12 PM

Can you give me alittle guide. I did the same thing as instruction but get error:

XCache variable data cache is not enabled, please set xcache.var_size in php.ini.....

my xcache.ini
Quote:

[xcache-common]
zend_extension = /usr/lib/20020429/xcache.so

; required for >=php5.1 if you turn XCache on
auto_globals_jit = Off

[xcache.admin]
xcache.admin.user = "admin"
; paste the output of md5("password") below
xcache.admin.pass = ""

[xcache]
xcache.size = 32M
xcache.count = 2
xcache.slots = 8K


xcache.var_size = 32M
xcache.var_count = 2
xcache.var_slots = 8K

xcache.mmap_path = "/dev/zero"
xcache.cacher = On

CBrown 10-14-2007 11:20 PM

xcache.ini ??

If it is installed correctly, those fields should be found in your php.ini file. /etc/php.ini

Hence, what the error message is telling you to look into.

Not sure what else is going on with your setup unless you can give some more information. I've got xcache and this mod running on two dedicated servers now.

lauxanh 10-15-2007 07:53 PM

well, some how for my setup php4.4.7 when i include
those config to the php.ini it does not work. httpd wont start. The i make an xcache.ini in the extension_dir with all the config info. Xcache works.

But it does not work with Var-cache

Zia 10-18-2007 02:21 AM

lauxanh ..
there s/b something wrong at ur installation..

lauxanh 10-26-2007 01:51 AM

I have no i dea why.

I tried to move those config to php.ini but when ever i put it in then add:
$config['Datastore']['class'] = 'vB_Datastore_XCache';
to config.php
restart webserver.

I see blank page

see attachment

Zia 10-28-2007 07:00 AM

never had any problem around it..using it from the day it released....

booktoweb 11-10-2007 02:19 AM

i have this issue

Code:

Fatal error: Class vb_datastore_xcache: Cannot inherit from undefined class vb_datastore in /home/****/public_html/includes/class_datastore_xcache.php on line 14

wdwms 11-27-2007 10:38 PM

Does this mod work when you have more than one VB installation on a server? I've got two installs but the variables are clashing with each other if i enable the mod on both vb installs at the same time.. :(

Paul M 11-28-2007 12:05 AM

Yep, I think that two installations may possibly clash.

phpxcache 11-28-2007 01:40 AM

Quote:

Originally Posted by Wings900 (Post 1390659)
Does this mod work when you have more than one VB installation on a server? I've got two installs but the variables are clashing with each other if i enable the mod on both vb installs at the same time.. :(

this applies to apc too, if you wanna fix it, try
open class_core.php, look for:
$this->prefix =& $this->registry->config['Datastore']['prefix'];
and modify to:
$this->prefix = $this->registry->config['Datastore']['prefix'] . $_SERVER['SERVER_NAME']; // or HTTP_HOST


All times are GMT. The time now is 01:08 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.01214 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)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
  • (1)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