View Full Version : Not support for Datastore APC? (vb 3.6)
Acido
08-13-2006, 08:53 PM
Hi
Like other users i had problems running vbadvanced CMPS 2.2.0 with vbulletin 3.6 using Datastore for APC (modules doesn't work).
Please check this thread: vBadvanced 2.2 and vB 3.6 Final (http://www.vbadvanced.com/forum/showthread.php?t=17092)
Deactivating the class vB_datastore_APC all run fine in my board. Can you confirm if really vbadvanced is not supporting datastore for APC class?
Thank you.
Acido
08-15-2006, 11:36 PM
Please update the thread prefix to vb 3.6.X
Sorry for bump this thread after 48hs, but i think that it's a important point to clarify.
Hi,
I have the same problems with vbadvanced Links and Photopost vbgallery both didn`t support APC Datastore.
Zachery
08-19-2006, 09:29 PM
At this time we are not supporting the APC class, I'd suggest using the filecache method.
Acido
08-21-2006, 03:48 PM
At this time we are not supporting the APC class, I'd suggest using the filecache method.
Is under consideration add support for APC? Can we expect some update?
Mickie D
08-21-2006, 08:05 PM
yeah i have to agree that you should support APC its a very very effective way to use the datastore probably 50% more effective than filesystem and vbulletin supports this without hesitation ?
Regards
Mickie
Zachery
08-22-2006, 02:28 AM
Without storing the datastore in APC you can already store it in apc by using the file cache, apc should cache this file.
I'm not actually sure whats causing the problems and I'll see if I can have brian look at it.
Mickie D
08-26-2006, 05:09 AM
cheers zachery
it 100% is a conflict with the APC as soon as i turn off in the config file its works 100%, i have to have apc as i have a busy forum and it dramaticly increases performance but i also have to have vbadvanced lol
so looking forward to a fix :)
thanks
Zachery
08-26-2006, 06:32 PM
Like I said, use the filecache method, it will sitll help considerably
Mickie D
08-27-2006, 05:54 PM
i am because my members need the portal
but would there be a fix for this or should i look for another portal and believe me im not posting that to try and upset anyone but because i have a large forum and making her as load free is my main interest m8
thanks look forward to your reply
Mickie D
09-10-2006, 08:23 AM
just checking back to see if datastore has been fixed for the portal ?
would be really nice fix to make
Zachery
09-10-2006, 11:30 AM
Not at this time, I apologize.
Mickie D
10-10-2006, 04:01 PM
Not at this time, I apologize.
any news on this poeple ? i really need APC support for the portal i would be willing to pay for a fix ;)
cheers for any info
Brian
10-10-2006, 04:59 PM
I've never used APC, so it looks like I'll need to install it locally and play around with things. I'm going to be away this evening and most of the day tomorrow, but will try to look into it on Thursday.
Acido
10-10-2006, 06:26 PM
All Ok Brian.
If help, i know that several users have vbulletin running with APC. Be sure that this request (or suggestion) have many people interested.
Kind Regards.
Mickie D
10-11-2006, 06:14 PM
brian you are a star APC is a memmory caching program that speeds up vbulletin and makes all the difference to big sites
thanks again m8 i really am grateful
Regards
Mickie D
Brian
10-12-2006, 03:00 PM
I think getting APC installed took about 50 times longer than finding the solution to the problem. :p
For those who have been having a problem with the CMPS and APC, download the attached file below, upload it to your forum/includes/ folder (overwriting the existing one), set your datastore class option in your config.php file back to 'vB_Datastore_APC', and then restart Apache.
Please note that I have only tested this locally so far, but the new changes in the attached file did the trick for me. I don't see any reason why it wouldn't work for everyone else as well, but I'm adding this disclaimer just to be safe. ;)
Once you guys have tried this out, please let me know if it did take care of the problem so I can be sure to include the fix in vBa CMPS 2.2.1, and vBa Links 2.0 RC1.
rodentx
10-12-2006, 06:41 PM
Other than copying the 'vba_cmps_include_top.php' into the /includes folder and then adding the following line...
$config['Datastore']['class'] = 'vB_Datastore_APC';
...to the config.php file, I understand that the following...
extension=apc.so
extension="/usr/lib/php/extensions/no-debug-non-zts-20020429/apc.so"
apc.shm_size = 32
...needs to be added to the php.ini file within your server.
Is there anything else I'm missing because I'm still getting the Server 500 errors when accessing the CMPS index.
RaZor Edge
10-25-2006, 09:21 PM
Can someone confirm that it is working now with Brian fix?
Zachery
10-26-2006, 09:37 AM
Not as of yet.
I can make brian fix it by installing APC here ;)
Brian
10-26-2006, 11:14 AM
rodentx - Sorry I missed your post. Changing those settings and restarting Apache should be all that's necessary.
RaZor Edge - I do have APC installed locally and vBa CMPS 2.2.1 is running fine with it on my computer. Unfortunatly I haven't gotten any conformation that it's working well on a live server yet though.
Zach - Don't make me hurt you. ;)
Acido
10-26-2006, 05:44 PM
Can someone confirm that it is working now with Brian fix?
My installation is working perfectly after the fix. Really improved perfomance :)
Thank you Brian !
RaZor Edge
10-27-2006, 02:05 AM
Great! It seems to work great for me too!
Brian
10-27-2006, 11:41 AM
Glad to hear it. :)
tad94564
10-30-2006, 09:19 PM
I also added a check for the memcache datastore, and it makes it work better under that.. However, two third party modules (photopost and reviewpost) don't show up when memcache is on.
I'm also running with eaccellerator, under Fedora Core 5 (php5, mysql 5)
EvilHawk
10-31-2006, 10:18 AM
Both vBadvanced CMPS v2.2.1 (vB 3.6) and vBadvanced Links Directory v2.0 RC1 worked fine with the fix! ;)
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.