I have updated the code in the event module to function in 5.0. Thorough testing has yet to be done. Any feedback would be appreciated.

CommentFileSizeAuthor
event.zip19.08 KBevil_marty

Comments

fraew’s picture

i tried copying this to my 5.0 build and got an error:

Fatal error: Call to undefined function: event_get_offset() in /home/fraew/public_html/drupal5/modules/event/event.module on line 1994

ive since tried running update.php (including changing the 'upgrade.php' script to skip the access check) which produces the following:

* warning: main(modules/event/event.theme): failed to open stream: No such file or directory in /home/fraew/public_html/drupal5/modules/event/event.module on line 6.
* warning: main(modules/event/event.theme): failed to open stream: No such file or directory in /home/fraew/public_html/drupal5/modules/event/event.module on line 6.
* warning: main(modules/event/event.theme): failed to open stream: No such file or directory in /home/fraew/public_html/drupal5/modules/event/event.module on line 6.
* warning: main(): Failed opening 'modules/event/event.theme' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fraew/public_html/drupal5/modules/event/event.module on line 6.
* warning: main(modules/event/ical.inc): failed to open stream: No such file or directory in /home/fraew/public_html/drupal5/modules/event/event.module on line 7.
* warning: main(modules/event/ical.inc): failed to open stream: No such file or directory in /home/fraew/public_html/drupal5/modules/event/event.module on line 7.
* warning: main(modules/event/ical.inc): failed to open stream: No such file or directory in /home/fraew/public_html/drupal5/modules/event/event.module on line 7.
* warning: main(): Failed opening 'modules/event/ical.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fraew/public_html/drupal5/modules/event/event.module on line 7.

upandrunning’s picture

Tried to install also, with similar results.

killes@www.drop.org’s picture

Please provide small patches, not a big zipfile.

jeeves’s picture

I was able to get around the first set of errors by adding in the missing files from the module (ical.inc, event.them, event_timzones.inc, etc) from the 4.7 version (perhaps this was not such a good idea). This did stop the errors, but then events would not in the calendar. I could see them when I looked at the content page and could still edit them. I'm running drupal 5.1.

sun’s picture

Status: Active » Closed (duplicate)

Marking as duplicate of http://drupal.org/node/103695.

Please join forces instead of doing identical things from scratch.