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)

ubuntu-geek 03-04-2007 04:45 PM

Installed, working great thanks.

bluechris 03-04-2007 05:06 PM

I mean that if i enable vB_Datastore_XCache i get nothing from vbgooglemap. Xcache working fine as template cache atm.

ubuntu-geek 03-04-2007 05:17 PM

Quote:

Originally Posted by bluechris (Post 1195611)
I mean that if i enable vB_Datastore_XCache i get nothing from vbgooglemap. Xcache working fine as template cache atm.

Is it possible for you to turn on php errors? Then you can see the error. I know with xcache and php4 I had issues uploading attachments and some other various issues.

bluechris 03-04-2007 06:17 PM

Im not with 4 i am with 5.2.1 ... i will turn on php errors to see whats going on.

bluechris 03-04-2007 06:54 PM

I had errors in php.ini to all allready... just i get a blank page in googlemaps... strange though

goyo 03-04-2007 09:38 PM

Compatibility problem.

Great hack unfortunately it's not compatible with Photopost vBGallery.

I'm receiving all kind of weird errors:

PHP Code:

Warningunserialize() expects parameter 1 to be string, array given in /gallery/gallery_global.php on line 72

Warning
array_merge() [function.array-merge]: Argument #2 is not an array in /gallery/gallery_global.php on line 72

Warningunserialize() expects parameter 1 to be string, array given in /gallery/gallery_global.php on line 75

Warning
Invalid argument supplied for foreach() in /gallery/gallery_global.php on line 237 

Also i'm receiving an error from Plugin Accelerator plugin:
PHP Code:

Warningunserialize() expects parameter 1 to be string, array given in /includes/class_plugin_accelerator.php on line 77 

Phpxcache do you have any idea what could be the problem ?

Correction...it's not compatible with any of the large plugins like vBlogetin or GARS.
Errors like above everywhere :(

phpxcache 03-04-2007 11:29 PM

Quote:

Originally Posted by bluechris (Post 1195611)
I mean that if i enable vB_Datastore_XCache i get nothing from vbgooglemap. Xcache working fine as template cache atm.

does vb_Datastore_File works? (i can't recall the name, u may check the class name in class_datastore.php)

if yes, it's vB_Datastore_XCache problem, otherwise, it's the problem between vbgooglemap and vB_Datastore.

i'd like to know what's going on. hope i know how to install the plugin. i'll check it later, and/or you trace it down.

Gsmdenis 03-04-2007 11:54 PM

support this for ever

BR.,

Denis

Zia 03-05-2007 02:16 AM

Quote:

Originally Posted by goyo (Post 1195761)
Compatibility problem.
Great hack unfortunately it's not compatible with Photopost vBGallery.

Please report it

http://trac.lighttpd.net/xcache/newticket
here.u will need to reg.(5 sec need for reg.just ur nick & pass) and plese describe all the details..
ur php version /ur application :vb /extension -photopost vbgallery/gars ..(vblogetin is paid mods.If possible provide him more info) with the links.
n describe..
and be patient u will get ur solution soon....all user will be helped out

PhotoPlog: The Lite Gallery & GRPS: Groups Commune 2.0.x & http://www.vblogetin.com/ ..
vblogetin is paid mods..so if ur willing to solve the issue u have to help him......depends on u

goyo 03-05-2007 11:32 AM

Quote:

Originally Posted by Zia (Post 1195908)
Please report it

http://trac.lighttpd.net/xcache/newticket
here.u will need to reg.(5 sec need for reg.just ur nick & pass) and plese describe all the details..
ur php version /ur application :vb /extension -photopost vbgallery/gars ..(vblogetin is paid mods.If possible provide him more info) with the links.
n describe..
and be patient u will get ur solution soon....all user will be helped out

PhotoPlog: The Lite Gallery & GRPS: Groups Commune 2.0.x & http://www.vblogetin.com/ ..
vblogetin is paid mods..so if ur willing to solve the issue u have to help him......depends on u

Thanks Zia,

It has nothing to do with xcache.
I'm running xcache since the 0.x releases (before anyone used as phpcache at vbulletin). Everything runs just fine.

This plugin only works well with stock vbulletin.

It doesn't work well with the plugins. (Not only vBGallery, Geek Article System, and vBlogetin...it doesn't work with vBShout...)

jason|xoxide 03-05-2007 02:20 PM

Ah... Bummer... vbGallery stops working when this is activated (just as with the memcache datastore). I wish they'd get around to fixing their code...

Zia 03-05-2007 02:27 PM

Quote:

Originally Posted by goyo (Post 1196156)
It doesn't work well with the plugins. (Not only vBGallery, Geek Article System, and vBlogetin...it doesn't work with vBShout...)

hmm ..do u mind to listing them from ur end...
coz this too kool modification needed to be perfect(as much possible)

1. vBGallery
2. Geek Article System
3. vBShout

plz continue

nix 03-05-2007 06:30 PM

VBlogetin is working fine here.

