Hello, I installed both this module and the required token module on my Drupal installation. I did not configured any specific upload directory, but noticed that WHEN and ONLY WHEN upload path is enabled when I submit a content these warnings appear:

* warning: date() expects parameter 2 to be long, string given in /opt/www/drupal-5.6/sites/all/modules/token/token_node.inc on line 38.
* warning: date() expects parameter 2 to be long, string given in /opt/www/drupal-5.6/sites/all/modules/token/token_node.inc on line 39.
* warning: date() expects parameter 2 to be long, string given in /opt/www/drupal-5.6/sites/all/modules/token/token_node.inc on line 40.
* warning: date() expects parameter 2 to be long, string given in /opt/www/drupal-5.6/sites/all/modules/token/token_node.inc on line 41.
* warning: date() expects parameter 2 to be long, string given in /opt/www/drupal-5.6/sites/all/modules/token/token_node.inc on line 42.
* warning: date() expects parameter 2 to be long, string given in /opt/www/drupal-5.6/sites/all/modules/token/token_node.inc on line 43.
* warning: date() expects parameter 2 to be long, string given in /opt/www/drupal-5.6/sites/all/modules/token/token_node.inc on line 44.
* warning: date() expects parameter 2 to be long, string given in /opt/www/drupal-5.6/sites/all/modules/token/token_node.inc on line 45.
* warning: date() expects parameter 2 to be long, string given in /opt/www/drupal-5.6/sites/all/modules/token/token_node.inc on line 46.
* warning: date() expects parameter 2 to be long, string given in /opt/www/drupal-5.6/sites/all/modules/token/token_node.inc on line 47.
* warning: date() expects parameter 2 to be long, string given in /opt/www/drupal-5.6/sites/all/modules/token/token_node.inc on line 48.
* warning: date() expects parameter 2 to be long, string given in /opt/www/drupal-5.6/sites/all/modules/token/token_node.inc on line 49.

Drupal version: 5.6
Token module version: 5.x-1.9

Comments

pmiranda’s picture

Sorry, just noticed it's a duplicate of another issue.

choster’s picture

Status: Active » Closed (duplicate)

Marking as duplicate of http://drupal.org/node/208450 .