Redis Cache By Xon

Redis Cache By Xon 2.17.2

No permission to download
@Xon ,
is it possible to run mutliple forums on the same machine with the same Redis instance? (Sorry, but I´m completly new to Redis.)
 
Hello Xon, my website is now hosted by Vimexx and Vimexx has its implementation of using redis.
It is to be activated via PHP en in DirectAdmin you have to configure Redis cache.

Screenshot_2020-01-13 web0083 zxcs nl - DirectAdmin v1 59 5.webp

Can I use your Redis add-on in combination with Vimexx Redis?
 
This appears to just be a UI around managing redis, it should just work as provided. You'll need to see the 'password' field in the XenForo configuration.
 
Hello Xon,
is this the right configuration in your eyes to have your add-on to work:

CSS:
$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'SV\RedisCache\Redis';
$config['cache']['config']  = array(
        'server' => '10.0.24.1',
        'port' => 22033,
        'password' => 'Z6QXxVHoQiUdSPrFxxpQ',
        'compress_data' => 6,
    );
 
@Xon One more bug, When multiple thread deleted from node with Batch update threads but Page nav not updated. Disabling add-on will be remove page navigation.

ScreenShot01319.webp
 
This is a feature where the thread totals in a forum are cached for a short while (there is an option to enable/disable it), but the bug is the cache isn't invalidated on bulk thread moves/deletes. For the most part people aren't going to notice with large number of threads in a forum, and smaller forums cache for a much shorter period of time to avoid it being noticable (5 minutes vs 1 hour or so?)
 
hi, after upgrading to 2.8.0 from 2.7.3 the admincp mainpage throws out
Code:
RedisException: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in src/XF/CacheFactory.php at line 226
Stack trace
#0 src/XF/CacheFactory.php(226): Redis->connect('', 6379, G)
#1 src/XF/CacheFactory.php(79): XF\CacheFactory->createRedisCache(Array)
#2 src/XF/CacheFactory.php(34): XF\CacheFactory->instantiate('Redis', Array)
#3 src/XF/App.php(639): XF\CacheFactory->create('Redis', Array)
#4 src/XF/Container.php(228): XF\App->XF\{closure}('CONTEXT_NAME', Array, Object(XF\Container))
#5 src/XF/App.php(2346): XF\Container->create('cache', 'CONTEXT_NAME')
#6 src/addons/SV/RedisCache/Repository/Redis.php(54): XF\App->cache('CONTEXT_NAME', false)
#7 src/addons/SV/RedisCache/XF/Admin/Controller/Index.php(13): SV\RedisCache\Repository\Redis->insertRedisInfoParams(Object(XF\Mvc\Reply\View), NULL, NULL)
#8 src/addons/SV/SearchImprovements/XF/Admin/Controller/Index.php(14): SV\RedisCache\XF\Admin\Controller\Index->actionIndex()
#9 src/addons/ThemeHouse/Donate/XF/Admin/Controller/Index.php(18): SV\SearchImprovements\XF\Admin\Controller\Index->actionIndex()
#10 src/XF/Mvc/Dispatcher.php(350): ThemeHouse\Donate\XF\Admin\Controller\Index->actionIndex(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:Index', 'Index', Object(XF\Mvc\RouteMatch), Object(ThemeHouse\Donate\XF\Admin\Controller\Index), NULL)
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(ThemeHouse\Donate\XF\Admin\Controller\Index), NULL)
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#15 src/XF.php(391): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}
no other page affected imho. An issue with Themehouses Donate AddOn that shows daily donations stats there? https://www.themehouse.com/xenforo/2/addons/donate
 
Can you share your $config['cache'] configuration, either here or via PM? There may be something unexpected that the add-on isn't liking.
 
Code:
$config['cache']['context']['CONTEXT_NAME']['provider'] = 'Redis';
This line is the broken configuration, I'ld recommend removing it.
 
Top Bottom