Posted by SocialNicheGuru on August 21, 2009 at 10:45pm
Jump to:
| Project: | Flag content |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
user warning: Unknown column 'eid' in 'where clause' query: _flag_content_check /* admin : _flag_content_check */ SELECT COUNT(*) FROM flag_content WHERE eid = 3251 AND type = 'node' in /sites/all/modules/flag_content/flag_content.module on line 501
I am not sure what this means.
Chris
Comments
#1
Thats a bug of flag_content. I suggest you to read the error messages, there you can find out which modules cause the problem.
#2
It seems, modules flag and flag_content both have tables named "flag_content".
#3
1. I've replaced
{flag_content}with
{flag_content_spam}in files flag_content.install and flag_content.module.
2. Disabled flag and flag_content modules.
3. Uninstalled flag_content module here admin/build/modules/uninstall
4. Enabled flag module.
5. Installed flag_content module once again.
Now both modules work.
#4
After tinkering for a while, I had to manually create a unique table (flag_content_other) and make the appropriate changes that @ankheg mentioned. After that it worked fine. Something is definitely whacky with the install script.