phpxcache 03-05-2007 10:52 PM

Quote:

Originally Posted by jason|xoxide (Post 1196273)
Ah... Bummer... vbGallery stops working when this is activated (just as with the memcache datastore). I wish they'd get around to fixing their code...

yup, i thought i can be vB_datastore_XCache plugin problem, but i copy the code from vB_datastore_APC, so it can also be problem of other plugin that isn't compatible with vB_datastore_*

thanks for your confirmation.

Zachariah 03-06-2007 09:34 PM

I have not installed this but I have fixed PhotoPost vBgallery to work with Memcache.
- I think it will support other external cache programs also.

The problem was the way the original scripts are designed.

I do not have a full list but I am changing old calls to datastore items for vBgalery 2.2.

EX:

New:
Code:

$categorycache =& $vbulletin->gallery_c_cache;
$galleryoptions =& $vbulletin->adv_gallery_opt;
$gallery_permissions =& $vbulletin->gallery_ugroups;

vs. old way
Code:

$categorycache = unserialize($vbulletin->gallery_c_cache);
$galleryoptions = unserialize($vbulletin->adv_gallery_opt);
$gallery_permissions = unserialize($vbulletin->gallery_ugroups);

I have a windows system w/ memcache enabled and the gallery working with the new changes. With the current code in the gallery APC, Memcached setting stop the gallery from working.


I will also change the code to build datastore.

New:
Code:

build_datastore('name',serialize($field),1);
Old:
Code:

build_datastore('name',serialize($field));

Changes as these may also fix other scripts out there.

da420 03-06-2007 09:55 PM

I applied the patch, and all I get is a blank page when accessing the forum.

Zia 03-09-2007 08:55 AM

yet no errors...
its working...
confused why wont work for u :S

Mudvayne 03-09-2007 09:24 AM

Works like a charm. I was supposed to install this 7 days ago. But I was having weird connection problem :(. Thanks a lot m0o :D. Screenshot added to 1st page.

dbirosel 03-12-2007 04:44 PM

So if you have a big board going on, it's recommended to run something like this? I have many plugins installed, what plugins will it intefere with?

phpxcache 03-13-2007 12:11 AM

you'd better check if all your plugins works when vb_datastore is enabled (vb_datastore_xcache is only one of the datastores). may other vbulletin professional users give you advice

Zia 03-13-2007 03:26 AM

Quote:

Originally Posted by dbirosel (Post 1201707)
So if you have a big board going on, it's recommended to run something like this? I have many plugins installed, what plugins will it intefere with?

yes..this mods is really very nice...makes our forum smoother....as i found it(xcache) reduced more server load than eAcc reduced...after impliment datastore...still i didnt face conflict at all.......
u can give a try

dbirosel 03-13-2007 03:32 AM

Quote:

Originally Posted by Zia (Post 1202225)
yes..this mods is really very nice...makes our forum smoother....as i found it(xcache) reduced more server load than eAcc reduced...after impliment datastore...still i didnt face conflict at all.......
u can give a try

Thanks for the reply! Do you have any plugins on your board? How many? Just want to make sure it's safe to install with the other plugins i have.


i have vbshout, CMPS, and more..

Zia 03-13-2007 03:52 AM

why not? yes there are......enough plugings installed with my board...

with xcache i didnt hesitate to install anything...

coz : the author of xcache & this hack..hes very much helpfull to solve users issue...
if u face any problem with xcache + this mods...u can just open a ticket HERE

be sure that u will get solution..like me & few others...untill things within his reach u will get the solution......
as per the thread no one face probs with vbshout yet.
just GARS.
tho some said vblogetin doestwork ..other hand some have it working...

welll..go for it..any probs report to mOo.

kontrabass 03-15-2007 02:35 PM

Sorry for my ignorance - but what is the advantage of using this hack, rather than just using vB_Datastore_Filecache and letting xcache cache the files?

pollon 03-15-2007 09:04 PM

I'm ignorant too about this Mod.
- Does this mod reduce the server load so my forum is faster?
- Are there any positive consequences to use of bandwith?

Zia 03-16-2007 04:30 AM

Quote:

Originally Posted by kontrabass (Post 1204175)
Sorry for my ignorance - but what is the advantage of using this hack, rather than just using vB_Datastore_Filecache and letting xcache cache the files?


helo kontrabass, xcache will cache ur php file by defult.but if u want to cache ur database ..u can use it.
Yes there are positive out put for that.

Quote:

I'm ignorant too about this Mod.
- Does this mod reduce the server load so my forum is faster?
- Are there any positive consequences to use of bandwith?
Yes..Xcache reduce server load & makes froum faster & smoother....& while u use this mods.. it will make ur forum more faster..like:
after install mods...
2 query reduced at my forum home....
and i was really wonder it reduce +4 query at aracde pages
so other pages...as i think...forum is more faster now

NeutralizeR 03-16-2007 08:15 AM

vBadvanced doesn't work. No modules are displayed.

Anybody has a fix for vBadvanced with XCache datastore cache enabled?

like this:
https://vborg.vbsupport.ru/showpost....5&postcount=55

Zia 03-16-2007 03:58 PM

Quote:

Originally Posted by NeutralizeR (Post 1204705)
vBadvanced doesn't work. No modules are displayed.

Anybody has a fix for vBadvanced with XCache datastore cache enabled?

like this:
https://vborg.vbsupport.ru/showpost....5&postcount=55

hello...
please submit a ticket
http://trac.lighttpd.net/xcache/newticket

mOo is taking care of every single ticket related to vb...u will have reg. there (5 sec. register)

Please submit a ticket...with all the info...ur facing

Thanx.

magnus 03-16-2007 04:07 PM

Nice. Shaved my FORUMHOME queries to 5. Definately makes a difference, good job!

da420 03-16-2007 09:23 PM

Hey Zachariah,

Thanks for this, but where do I made these changes?



Quote:

Originally Posted by Zachariah (Post 1197515)
I have not installed this but I have fixed PhotoPost vBgallery to work with Memcache.
- I think it will support other external cache programs also.

The problem was the way the original scripts are designed.

I do not have a full list but I am changing old calls to datastore items for vBgalery 2.2.

EX:

New:
Code:

$categorycache =& $vbulletin->gallery_c_cache;
$galleryoptions =& $vbulletin->adv_gallery_opt;
$gallery_permissions =& $vbulletin->gallery_ugroups;

vs. old way
Code:

$categorycache = unserialize($vbulletin->gallery_c_cache);
$galleryoptions = unserialize($vbulletin->adv_gallery_opt);
$gallery_permissions = unserialize($vbulletin->gallery_ugroups);

I have a windows system w/ memcache enabled and the gallery working with the new changes. With the current code in the gallery APC, Memcached setting stop the gallery from working.


I will also change the code to build datastore.

New:
Code:

build_datastore('name',serialize($field),1);
Old:
Code:

build_datastore('name',serialize($field));
Changes as these may also fix other scripts out there.


Freezerator 03-16-2007 09:31 PM

Really nice mod. Has anyone tested this with vbSEO?

Also waiting till the vbadvanced bug is confirmed of fixed :)
Keep up the great works on this one!

