Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 19, 20231 yr Hi, My forum is functioning slowly; the only hint I have is the l support center dashboard that indicates a pumped-up folder log with a 139.03 MB log table. Most of the logs are irrelevant anymore and fixed. Can it be the root cause? Maybe if I empty the folder, think will start moving faster. Edited August 19, 20231 yr by LiveG
August 19, 20231 yr 4 minutes ago, LiveG said: My forum is functioning slowly; the only hint I have is the l support center dashboard that indicates a pumped-up folder log with a 139.03 MB log table. What logs would those be? If you click the Fix This button, what do you see?
August 19, 20231 yr Author DivisionByZeroError: Division by zero in /var/www/html/uploads/template_20_77e511f3f597b974567a95c3a1860bbf_plugins.php:18490 Stack trace: #0 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_global_plugins->MVN_postCustom() #1 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(2163): IPS\Theme\_SandboxedTemplate->__call() #2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->postContainer() #3 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(5584): IPS\Theme\_SandboxedTemplate->__call() #4 /var/www/html/system/Theme/Theme.php(951) : eval()'d code(125): IPS\Theme\class_forums_front_topics->topic() #5 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\hook1083->topic() #6 /var/www/html/applications/forums/modules/front/forums/topic.php(611): IPS\Theme\_SandboxedTemplate->__call() #7 /var/www/html/init.php(932) : eval()'d code(31): IPS\forums\modules\front\forums\_topic->manage() #8 /var/www/html/init.php(932) : eval()'d code(59): IPS\forums\modules\front\forums\marktopic_hook_code_forums_modules_front_topic->manage() #9 /var/www/html/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\topicsview_hook_insertviewstopic->manage() #10 /var/www/html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #11 /var/www/html/init.php(932) : eval()'d code(16): IPS\Content\_Controller->execute() #12 /var/www/html/applications/forums/modules/front/forums/topic.php(39): IPS\Content\templates_hook_TemplateController->execute() #13 /var/www/html/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute() #14 /var/www/html/index.php(13): IPS\_Dispatcher->run() #15 {main} 286 DivisionByZeroError: Division by zero in /var/www/html/uploads/template_20_77e511f3f597b974567a95c3a1860bbf_plugins.php:18490 Stack trace: #0 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_global_plugins->MVN_postCustom() #1 /var/www/html/uploads/template_20_7a734b11232065691bc1176040cb26ad_topics.php(2164): IPS\Theme\_SandboxedTemplate->__call() #2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_forums_front_topics->postContainer() #3 /var/www/html/uploads/template_20_7a734b11232065691bc1176040cb26ad_topics.php(5585): IPS\Theme\_SandboxedTemplate->__call() #4 /var/www/html/system/Theme/Theme.php(951) : eval()'d code(125): IPS\Theme\Cache\class_forums_front_topics->topic() #5 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\hook1083->topic() #6 /var/www/html/applications/forums/modules/front/forums/topic.php(611): IPS\Theme\_SandboxedTemplate->__call() #7 /var/www/html/init.php(932) : eval()'d code(31): IPS\forums\modules\front\forums\_topic->manage() #8 /var/www/html/init.php(932) : eval()'d code(59): IPS\forums\modules\front\forums\marktopic_hook_code_forums_modules_front_topic->manage() #9 /var/www/html/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\topicsview_hook_insertviewstopic->manage() #10 /var/www/html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #11 /var/www/html/init.php(932) : eval()'d code(16): IPS\Content\_Controller->execute() #12 /var/www/html/applications/forums/modules/front/forums/topic.php(39): IPS\Content\templates_hook_TemplateController->execute() #13 /var/www/html/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute() #14 /var/www/html/index.php(13): IPS\_Dispatcher->run() #15 {main} 113 DivisionByZeroError: Division by zero in /var/www/html/uploads/template_20_77e511f3f597b974567a95c3a1860bbf_plugins.php:7971 Stack trace: #0 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_global_plugins->MVN_hoverCards_customStyle7() #1 /var/www/html/uploads/template_20_af46883c13caa197f9e387620d19e6ec_profile.php(553): IPS\Theme\_SandboxedTemplate->__call() #2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_profile->hovercard() #3 /var/www/html/applications/core/modules/front/members/profile.php(475): IPS\Theme\_SandboxedTemplate->__call() #4 /var/www/html/system/Dispatcher/Controller.php(107): IPS\core\modules\front\members\_profile->hovercard() #5 /var/www/html/applications/core/modules/front/members/profile.php(81): IPS\Dispatcher\_Controller->execute() #6 /var/www/html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\members\_profile->execute() #7 /var/www/html/index.php(13): IPS\_Dispatcher->run() #8 {main} 17 DivisionByZeroError: Division by zero in /var/www/html/uploads/template_21_77e511f3f597b974567a95c3a1860bbf_plugins.php:18490 Stack trace: #0 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_global_plugins->MVN_postCustom() #1 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(2163): IPS\Theme\_SandboxedTemplate->__call() #2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->postContainer() #3 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(5584): IPS\Theme\_SandboxedTemplate->__call() #4 /var/www/html/system/Theme/Theme.php(951) : eval()'d code(125): IPS\Theme\class_forums_front_topics->topic() #5 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\hook1083->topic() #6 /var/www/html/applications/forums/modules/front/forums/topic.php(611): IPS\Theme\_SandboxedTemplate->__call() #7 /var/www/html/init.php(932) : eval()'d code(31): IPS\forums\modules\front\forums\_topic->manage() #8 /var/www/html/init.php(932) : eval()'d code(59): IPS\forums\modules\front\forums\marktopic_hook_code_forums_modules_front_topic->manage() #9 /var/www/html/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\topicsview_hook_insertviewstopic->manage() #10 /var/www/html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #11 /var/www/html/init.php(932) : eval()'d code(16): IPS\Content\_Controller->execute() #12 /var/www/html/applications/forums/modules/front/forums/topic.php(39): IPS\Content\templates_hook_TemplateController->execute() #13 /var/www/html/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute() #14 /var/www/html/index.php(13): IPS\_Dispatcher->run() #15 {main} 15 Error: Cannot use a scalar value as an array (0) #0 /var/www/html/applications/chatbox/sources/Rooms/Room.php(1150): IPS\chatbox\Rooms\_Room::cacheAjax() #1 /var/www/html/applications/chatbox/modules/front/chatbox/room.php(187): IPS\chatbox\Rooms\_Room->saveChatters() #2 /var/www/html/system/Dispatcher/Controller.php(107): IPS\chatbox\modules\front\chatbox\_room->ping() #3 /var/www/html/applications/chatbox/modules/front/chatbox/room.php(35): IPS\Dispatcher\_Controller->execute() #4 /var/www/html/system/Dispatcher/Dispatcher.php(153): IPS\chatbox\modules\front\chatbox\_room->execute() #5 /var/www/html/index.php(13):
August 19, 20231 yr Author I basically need to clear it all out in order to see what log returns. And I suspect the overload slows my forum. Tries to do it with the prune tool, but it limited to keeping 7 days logs. is there any other way? Edited August 19, 20231 yr by LiveG
August 19, 20231 yr Solution 2 minutes ago, LiveG said: I basically need to clear it all out in order to see what log returns. And I suspect the overload slows my forum.
August 19, 20231 yr I would suggest solving the problem that's causing the logs to begin with. A 'large' table won't slow things down but a plugin causing something to get logged a lot could. The table is automatically pruned, you don't need to manually clear it. You should probably disable the 'MVN; (or similar name) plugin until it's fixed.
August 19, 20231 yr Author 19 minutes ago, Stuart Silvester said: I would suggest solving the problem that's causing the logs to begin with. A 'large' table won't slow things down but a plugin causing something to get logged a lot could. The table is automatically pruned, you don't need to manually clear it. You should probably disable the 'MVN; (or similar name) plugin until it's fixed. Thanks. in the latest days, i took care of all the issues. It's old logs. i know it deletes automatically, but i can't wait six days; my forum is slow, i and i need to figure out why. I see now i have an error log of mail not sent secsefully; how can i remove them at the moment without waiting1 day? i have changed the configuration, not saving any more E mail logs because it could overload the DB. (Until the mail system will be fixed) Edited August 19, 20231 yr by LiveG
August 21, 20231 yr You cannot remove them within the platform without waiting for the period in which you have set to prune