Hi,

I'm trying to create a calendar using the calendar module and the date module, in order to display forthcoming events. I've installed the latest version of Calendar, Date, CCK and Views but when I go to enable the date module I receive the following error:

Fatal error: Class date_views_argument_handler: Cannot inherit from undefined class views_handler_argument_date2 in /home/thegreat/public_html/community/sites/all/modules/date/date/date.views.inc on line 49

Each module is up to date and I can't see what the problem is

Any ideas?

Comments

KarenS’s picture

Status: Active » Fixed

Bump up to latest -dev versions of Date and Views (and Calendar, if you're using it).

When you're using beta code, 'up to date' means the latest -dev version.

GPirie’s picture

Thanks, but I'm still having problems with this. I uploaded the latest dev version of Date and received the following error:

Fatal error: Class date_api_argument_handler: Cannot inherit from undefined class views_handler_argument_date in /home/thegreat/public_html/community/sites/all/modules/date/date_api.views.inc on line 96

I've since returned to the beta version and after enabling PHP Filter, then Date PHP 4, Date Popup and Date Repeat API are enabled successfully, but date timezone and date will still not work and the following error is received.

Fatal error: Call to undefined function: timezone_identifiers_list() in /home/reachfur/public_html/beyond9to5/sites/all/modules/date/date_timezone/date_timezone.install on line 208

Any ideas?

gvdvenis’s picture

Status: Fixed » Active
KarenS’s picture

Status: Active » Fixed

I just released a new 6.2-beta2 version for Date, so update to the latest code for both Date and also get the latest -dev version of the Views module, which has some date-related changes that are needed for the Date views handling.

If you still have problems after that, open a new issue marked with the beta2 version so I know it's still a problem there.

Fayna’s picture

Just wanted to confirm that upgrading to the latest -dev version of Views fixes the problem. Thanks!

GPirie’s picture

It didn't solve it unfortunately, although I now receive a different error

KarenS’s picture

Unless you give me some kind of clue what error you received there's nothing I can do with this report.

GPirie’s picture

The error that is receive is:

Fatal error: Call to undefined function: timezone_identifiers_list() in /home/thegreat/public_html/community/sites/all/modules/date/date_timezone/date_timezone.install on line 213

Fuzzytek’s picture

Same situation as ExiledICT and Views-6.x-2.0-beta4.tar.gz is installed now (which appears to be a sizeable change from prior releases, went from 241kb to 2698kb.)

KarenS’s picture

#8 That is a completely different error from the one originally reported in this issue, you need to open a new issue for a different error. If you get the message that timezone_identifiers_list is an undefined function, you need the Date PHP4 module. That is a native function in PHP 5.2.

adminfor@inforo.com.ar’s picture

Seems that you are running PHP 4.x

I've both PHP versions installed in my server, but PHP 4.x is now the default.

So, I've added in the home .htaccess for this Drupal 6.x installation the handler instructions to manage all php as php5 and timezone install went fine

AddHandler application/x-httpd-php5 .php

hope this helps

Anonymous’s picture

Status: Fixed » Closed (fixed)

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