Status
Not open for further replies.

highflow

Customer
Hi all,

We've just installed vBoptimise.
With the System Test, only the Fetch Cache gives an error:

Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.

Our webhost is running Memcache on its webserver.

What can we do to fix this problem?

Thanks in advance.
 
Hi highflow,

First of all make sure your vBulletin configuration is assigned to memcache and the values are correct in includes/config.php, it'd look probably just like this:
Code:
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i]		= '127.0.0.1';
$config['Misc']['memcacheport'][$i]			= 11211;
$config['Misc']['memcachepersistent'][$i]	= true;
$config['Misc']['memcacheweight'][$i]		= 1;
$config['Misc']['memcachetimeout'][$i]		= 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;

After that the only other thing you can do is to make sure the memcache daemon is running on your server and has memory allocated, you'd need to ask your host if this service is running and with how much space - additionally the service should be running under a user that php won't have a problem interfacing with, typically the user is "nobody".
 
When I set it to Memcache:
$config['Datastore']['class'] = 'vB_Datastore_Memcached;

The forum doesn't work (internal server error) :S

My host also installed APC.

So now I've set vbo to APC.

In the config.php I've set:
$config['Datastore']['class'] = 'vB_Datastore_APC';

And now all tests works fine!!!

So I think I'll keep it this way.

Or is Memcached better than APC? If yes, then I'll contact my host for more information.
If that's the case, what should I exactly ask from my webhost?
 
In my opinion it is better yes, you can't just set the datastore to Memcache btw, you need to assign the memcache connection settings since it's a server as outlined in my post above before you assign memcache to the vB datastore.
 
I have the same error, but I am using xcache.

Right now:
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.

I was reading that maybe it's related to my xcache configuration on php.ini here is:
[xcache-common]
extension = "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 = "12345"
[xcache]
xcache.size = 128M
xcache.count = 1
xcache.slots = 8K
xcache.mmap_path = "/dev/zero"
xcache.cacher = On

Any idea?
 
Status
Not open for further replies.
Back
Top