LPH
Well-known member
Question:
How to track down why I cannot log in on a local environment with Libmemcached?
Background
I decided to match a local MAMP environment with the live production site.
1. Matched database name, username and password
2. Installed Homebrew
3. Installed memcached.so for PHP 7
4. Restarted MAMP
Once this was configured the WordPress side loaded fine but the XenForo side tossed errors for Undefined index, etc. These were all from my plugin, which I fixed immediately. Yay.
After my fixes, the sites are loading but I cannot log into XenForo. No errors are in the error logs.
My assumption is that this is due to cache. This is in the config.php
Any ideas?
How to track down why I cannot log in on a local environment with Libmemcached?
Background
I decided to match a local MAMP environment with the live production site.
1. Matched database name, username and password
2. Installed Homebrew
3. Installed memcached.so for PHP 7
4. Restarted MAMP
Once this was configured the WordPress side loaded fine but the XenForo side tossed errors for Undefined index, etc. These were all from my plugin, which I fixed immediately. Yay.
After my fixes, the sites are loading but I cannot log into XenForo. No errors are in the error logs.
My assumption is that this is due to cache. This is in the config.php
Code:
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'tux_';
$config['cache']['cacheSessions'] = true;
$config['cache']['backend'] = 'Libmemcached';
$config['cache']['backendOptions'] = array(
'compression' => false,
'servers' => array(
array(
'host'=>'localhost',
'port'=>'11211'
)
)
);
// Added 12/5/2014
$config['externalDataUrl'] = 'http://trn.tuxreports.netdna-cdn.com/community/data';
$config['javaScriptUrl'] = 'http://trn.tuxreports.netdna-cdn.com/community/js';
Any ideas?