Jump to:
| Project: | Token |
| Version: | 6.x-1.12 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
user warning: Duplicate entry 'sites/all/modules/other/token/tokenstarter.module' for key 1 query: INSERT INTO system (name, info, type, filename, status, throttle, bootstrap) VALUES ('tokenstarter', 'a:9:{s:4:\"name\";s:12:\"TokenSTARTER\";s:11:\"description\";s:72:\"Provides additional tokens and a base on which to build your own tokens.\";s:12:\"dependencies\";a:1:{i:0;s:5:\"token\";}s:4:\"core\";s:3:\"6.x\";s:7:\"version\";s:8:\"6.x-1.12\";s:7:\"project\";s:5:\"token\";s:9:\"datestamp\";s:10:\"1243895498\";s:10:\"dependents\";a:0:{}s:3:\"php\";s:5:\"4.3.5\";}', 'module', 'sites/all/modules/other/token/tokenstarter.module', 0, 0, 0) in /var/www/vhosts/httpdocs/includes/module.inc on line 147.
I got this error on every page, sometimes its repeated 2 or 3 times on the page. I never had tokenSTARTER module ON on this site.
Any suggestion?
Comments
#1
So it was probably caused by some corupted indexes of system table. I dont know how can I repair it so as the last option I deleted the line with tokenstarter module. And its help. But PHPMyAdmin styl warning me about duplicate indexes in the system table, but the annoying eror is gone.
#2
Yes, I think this is an indication of system/database instability rather than a token problem specifically.
I suggest working with your hosting provider to fix this.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.
#4
FWIW, I had this problem too after upgrading from 6.x-1.12 to 6.x-1.13. Deleting the existing tokenSTARTER record in the {system} table solved this for me.
#5
I had this problem after upgrading from 6.x-1.13 to 6.x-1.14.
Seems to be caused by duplicate (case-sensitive) files in /sites/all/modules/token/
tokenstarter.info, tokenstarter.module (1.13) and
tokenSTARTER.info, tokenSTARTER.module (1.14)
Fixed by deleting old files.
#6
It is always good practice to remove the old modules files before upgrading for this very reason.
#7
same error message:
user warning: Duplicate entry 'sites/all/modules/token/tokenstarter.module' for key 1 query: INSERT INTO system (name, info, type, filename, status, throttle, bootstrap) VALUES ('tokenstarter', 'a:9:{s:4:\"name\";s:12:\"TokenSTARTER\";s:11:\"description\";s:72:\"Provides additional tokens and a base on which to build your own tokens.\";s:12:\"dependencies\";a:1:{i:0;s:5:\"token\";}s:4:\"core\";s:3:\"6.x\";s:7:\"version\";s:8:\"6.x-1.18\";s:7:\"project\";s:5:\"token\";s:9:\"datestamp\";s:10:\"1320336935\";s:10:\"dependents\";a:0:{}s:3:\"php\";s:5:\"4.3.5\";}', 'module', 'sites/all/modules/token/tokenstarter.module', 0, 0, 0) in /hermes/bosweb/web131/b1310/glo.barsand/pnt/includes/module.inc on line 146.
#8
From comment #5: