Posted 1 ноября, 20231 yr comment_197199 Hello, I just updated to this latest version and Clear caches does not work Link to comment https://ipbmafia.ru/topic/26110-clear-caches-does-not-work/ Share on other sites Больше вариантов
1 ноября, 20231 yr comment_197200 Thanks, I have re-upload release. To fix this, open: /applications/core/modules/admin/support/support.php Find: protected function _checkUpgrades() { return FALSE; } Add after: /** * Clear caches for nulled * * @return void */ protected function clearCachesNull() { /* Check CSRF Key*/ \IPS\Session::i()->csrfCheck(); /* URL for redirect */ $md = \IPS\Request::i()->md; $ct = \IPS\Request::i()->ct; /* Clear JS Maps first */ \IPS\Output::clearJsFiles(); /* Reset theme maps to make sure bad data hasn't been cached by visits mid-setup */ \IPS\Theme::deleteCompiledCss(); \IPS\Theme::deleteCompiledResources(); foreach( \IPS\Theme::themes() as $id => $set ) { /* Invalidate template disk cache */ $set->cache_key = md5( microtime() . mt_rand( 0, 1000 ) ); $set->save(); } \IPS\Data\Store::i()->clearAll(); \IPS\Data\Cache::i()->clearAll(); \IPS\Output\Cache::i()->clearAll(); \IPS\Member::clearCreateMenu(); if( \IPS\Request::i()->isAjax() ) { \IPS\Output::i()->json( 'OK' ); } else { \IPS\Output::i()->redirect( \IPS\Http\Url::internal( "app=core&module={$md}&controller={$ct}" ), 'nulled_clear_caches_done' ); } } Link to comment https://ipbmafia.ru/topic/26110-clear-caches-does-not-work/?&do=findComment&comment=197200 Share on other sites Больше вариантов
2 ноября, 20231 yr Author comment_197218 Perfect. Is it the only problem, or is there one? I ask this because I already updated my community, and if this is just the problem, I will solve it by changing the code to this file, so as not to load everything again. Thank you very much in advance as always. One more question. I have been reading that you no longer want to continue doing this, of nulled Invision in the new version 5. I want to ask you not to walk away, I believe that you are the only one who can correctly nullify this community. Please don't walk away Link to comment https://ipbmafia.ru/topic/26110-clear-caches-does-not-work/?&do=findComment&comment=197218 Share on other sites Больше вариантов
2 ноября, 20231 yr comment_197219 34 минуты назад, napolion сказал: Perfect. Is it the only problem, or is there one? I ask this because I already updated my community, and if this is just the problem, I will solve it by changing the code to this file, so as not to load everything again. Yes that's the only problem. Link to comment https://ipbmafia.ru/topic/26110-clear-caches-does-not-work/?&do=findComment&comment=197219 Share on other sites Больше вариантов
2 ноября, 20231 yr Author comment_197234 Magnificent. You are very kind, thank you very much Link to comment https://ipbmafia.ru/topic/26110-clear-caches-does-not-work/?&do=findComment&comment=197234 Share on other sites Больше вариантов
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.