Closed (won't fix)
Project:
Node import
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2006 at 12:50 UTC
Updated:
3 May 2008 at 09:13 UTC
When attempting to import a cvs file that contained values for Start and End Year, Month, Day, Hour and Minute I received the following error message:
Fatal error: Call to undefined function: event_timezone_map() in /home/luna/public_html/spd/modules/node_import/import_event.inc on line 88
I'm not sure if this is a bug or a problem with my configuration relating to the timezone offset. I didn't change it when I created the account, so it was at the default GMT setting. I then updated my timezone setting and got the same error.
Roger
Comments
Comment #1
dado commentedSeems to be a problem with recent change to event module. See my bug report here.
http://drupal.org/node/64701
Comment #2
KSA213755 commentedThanks for the link.
Comment #3
dado commentedIt seems that the code for import_event.inc needs to be changed. The event module is making some new assumptions if the jscalendar module is installed. I think we can no longer call an event module validation function directly but rather replicate some of the desired code therein.
Specifically, this line (#61) of code in import_event.inc
must be replaced with something like this:
I will test this code when I get the chance. Anyone who wishes to try it or suggest alternative fix is of course welcome.
Comment #4
dado commentedI think this line of code must be added at the very beginning
Comment #5
Robrecht Jacques commentedVersions 4.6 and 4.7 are no longer supported. If this bug is still present in the 5.x version, please reopen this issue.
The 5.x version includes this timezone file.
Setting it as "won't fix".