I've just installed the Date API and enables the parts one by one to be able to activate Date Module for CCK.

The Date API and Date Timezone works fine (but for a while it always complained that I need to define a timezone name, but that's fixed now).

But when I try to install the Date CCK module I get the following error:

Fatal error: Class 'views_handler_argument_date' not found in /www/omyoga/sites/all/modules/date/date/date_views.inc on line 53

I've tried the solutions on http://drupal.org/node/250813 which makes no help.

I've even tried to move the views_handler_argument_date class from line 1345 to above the creation of date_views_argument_handler which extends the views_handler_argument_date in the date_views.inc

Do you have any other help about this? I can't even install the module.

Comments

alf nif’s picture

it seems as when I deactivate the Views modules I can install the Date module. But when I activate Views again I get the same respons but it comes up on all sites and shows nothing else.

Even the solution to go to /admin/build/views won't fix it.. All I see is the error message.

To get the site back I haveto deactivate the date module directly in the database

KarenS’s picture

Status: Active » Closed (duplicate)

Duplicate of http://drupal.org/node/250813. This should be fixed in the dev version and will go into the next release.

alf nif’s picture

Priority: Critical » Normal
Status: Closed (duplicate) » Closed (won't fix)

I've just installed the dev version from April 26, and it's not fixed.

I'm using Views 6.x-2.0-beta2 if it does any help.

KarenS’s picture

@alf nif, it doesn't do any good to report this here, this is a duplicate issue. You have to report it on the link I pointed you to. And you need to report if you are using PHP4 or PHP5, and check at the top of the date.views.inc file to make sure the version you're using has views_include_handlers() at the top of the file, which is the likely fix.