The error is:
PHP Fatal error: Call to undefined function form_select() in /var/www/html/drupalnew/modules/node_import/supported/event.inc on line 85, referer: http://new.pin.footprint.net/admin/node/node_import
Here's a patch:
--- event.inc.old 2007-02-22 20:14:07.000000000 -0800
+++ event.inc 2007-02-22 20:13:19.000000000 -0800
@@ -82,7 +82,14 @@
if (event_is_enabled($type)) {
if (variable_get('event_timezone_input', 'site') == 'input') {
//TODO!
- return form_select(t('Time zone'), 'timezone', event_timezone_map(variable_get('date_default_timezone', 0)), event_zonelist(), t('Select the time zone all imported events occur in.'));
+ $form["timezone"] = array(
+ '#type' => 'select',
+ '#title' => t("Time zone"),
+ '#default_value' => event_timezone_map(variable_get('date_default_timezone', 0)),
+ '#options' => event_zonelist(),
+ '#description' => t("Select the time zone all imported events occur in."),
+ );
+ return ($form);
}
}
}
Comments
Comment #1
Robrecht Jacques commentedFixed in node_import 4.7.x-1.5.
Thanks a lot!
Comment #2
(not verified) commented