Closed (fixed)
Project:
Storm
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2008 at 14:38 UTC
Updated:
21 Jul 2008 at 15:00 UTC
It appears that there was a mistake made in the 6.x-1.5 version (maybe the 5.x as well, but I am currently on d6, so I cannot tell). Whenever I went to add an organization, I received the 'lovely' error message below:
user warning: Unknown column 'orglanguage' in 'field list' query: INSERT INTO stormorganization (vid, nid, prefix, fullname, country, www, email, currency, provstate, zip, city, address, vatid, orglanguage ) VALUES (1133, 1133, '', '', '', '', '', '', '', '', '', '', '', 'en' ) in /var/www/timetrack/sites/all/modules/icons/stormattribute/stormexpense/storminvoice/storminvoiceitem/stormknowledgebase/stormnote/stormorganization/stormorganization.module on line 302.
It appears that the module is looking for a field 'orglanguage' within the stormorganization table. After looking at my database, 'language' exists. I think this is simply a naming convention problem.
Comments
Comment #1
Roberto Gerola commentedYes, probably you are one of the first users of Storm, starting with one of the first development versions.
Please, rename the field language to orglanguage in your table using phpmyadmin.
(I had to change due to a conflict with Drupal 6 core multilingual system).
It should be already ok for whom who started with the stable versions.
Comment #2
ultimateboy commentedThanks. I have made the change and everything appears to be working. What a wonderful module.