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.
| Comment | File | Size | Author |
|---|---|---|---|
| event.zip | 19.08 KB | evil_marty |
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.
| Comment | File | Size | Author |
|---|---|---|---|
| event.zip | 19.08 KB | evil_marty |
Comments
Comment #1
fraew commentedi 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.
Comment #2
upandrunning commentedTried to install also, with similar results.
Comment #3
killes@www.drop.org commentedPlease provide small patches, not a big zipfile.
Comment #4
jeeves commentedI 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.
Comment #5
sunMarking as duplicate of http://drupal.org/node/103695.
Please join forces instead of doing identical things from scratch.