I like the warning "The Date Timezone module requires you to set the site timezone name." that shows after enabling the date timezone module but before setting the timezone. However the warning also shows on the page immediately after setting the timezone. This might be a bit disconcerting to some users.

I guess that this is happening because the warning message is set while the form is loaded. Is there a way to disable the setting of the message if the page being loaded is the page on which one sets the timezone?

Comments

karens’s picture

Status: Active » Fixed

Makes sense. Committed. Thanks!

giggler’s picture

I've updated to the latest March 13, 2008 dev and the date and time configuration page is now blank. The message "The Date Timezone module requires you to set the site timezone name." is still there on all the other pages.

missym’s picture

I'm having the same problem. The message "The Date Timezone module requires you to set the site timezone name." is on all pages and I cannot access the page to update it. All I get is the white screen.

millions’s picture

Has there been any resolution or solution on this? I'm trying to install date/calendar and always have that message on my screen.

bleeuwen’s picture

Have the same problem too

millions’s picture

Status: Fixed » Postponed (maintainer needs more info)

maybe we needed to change the status? I'm new to Drupal, Thanks for any help Karen!

karens’s picture

Status: Postponed (maintainer needs more info) » Fixed

I think this is now fixed.

bleeuwen’s picture

I solved this message by disabling user-configurable time zones

qpal’s picture

Hi, I am still having the same problem with the Date module. I am using the 5.x-2.x-dev, disabling or enabling user-configurable time zones makes no difference.

karens’s picture

You won't get this message in the latest dev version. The latest version has this at the top:

// $Id: date_timezone.module,v 1.8.2.6 2008/04/03 10:32:29 karens Exp $

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

maxlobovsky’s picture

Version: 5.x-2.x-dev » 6.x-2.0-rc3
Status: Closed (fixed) » Active

I'm still having this problem with version 6.x-2.0-rc3, downloaded today.

denisgre’s picture

Hello Karen,

I am also seeing this. When I reset the date/time zone it is always at the top entry on the list. (Africa). My change does not seem to commit.

I will also check on the Timezone module and report back if needed.

Denis Grey.

denisgre’s picture

Hello Karen,

I have a report from here: http://drupal.org/node/311019 that links this problem to having the Event module installed with Calendar. This makes sense since I am evaluating both. This may allow you to either close this or evaluate further - it might be nice to have some defensive code against whatever is happening in the Event module.

Best,

Denis Grey.

karens’s picture

That is the problem, the Event module is interfering. I can't do anything 'defensive' because whatever the Date module does happens first, and is then overwritten by what the Event module does, which is why you can't use them together.

There is an issue on the Event module queue about getting them working together, which would take a simple fix in the Event module, but it's still sitting there.

I just got another thought, though. Maybe I can use '#after_build' to come back in after the Event module and make my changes. I'll have to think about that...

karens’s picture

Status: Active » Fixed

I fixed the Event/Date conflict at #240156: Conflict between Event and Date API.

webkenny’s picture

I do not have the Event module installed and this error occurs for me when enabling date_api via an installation profile. In version 5.x-2.3

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

webkenny’s picture

Status: Closed (fixed) » Active

I am reopening this issue as it is not fixed as indicated by response #17 where this still occurs even in the absence of the Event module. Although I am unsure what is causing it, I can provide more information in the form of all installed modules if necessary.

karens’s picture

Status: Active » Fixed

The message shows up one time after you set the timezone. I can't find any way to keep it from happening. It never shows up again after that so this is a very very tiny issue. There are a whole bunch of other things in this very old, convoluted thread, which has been switched from one version to another and shifted gears several times, and as far as I can tell all are fixed. If anything is still a problem in the latest code, open a new issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.