Download & Extend

user warning: Unknown column 'eid' in 'where clause' query: _flag_content_check /* admin

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

Project:Flag» Flag content
Version:6.x-1.x-dev» 6.x-1.x-dev
Component:Flag core» Code

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.

nobody click here