The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
datastore cache to XCache - boost your vBulletin Details »» | |||||||||||||||||||||||||||
datastore cache to XCache - boost your vBulletin
Developer Last Online: Mar 2008
(note: do not apply this patch on vBulletin 3.7 as it's included already) This patch allow you to use XCache as a datastore cache in vBulletin. This is definitely your choice if you have installed and enabled XCache on you server already. Take care that this is a beta version and was not heavily tested. And i'm not familiar with vBulletin source code as i just started reading it today, but i don't have any difficulty reading it thanks to my years of php skill Take aware that some vB plugin is not compatible with vB_datastore_*, not just vB_datastore_XCache. So, in case you find vB_datastore_XCache won't work, you'd better try datastore to file or memcache. If one of the others works but not vB_datastore_XCache, do report it to me so i can fix it. Pre-requirement
Install the modification for those of you who can't run "patch", u may patch the file manually
example class_datastore.php after modification: PHP Code:
PHP Code:
q. i have multiple vBulletin instance installed, the seems to mix data after install this plugin a. this applies to apc too because, 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 q. Warning: unserialize() expects parameter 1 to be string, array given in $a.php on line $b a. upgrade your plugin/hack that $a.php belongs to, e.g. vbjournal/vbgallery etc. OR open $a.php and locate at line $b, remove unserialize call, e.g.: replace $var = unserialize($this->data); with $var = $this->data; be careful do not remove the whole line, just the unseralize( and ) Supporters / CoAuthors Show Your Support
|
Comments |
#192
|
|||
|
|||
Great to hear
OT: Anyway I've just added you on MSN (i opened Ticket #158). |
#193
|
|||
|
|||
Quote:
Removing blank lines at the bottom of class_datastore_xcache.php (any blank lines after ?> ) fixed it for me |
#194
|
|||
|
|||
Does this hack must share variable $forumcache ?
I install all software. Checking xcache admin : variable 'forumcache' eats 1.8Mb. ok but where is memory ? Here debug from vbulletin : Time Before: 0.00148 seconds Time After: 0.00185 seconds Time Taken: 0.00037 seconds Memory Before: 196.090 KB Memory After: 197.766 KB Memory Used: 1.676 KB Datastore Setup Time Before: 0.00201 seconds Time After: 0.04075 seconds Time Taken: 0.03874 seconds Memory Before: 197.926 KB Memory After: 7,868.695 KB Memory Used: 7,670.770 KB is it normal ? |
#195
|
|||
|
|||
Disable other extension and see
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so ;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so Save and restart httpd, check php.info and see xcache is installed. Quote:
|
#196
|
|||
|
|||
Hi, Just wondering
Any way to get around these errors? Code:
Warning: xcache_get() [function.xcache-get]: xcache.var_size is either 0 or too small to enable var data caching in /includes/class_datastore_xcache.php on line 85 Warning: xcache_get() [function.xcache-get]: xcache.var_size is either 0 or too small to enable var data caching in /includes/class_datastore_xcache.php on line 85 Warning: xcache_get() [function.xcache-get]: xcache.var_size is either 0 or too small to enable var data caching in /includes/class_datastore_xcache.php on line 85 Warning: xcache_set() [function.xcache-set]: xcache.var_size is either 0 or too small to enable var data caching in /includes/class_datastore_xcache.php on line 124 Warning: xcache_unset() [function.xcache-unset]: xcache.var_size is either 0 or too small to enable var data caching in /includes/class_datastore_xcache.php on line 123 Warning: xcache_set() [function.xcache-set]: xcache.var_size is either 0 or too small to enable var data caching in /includes/class_datastore_xcache.php on line 124 Warning: xcache_unset() [function.xcache-unset]: xcache.var_size is either 0 or too small to enable var data caching in /includes/class_datastore_xcache.php on line 123 Warning: xcache_set() [function.xcache-set]: xcache.var_size is either 0 or too small to enable var data caching in /includes/class_datastore_xcache.php on line 124 Warning: xcache_unset() [function.xcache-unset]: xcache.var_size is either 0 or too small to enable var data caching in /includes/class_datastore_xcache.php on line 123 Warning: xcache_set() [function.xcache-set]: xcache.var_size is either 0 or too small to enable var data caching in /includes/class_datastore_xcache.php on line 124 |
#197
|
|||
|
|||
Quote:
|
#198
|
|||
|
|||
Are there ways to make MORE use of the datastore with vBulletin? Only 24 things are caching in Xcache and they're barely taking any space... I'd just like to make more use of my var cache.
|
#199
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/showthrea...ghlight=xcache by Lendy this mod use varcache (discission is urs use it or not) |
#200
|
|||
|
|||
Hello
An information please...I use vBSeo 3.1 In Control Panel vBSeo there is : Caching Options Cache Type (BETA) Select the caching system to use from the list below. Make sure that your server supports the selected cache type.
Two activations can create some conflicts? Thanks |
#201
|
|||
|
|||
OK when bar look really low mean is time to clear or to add more than 64mb to settings?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|