napolion Опубликовано 1 ноября, 2023 Поделиться Опубликовано 1 ноября, 2023 Hello, I just updated to this latest version and Clear caches does not work Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Respected Опубликовано 1 ноября, 2023 Поделиться Опубликовано 1 ноября, 2023 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' ); } } Ishidarex77, Zero108 и Xontero 3 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
napolion Опубликовано 2 ноября, 2023 Автор Поделиться Опубликовано 2 ноября, 2023 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 Zero108 1 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Respected Опубликовано 2 ноября, 2023 Поделиться Опубликовано 2 ноября, 2023 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. Ishidarex77 и napolion 2 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
napolion Опубликовано 2 ноября, 2023 Автор Поделиться Опубликовано 2 ноября, 2023 Magnificent. You are very kind, thank you very much Ishidarex77 1 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Рекомендуемые сообщения
Присоединяйтесь к обсуждению
Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.
Примечание: Ваш пост будет проверен модератором, прежде чем станет видимым.