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.
When updating Calendar and Date to the latest dev versions, it looks like there was an issue when running update.php and I lost my ical link for the block calendar and the main page calendar. The error I got was:
FAILED: $ret[] = update_sql("INSERT INTO {cache} (cid, data, expire, created, headers) SELECT cid, data, expire, created, headers FROM {calendar_ical}");
How do I recover from this? I tried looking in PHPMyAdmin with no luck on finding the calendar_ical row in cache, when I tried to add the row, it said it was a duplicate entry. I am not getting any error messages in my logs and everything else displays fine.
I am running drupal 5.1 and the 5.x-1.x-dev of both the calendar and date modules.
Comments
Comment #1
erikhanson CreditAttribution: erikhanson commentedAn update: I am using views version 5.x-1.5
Comment #2
erikhanson CreditAttribution: erikhanson commentedI have now updated CCK to 5.x-1.5 and Views to 5.x-1.6-beta4
Comment #3
erikhanson CreditAttribution: erikhanson commentedNow I am at a complete less, everything is updated, I now have the calendar_ical table created with all the fields in place. When I run the update script for the calendar_ical module I only get the drop table error for the cach_calendar_ical (which is right since the drop happened previously).
Really not sure where to go from here. Everything looks like it's where it should be in terms of the database, the logs show no errors, but I still don't get the ical link and icon. How can I fix this, what other steps do you recommend for debugging?
Comment #4
KarenS CreditAttribution: KarenS commentedThe ical image got removed from the Date API package accidentally, so the ical link wasn't showing up. It should be back now if you get the latest version of the Date API.
Comment #5
(not verified) CreditAttribution: commented