MyBB Community Forums
Broken Tasks - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Broken Tasks (/thread-224907.html)



Broken Tasks - ShadowOne - 2019-10-07

It's a while since my tasks aren't executed automatically.

Can't recall when this started, but I got convinced it was due to a theme change and got used to perform them manually. That went on until I changed my board theme once again, and now I see that Tasks aren't still executed automatically.

I'm using PHP 7.0, how can I check what's wrong?


RE: Broken Tasks - noyle - 2019-10-07

Check template task_image:
<img src="{$mybb->settings['bburl']}/task.php" width="1" height="1" alt="" />

And there must be at least one other template calling the above-mentioned template, usually the footer template whose content should have the following line:
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->



RE: Broken Tasks - ShadowOne - 2019-10-07

(2019-10-07, 05:01 PM)noyle Wrote: Check template task_image:
<img src="{$mybb->settings['bburl']}/task.php" width="1" height="1" alt="" />

And there must be at least one other template calling the above-mentioned template, usually the footer template whose content should have the following line:
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->

Indeed. Looks like both custom themes I've used missed the task_image.

I knew about that but didn't think it could be so simple. Thank you!