GiulioPua Posted August 25, 2022 Posted August 25, 2022 Hi there! By opening any topic I have this issue: Error: Class "IPS\Theme\Cache\class_forums_front_topics" not found (0) #0 /home/italians/public_html/forum/system/Theme/Theme.php(951): eval() #1 /home/italians/public_html/forum/system/Theme/Cache/Template.php(108): IPS\_Theme::overloadHooks('class_forums_fr...', 'IPS\\Theme\\Cache') #2 /home/italians/public_html/forum/system/Theme/Theme.php(802): IPS\Theme\Cache\_Template->exists() #3 /home/italians/public_html/forum/applications/forums/modules/front/forums/topic.php(573): IPS\_Theme->getTemplate('topics') #4 [internal function]: IPS\forums\modules\front\forums\_topic->manage() #5 /home/italians/public_html/forum/init.php(927) : eval()'d code(20): call_user_func_array('parent::manage', Array) #6 /home/italians/public_html/forum/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\hook563->manage() #7 /home/italians/public_html/forum/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #8 /home/italians/public_html/forum/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute() #9 /home/italians/public_html/forum/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute() #10 /home/italians/public_html/forum/index.php(13): IPS\_Dispatcher->run() #11 {main} Already cleared cache from support area, but didn't work. Nothing was installed or disinstalled before this error happened
GiulioPua Posted August 25, 2022 Author Posted August 25, 2022 It's again a "template disk caching" problem. Now I disabled that feature and everything works. How can I clear the disc cache to rebuild it? And why it may occur while I have 60 gb of free space on my disc?
Marc Posted August 25, 2022 Posted August 25, 2022 If its happening a lot, I would actually advise disabling it. Its not suitable for all server environments, and it seems in your case it isnt sobrenome 1
DawPi Posted August 25, 2022 Posted August 25, 2022 1 hour ago, Marc Stridgen said: Its not suitable for all server environments, Could you elaborate it a little?
Marc Posted August 25, 2022 Posted August 25, 2022 If your database is serving quicker than the disk, if files are not always being saved first time, if you are limited on disk space. There are a number of reasons that may be the case. Usually its when things arent being saved to disk properly or in a timely manner, and it leads to things like the above DawPi 1
Marc Posted August 25, 2022 Posted August 25, 2022 4 hours ago, GiulioPua said: How can I clear the disc cache to rebuild it? In answer to this question by the way. You can switch it to database, save, then switch it back.
GiulioPua Posted August 25, 2022 Author Posted August 25, 2022 3 minutes ago, Marc Stridgen said: In answer to this question by the way. You can switch it to database, save, then switch it back. Where should I switch it? Here? Is there another way to clean cache?
Marc Posted August 25, 2022 Posted August 25, 2022 Clear cache button in support in the top right will clear some, but possibly not what you need. You can also disable an application and enable an application With regard the setting it's the "Enable template disk caching?" setting on the "Server Environment" tab. If its switched on and you are having issues constantly, I would suggest leaving it off sobrenome 1
GiulioPua Posted August 25, 2022 Author Posted August 25, 2022 39 minutes ago, Marc Stridgen said: Clear cache button in support in the top right will clear some, but possibly not what you need. You can also disable an application and enable an application This is not working. If by disable application you mean this, it's also not working... But some time ago somebody from the support team did this (clearing template cache) and it worked! I just can't understand how...
Marc Posted August 25, 2022 Posted August 25, 2022 Have you switched off disk template cache, as recommended? I cant actually see where you are having issues on my end
GiulioPua Posted August 25, 2022 Author Posted August 25, 2022 15 minutes ago, Marc Stridgen said: Have you switched off disk template cache, as recommended? I cant actually see where you are having issues on my end yes, sure, when it's switched off everything works
Jim M Posted August 25, 2022 Posted August 25, 2022 3 hours ago, GiulioPua said: yes, sure, when it's switched off everything works That would be your solution then, it is not suitable for your environment 😉
Recommended Posts