When ever I try to edit a page
warning: Invalid argument supplied for foreach() in W:\www\inmrc\modules\node.module on line 358.
warning: implode() [function.implode]: Bad arguments. in W:\www\inmrc\modules\node.module on line 363.
user error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
query: SELECT n.*, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid WHERE in W:\www\inmrc\includes\database.mysql.inc on line 66.
I can create a page with no errors. If I then try to edit that same page I get the above error.
do you need to know what other modules I have installed?
Thanks
Ron
PS: after the last upgrade I have 10 or 12 pages with a PR of 3 or more.
Comments
Comment #1
Robrecht Jacques commentedWhat Drupal version are you running? 4.6 or CVS-HEAD?
What is the version of node.module?
I haven't seen this before...
If you create a "page" it works? But then if you go back to that page to edit it, you get this error?
And if you disable nodewords.module, it then works?
Comment #2
Robrecht Jacques commentedNever mind, found the problem. It was another CVS-HEAD specific thing: in 4.6 you have to do
node_load(array('nid' => $nid))while in CVS-HEAD you can donode_load($nid)I'll commit a fix as soon as possible (can't seem to log into CVS right now)
Comment #3
Robrecht Jacques commentedTry nodewords version 1.17 and if it fixes your issue, please close this issue.
If it doesn't, post the info I asked for in comment #1.
Comment #4
ron_mahon commentedThat did it works great!
Thanks
I was surprised but the way you designed it. I had thought you would have the key specific to each taxonomy category stored and entered once.
The only other Meta tag messing is one so the RSS feed can be detected automatically
Maybe better in the theme?
Best regards
Ron
Comment #5
Robrecht Jacques commentedI'm not sure what you mean by:
Do you mean that the keywords should be stored one by one?
What keys are stored and entered more than once?
I don't think the RSS feed metatag must be set by this module. Seems like it belongs in node_list.module or taxonomy.module or whatever module that is generating the RSS feed.
Setting it in a theme is indeed a right way to do this I think.