Bug PHP 7.1 throws error when selecting Memcached

Status
Not open for further replies.

furnival

Customer
FYI: I have the latest version of Memcached running on PHP 7.1. When I selected Memcached as a caching option in VB Optimise's control panel I got this error:

Code:
Fatal User Error: The Memcached class is no longer supported, please update your config to use Memcache in ..../includes/class_datastore.php on line 23

I was told to "update" to Memcache even though Memcache is obsolete! :D

I am now successfully using Redis so it's no big deal, more of an FYI.
 
This has nothing to do with vboptimise, this is a issue with vbulletin & 4.2.5

Use the following in config.php, if you have the memcached array in config.php, change it back to the original coding as well, the array crap does work, but its a pita & wasnt even finished by the moron dev at vbulletin that added it.

PLEASE NOTE: Its no longer "memcached", its "memcache", also install the php pecl memcache module.

//$config['Datastore']['class'] = 'vB_Datastore_Memcache';

/* #### MEMCACHE SETTINGS #### */
//$config['Datastore']['class'] = 'vB_Datastore_Memcache';
//$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;
 
Status
Not open for further replies.

Legacy vB Optimise

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,972
Customer rating
0.00 star(s) 0 ratings
Back
Top