[support] Blank page when trying to add an event
Jason Flatt
drupal at oadae.net
Tue Oct 10 16:13:37 UTC 2006
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.
--
Jason Flatt
http://www.oadae.net/
Father of Six: http://www.flattfamily.com/ (Joseph, 13; Cramer, 11; Travis,
9; Angela; Harry, 5; and William, 12:04 am, 12-29-2005)
Linux User: http://www.sourcemage.org/
Drupal Fanatic: http://drupal.org/
More information about the support
mailing list