Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The new version is not triggering hourly cron in my Drupal 5 site. There is no error message in the log even. Can someone help ?
By the way Cron is working in my Drupal 6 site
Subbu
Comments
Comment #1
Dave ReidCheck a couple of things for me:
1. You were sure to run update.php after putting in the new files.
2. You have it set up properly at your admin/settings/site-information page (the one option near the bottom)
3. Double check your site's source code and you see a 'cronCheck' JavaScript variable in the <head> section.
4. Double check that the poormanscron.js files is included in your site's source code in the <head> section.
Comment #2
Dave ReidI also fixed a bug in the upgrade path that didn't properly bring your cron interval to the new setting. So double check your admin/settings/site-information page and make sure 'Automatically run cron' isn't set to 'Never'.
Comment #3
shariharan CreditAttribution: shariharan commentedThanks for the reply. I have set the cron to run at every hour. I did run Update.php. I will check 3 & 4. I forgot to mention that cron was running fine till the current upgrade.
Update : I see the js file, but the cronCheck variable is missing on the head section
Comment #4
apaderno@subru77: What is about the point #4? Is the file poormanscron.js being loaded?
Comment #5
Dave Reid@subru77: Can you provide link to your site to help us debug? If you don't want to post it here, you can use my contact form (link my name and use the 'Contact' tab). In the meantime can you also try on a different (perferrably core) theme to see if its theme related?
@kiamlaluno: He does say in #3 that he sees the js file being included.
Comment #6
shariharan CreditAttribution: shariharan commentedSorry for the delay.. I was away for a while.
The site is in a private LAN. So I am not able to share it with you. I changed the theme. But I am not seeing the cronCheck variable. I am pasting the HTML head code below
Thanks again guys for helping out
Comment #7
Dave Reid"cron": { "basePath": "/poormanscron", "runNext": 1264643454 }
is what we were looking for, so it looks like it should be working properly. On your admin/logs/watchdog page, you haven't seen any 'cron' messages saying 'Cron run completed.'?Also double your browser's JavaScript console while browsing your site. There may be some other JavaScript causing an error. When that happens usually no other JavaScript get executed, so that could be preventing it from running.
Comment #8
zcferres CreditAttribution: zcferres commentedI am having the same issues as him with the same version. Mine also has the js include, the site information config is proper, the variables are added, and update has been run.
Any other ideas?
Comment #9
Dave Reid@zcferres See the questions I asked in #7. Same applies for you too. :)
Comment #10
treksler CreditAttribution: treksler commentedsame thing happens here
this does not work ... jquery update may be the culprit
all the variables look fine and this would work but it never gets this far
however, this does not seem to do anything either
the Safari error console contains "Failed to load resource: cancelled" even though the path looks ok and can be accessed manually
Comment #11
shariharan CreditAttribution: shariharan commentedThanks all, We migrated to Drupal 6. So the problem is fixed for me. I am not sure if 5.x still has the problem.
Comment #12
lias CreditAttribution: lias commentedIs this still an issue or has it been fixed with 2.1? I'm concerned about upgrading my drupal 5 site and upgrading to 6x isn't an option at this stage.
Thanks.
Comment #13
treksler CreditAttribution: treksler commentedthis is an issue in 2.1 in Drupal 5.x .. I am stuck with using 1.2 :(
Comment #14
TechNikh CreditAttribution: TechNikh commentedI have the same issue in 5.x-2.1.
I don't see any javascript errors in firebug console
Comment #15
apadernoI am closing this issue, which is for a not supported Drupal version.