Active
Project:
Creative Commons Lite
Version:
6.x-1.2
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2009 at 23:32 UTC
Updated:
16 Mar 2010 at 00:55 UTC
Never seen the following before. Just performed an upgrade on a site from D5 to D6 a few days ago and now whenever I try to post something with a license I get the following message without any license. Sure enough, the license's aren't stickin'.
user warning: Unknown column 'license' in 'field list' query: INSERT INTO creativecommons_lite (nid, license) VALUES (914, 'by') in /var/www/me/mysite/sites/all/modules/creativecommons_lite/creativecommons_lite.module on line 416.
Any help is much appreciated.
Comments
Comment #1
foxtrotcharlie commentedLooks like the database schema has changed and there's no update that updates it.
Here's some sql that should fix the database table:
Remember - this only needs to be done if you're upgrading from the Drupal 5 version.
Comment #2
yan commentedThanks foxtrotcharlie, it looks as if that worked for me. Would have been nice to have that automated during the upgrade process.