I extracted the archive to my modules folder, ran the modules update, but I get this error:
"user warning: Unknown column 't.status' in 'where clause' query: SELECT COUNT(*) FROM simplenews_subscriptions s INNER JOIN simplenews_snid_tid t ON s.snid = t.snid WHERE s.mail = '' AND t.tid = 343 AND t.status = 1 in
/html/drupal/sites/all/modules/simplenews/simplenews.module on line 1228."
If I downgrade the module files, there's no error and it seems to work.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | simplenews_823688_5.patch | 2.19 KB | miro_dietiker |
Comments
Comment #1
fmjrey commentedI'm also having this issue after upgrade from 6.x-1.3 to 6.x-2.x-dev (2010-May-20) .
I did run update.php but no update was detected
Putting to critical status, such warning should not happen at all
Thanks for fixing asap...
Comment #2
fmjrey commentedForgot to mention the warning was displayed on /admin/content/simplenews/types
Comment #3
miro_dietikerUsually upgrade pathes are only provided in beta (possibly alpha) state of modules.
I didn't check the current situation. However, having a missing update hook implementation is pretty common in the current state. Right this is release critical for a stable 2.x.
Find more about the issue in:
http://api.drupal.org/api/function/hook_update_N/6
If you help providing the update code we can add it to the cvs 2.x-dev asap.
Comment #4
fmjrey commentedWell in my case I just reinstalled the module since it's for a new site.
I've done programming but no php. Maybe I'll get my hands dirty on this other issue I have that needs resolving:
#839504: Make newsletter name token i18n aware
Comment #5
miro_dietikerThe attached patch is already committed in Branch 6.2