Active
Project:
SimpleMenu
Version:
6.x-1.15
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2012 at 14:38 UTC
Updated:
21 Mar 2012 at 19:12 UTC
I installed simplemenu on a site that didn't want it visible to 'normal' users, just staff/administrative users. Shortly thereafter, I noticed that the drupal's cron wasn't being executed. Turns out curl was getting a 'page not found' page from Drupal.
After some experimentation I discovered that if I allow simplemenu to be visible to anonymous users, cron operates correctly.
I've read elsewhere that errors on the page will cause cron.php to bail before it actually executes, giving a 'page not found' error.
Comments
Comment #1
AlexisWilke commentedHi feaelin,
Do you get any information in your logs in regard to that problem?
I have many sites and they all use simplemenu for administrators and CRON never had a problem with it.
The simplemenu_init() function will be executed when cron.php runs, but the first thing being checked is whether the menu is enabled for that user. So the function is expected to return FALSE and the process stops there.
Thank you.
Alexis Wilke