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

erikhanson’s picture

An update: I am using views version 5.x-1.5

erikhanson’s picture

I have now updated CCK to 5.x-1.5 and Views to 5.x-1.6-beta4

erikhanson’s picture

Category: support » bug

Now 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?

KarenS’s picture

Status: Active » Fixed

The 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.

Anonymous’s picture

Status: Fixed » Closed (fixed)