Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I just upgraded from 7.12 to 7.14 and it seems like something wrong with the token module. When it is enabled there will be an error when you go to the /admin/config page
Here is a copy of the error:
Warning: Unexpected character in input: '' (ASCII=21) state=0 in D:\www\modules\system\system.tokens.inc on line 270
Warning: Unexpected character in input: '' (ASCII=3) state=0 in D:\www\modules\system\system.tokens.inc on line 270
Warning: Unexpected character in input: '' (ASCII=1) state=0 in D:\www\modules\system\system.tokens.inc on line 270
Warning: Unexpected character in input: ' in D:\www\modules\system\system.tokens.inc on line 270
Warning: Unexpected character in input: ' in D:\www\modules\system\system.tokens.inc on line 270
Warning: Unexpected character in input: '' (ASCII=18) state=0 in D:\www\modules\system\system.tokens.inc on line 270
Parse error: syntax error, unexpected T_STRING in D:\www\modules\system\system.tokens.inc on line 270
Comments
Comment #1
rspar CreditAttribution: rspar commentedDon't know whats happening but it seems the issue tracker breaks on a '
The problem lies in /modules/system/system.tokens.inc, line 270 but there is nothing.. its the last line
Comment #1.0
rspar CreditAttribution: rspar commentedAdded
tags
Comment #2
Dave ReidYour problem is about the system.tokens.inc file, which is a file provided by Drupal core, not Token module. I'd suggest maybe re-downloading the files because it looks like that file might have been corrupted.
Comment #3
rspar CreditAttribution: rspar commentedYou are right, files where been corrupted while uploading... at least you helped me into the right direction :)
Comment #4
Dave ReidOk great. I'll mark this as fixed then.