On Tuesday 10 October 2006 06:02, Jody Cleveland wrote:
Hello,
I'm trying to add an event, and when I try to, all I get is a blank page. When looking at my logs, I see this:
PHP Fatal error: Call to undefined function: event_timezone_map() in /var/www/html/drupal/modules/event/event.module on line 1890, referer: http://beta.menashalibrary.org/node/add
Line 1890 is this:
'#value' => event_timezone_map(variable_get('date_default_timezone', 0))
Any ideas what may be wrong?
- jody
Also, make sure you have
define('EVENT_PATH', drupal_get_path('module', 'event'));
in your event.module, and
include_once(EVENT_PATH .'/event_timezones.inc');
in there. In the copy I just downloaded, the last line is in there three times, and in event.theme once.
Another thing to consider is that your HTTP server is not specifically disallowing the use of .inc files.