When I deleted a term from a taxonomy vocabulary this message started to appear:
user warning: Unknown table 'term_node_1' in field list query: SELECT node.nid, term_node_1.name AS term_node_1_name, term_node_2.name AS term_node_2_name FROM node node LIMIT 0, 10 in C:\xampplite\htdocs\drupal\includes\database.mysql.inc on line 172.
I don't know how to fix it or what it means. Any help? Thanks a lot.
Comments
I have seen this again!
I have seen this again!
http://drupal.org/node/161863
Apparently there is a broken query because there is no such table.
Check your views created with the views module. Try to open them for editing and save them again to make them rebuild themselves.
Thanks
Thanks that worked out alright!!
Same problem: unknown 'table term_node_2' - on Live site :-(
I have exactly the same problem here...
Usign Drupal 5.3, all modules have their latest versions.
I have a hefty view, with lots of filters, arguments, one exposed filter.
I'm displaying content in two languages, Dutch and French.
Every now and then the French content is no longer visible, the Dutch content still is - they're using the SAME view!
When going to the French page, I see the pagers 1 to 9, but no single node is rendering.
At that point, I have this in the log files:
I can "solve" it by opening the view and saving, but this is of course no solution, since a couple of hours later it will go berserk again!
Yhis site is now live - I'd appreciate some support :-)
(no title)
Probably the best chance for a proper solution is to take this to the view module's issues queue (http://drupal.org/project/issues/views)
I had exactly the same
I had exactly the same problem and found a brief comment about it sounding like a cache issue, sure enough, when I deleted my cache, everything worked again. Not sure about this but I'm still in development so haven't turned my cron on yet, maybe not running that often enough causes issues... dunno!
Will Eaton
Same error when upgrading to 5.10
I know this post is outdated, but thought I'd share my experience.
I upgraded from 5.9 to 5.10. I had the same errors. I thought it was due to my Emfield or Video modules so deleted and reinstalled Emfield, but still the same error. I also followed this advice for Emfield "If any files stop working after you update, please go to admin/content/node, select all nodes that have embedded media fields and select "reload embedded media data". That gave me a whole new set of errors. I didn't know what to do with Video module so left it alone.
I followed the advice here and opened my Views and resaved each. Still the errors. I opened each Content Type that was listed in my error log and saved each. That did the trick! So any node where I used upload video or audio, etc. I opened and resaved and that was it. My site showed code where I had placed a video block, so I opened views for the block and resaved. I also made sure that in the view I had for that video block that the settings were correct because for some reason it defaulted back to the large video size and not the thumbnail. So far all errors are gone.
Hope this helps someone else.
Heather
Thanks very much for the
Thanks very much for the tips.
I had the following message:
user warning: Unknown column 'node_counter.totalcount' in 'field list' query
After clearing the views cache everything came back again.
Cheers,
G
My Drupal sites: