I get the following error when attempting to import an ICS from a google cal. There's probably something I did wrong. Any suggestions what to try would be appreciated.
Jeff
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /batch?id=16&op=do StatusText: OK ResponseText: Fatal error: require_once(): Failed opening required '/iCalcreator.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /srv/bindings/65572c4a506c4c16bda7e609bdcc5d5c/code/sites/all/modules/date_ical/includes/DateIcalIcalcreatorParser.inc on line 369
Calendar I attempted to load: https://www.google.com/calendar/ical/jason%40chattlab.com/public/basic.ics
THANK YOU TO ALL THAT SUPPORT THIS MODULE!
Comments
Comment #1
coredumperror CreditAttribution: coredumperror commentedHmmm, this could be caused by one of two problems:
1) You may not have the iCalcreator library installed properly. Please make sure that you've followed the instructions here, on the line that starts "To install the iCalcreator library".
2) You may, somehow, not have the Libraries 2.x module installed (I'm not sure if this is actually possible, since Libraries is a dependency for Date iCal). Be sure you have the latest version from here.
I'd also strongly recommend checking the
admin/reports/dblog
page on your site, to see if you find any other errors that relate to iCalcreator or Libraries.Please let me know if this solves your problem, so I can close this issue.
Comment #2
jeffjohnvol CreditAttribution: jeffjohnvol commentedThat did it! Thanks for your help. I will try to close that ticket (if its still open).
Comment #3
lsolesen CreditAttribution: lsolesen commentedThere should probably be a check for it under hook_requirements() so it would not happen?
Comment #4
jeffjohnvol CreditAttribution: jeffjohnvol commentedThis was an installation issue on my part. Too bad there isn't a status type of "closed - RTFM"
Comment #5
lsolesen CreditAttribution: lsolesen commentedI agree that the error could be fixed by installing the iCalcreator manually. However, a check to see whether the file is present, so a WSOD or fatal error could be avoided should certainly be present.
Comment #6
coredumperror CreditAttribution: coredumperror commentedYou're absolutely right, Isolesen. Date iCal 2 was badly misusing the Libraries APIs, and it's totally unacceptable that an improperly installed iCalcreator library was causing a crash.
I've fixed that problem in the 2.x and 3.x branches (3.x wasn't crashing, but it wasn't properly detecting an incorrectly installed iCalcreator, either). You can see the changes in git and in the latest dev build (whenever d.o gets around to building it).
I should probably push out version 7.x-2.13 at this point. I'm going to go do that.
Comment #7
lsolesen CreditAttribution: lsolesen commented@coredumperror Too cool :)