nix 03-16-2007 09:35 PM

Quote:

Originally Posted by Freezerator (Post 1205150)
Really nice mod. Has anyone tested this with vbSEO?

Also waiting till the vbadvanced bug is confirmed of fixed :)
Keep up the great works on this one!

I'm using it with vbSEO with no problems.

Zia 03-17-2007 02:09 AM

Quote:

Originally Posted by Freezerator (Post 1205150)
Really nice mod. Has anyone tested this with vbSEO?

Also waiting till the vbadvanced bug is confirmed of fixed :)
Keep up the great works on this one!

www.golpo.net

vbseo 3 RC8 .Ioncube Version.

Working without any single issue.
but may be-...maybe...maybe...there will be conflict with Zend Version.

magnus 03-17-2007 01:49 PM

Quote:

Originally Posted by Zia (Post 1205320)
www.golpo.net

vbseo 3 RC8 .Ioncube Version.

Working without any single issue.
but may be-...maybe...maybe...there will be conflict with Zend Version.


Yea, XCache will not work with Zend. They are mutually exclusive. I had to switch to ionCube.

Zia 03-17-2007 03:10 PM

ya magnus,
Zend(zend ext. manager) wont work with Xcache.
from the begeining we are on ioncube n its wroking flawless :)

nix 03-17-2007 05:43 PM

Also using Ioncube and have no issues with it so far.

vbSEO and vbadvanced both work.

Zia 03-18-2007 06:19 AM

Quote:

Originally Posted by nix (Post 1205748)
Also using Ioncube and have no issues with it so far.

vbSEO and vbadvanced both work.

very strange.....vbAdvance CMPS is working for u w/o any probs...

some is facing problem..then must be they ar3 doing something wrong...

Adrian Schneider 03-19-2007 01:47 AM

vBlogetin doesn't use vBulletin's datastore functionality, which means this hack will not affect it.

Code Monkey 03-31-2007 05:04 AM

This is great, thanks for your work on this. It's working great for me. Except it kills vBadvanced. So I put the following in config.php until I figure out why.

PHP Code:

if(!defined('VBA_SCRIPT'))
{
    
$config['Datastore']['class'] = 'vB_Datastore_XCache';


I also found that if you are running more than one instance of vBulletin on the same server then you need to put the following above the declaration of the datastore class in config.php (above)

PHP Code:

$config['Datastore']['prefix'] = 'prefixchoice'

Of course you need to choose a unique prefix for each site. The table prefix will do.

Code Monkey 03-31-2007 05:31 PM

One thing I have noticed is that cron scripts that update the datastore for third party products don't update the copy in xcache.


All times are GMT. The time now is 01: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.02323 seconds
  • Memory Usage 1,849KB
  • 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
  • (8)bbcode_code_printable
  • (4)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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