People seem to have a pretty hard time porting their tokens to Drupal 7 and causing lots of problems that get reported here, rather than possibly helping them debug it with more detailed information in the status report (admin/reports/status).

Comments

dave reid’s picture

Status: Active » Needs work
StatusFileSize
new6.98 KB

Initial revision to be worked on.

hass’s picture

+

Jerome F’s picture

Using the patch as is returns the following error message :
Fatal error: Call to undefined function token_find_duplicate_tokens() in /home/restofil/public_html/sites/all/modules/token/token.module on line 862
commenting out the lines 862 to 866 solves the problem temporarilly.

steinmb’s picture

Token dev Patch #1
Bumping this thread, same prob. as #3. we cannot rename/change the function token_find_duplicate_tokens() and then call it at line 862.

dave reid’s picture

Status: Needs work » Needs review
StatusFileSize
new6.56 KB

Revised patch.

dave reid’s picture

Status: Needs review » Needs work

Committed #5 to Git. Still needs improved reporting on 'which' modules are the violators.
http://drupalcode.org/project/token.git/commit/6cfd59b