Hows this for complicated. I installed the date module ver 2.0rc (http://drupal.org/project/date) along with the token module ver 1.10 (http://drupal.org/project/token) and I get the following error when I try to run the Backup and Migrate.

Fatal error: Cannot redeclare date_token_list() (previously declared in /var/www/test/sites/all/modules/date/date/date.module:361) in /var/www/test/sites/all/modules/token/token_cck.inc on line 226

I did upgrade the date module from 1.7 to 2.0. I did completely remove the 1.7 version before installing 2.0

I know it suggests that something is wrong with the token module but the error goes away when I remove the date module. Does anyone have any thoughts on this?

thanks
Selwyn

Comments

ronan’s picture

Sounds like this is an issue with the new version of date and token. From your description, I would guess that the new version of date provides it's own token support and the token module is still providing date-token support itself. I'd suggest posting this issue to the token queue, assuming it is not already there yet.

selwynpolit’s picture

Thanks Ronan,
I posted it there.

btw. I installed the dev version (5.x-1.x-dev) of the token module and the problem went away. Of course the folks doing the token module say not to use the dev version as it will introduce lots of bugs - I hope not.

Selwyn

ronan’s picture

Status: Active » Closed (fixed)

good luck getting this to work for you