after updating from 1.x to 2.x i've noticed that when going to [DRUPAL_HOME]/[node-path]/rdf and then navigating to [DRUPAL_HOME]/[node-path] -- in this order -- i receive variable number of warnings in the following form
user warning: Unknown column 'n.nid' in 'on clause' query: SELECT class FROM rdfcck_content_types INNER JOIN node_access na ON na.nid = n.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'og_public'))) AND ( type_name = 'profile') in /apps/drupal-6.10/sites/all/modules/rdfcck/rdfcck.module on line 256.
could this be:
1. an incompatibility with Drupal 6.10 (which is what I'm running)
2. an incomplete uninstall of RDF CCK 6.x-1.x-dev (but i've uninstalled and reinstalled so the schema should match the new one)
3. a bug?
please let me know if you've come across this or you know the source of the warning. thanks.
Comments
Comment #1
scor commentedthis is normal and explained on the project page:
update from RDF CCK 1.x: make sure to completely uninstall the version 1 before installing RDF CCK 2 as it introduces a new schema. Disable RDF CCK 1 and visit the "uninstall tab" on the modules page to uninstall it. Then install RDF CCK 2.x like any other module.
This is because the 2.x version uses a completely different storing schema. You will need to redefine your mappings.
Comment #2
barnaby.alter commentedi have completely uninstalled 1.x though. and then i installed 2.x. it deleted all the tables and all my rdf mappings. but i still get the above error messages... only when i'm running as a non-administrator by the way.
this means that I can't access my custom mapped rdf data, only the "site:" prefixed stuff.
Comment #3
scor commentedyou seem to be using other module implementing some form of access control. which one is it? organic groups?
Comment #4
barnaby.alter commentedyes i just installed organic groups. does this cause a conflict?
Comment #5
scor commentedI will try the module with og when I get a chance.
Comment #6
barnaby.alter commentedthanks.
this does seem to be the cause. i disabled og and rdf cck functioned normally.
Comment #7
scor commentedrenaming the issue.