Closed (fixed)
Project:
Node Comments
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2010 at 10:42 UTC
Updated:
11 Jul 2010 at 21:00 UTC
Hi! I've executed the migration from "comment" to "node comments", more than 8000 comments have been migrated but, after the migration, I've got an error message for each comment (exactly 8704) about the impossibility to delete a record from the "comment_upload" table: indeed I'm not using that module.
The error is this:
# user warning: Table 'DB_NAME.comment_upload' doesn't exist query: DELETE FROM comment_upload WHERE cid = 43 in /web/htdocs/www.domain.com/home/sites/all/modules/nodecomment/nodecomment.convert.inc on line 314.
Probably before executing the DELETE query, it should be checked if the comment_upload is enabled.
Comments
Comment #1
crea commentedI've added module_exists() checks for this and also for upload module.
Comment #2
finex commented:-)