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.

CommentFileSizeAuthor
#5 simplenews_823688_5.patch2.19 KBmiro_dietiker

Comments

fmjrey’s picture

Priority: Normal » Critical

I'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...

fmjrey’s picture

Forgot to mention the warning was displayed on /admin/content/simplenews/types

miro_dietiker’s picture

Title: User Warning on upgrade from 6.x-1.3 to 6.x-2.x-dev (2010-May-19) » Implement update: User Warning on upgrade from 6.x-1.3 to 6.x-2.x-dev (2010-May-19)

Usually 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.

fmjrey’s picture

Well 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

miro_dietiker’s picture

Status: Active » Fixed
StatusFileSize
new2.19 KB

The attached patch is already committed in Branch 6.2

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.