Hi,
whenever I add a newsletter node I'll get an error in the content/newsletter tab :
PDOException : SQLSTATE[42S22]: Column not found: 1054 Unknown column 's.status' in 'where clause': SELECT COUNT(*) AS expression FROM (SELECT 1 AS expression FROM {simplenews_mail_spool} simplenews_mail_spool WHERE (nid = :db_condition_placeholder_0) AND (vid = :db_condition_placeholder_1) AND (s.status = 1 OR s.status = 3) ) subquery; Array ( [:db_condition_placeholder_0] => 67 [:db_condition_placeholder_1] => 67 ) dans simplenews_count_spool() (ligne 527 dans /homez.196/institutc/www/dev/sites/all/modules/simplenews/includes/simplenews.mail.inc).
If I choose to only send the newsletter to the testing mails it'll work, but if I choose to send it everyone nothing will happen - if I go check the cron after that, the same error message will appear.
If I delete every newsletter node I wrote, the error messages will be gone.
Did I do something wrong ?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | simplenews_1173006_removed_alias.patch | 432 bytes | simon georges |
Comments
Comment #1
DementedManiac commentedI'm seeing the same error message.
After scheduling the newsletter, when I then manually run cron, the above error message ( only difference is the actual vid and nid ) is displayed.
Dawson
Comment #2
simon georges commentedWould this patch help ?
Comment #3
DementedManiac commentedI changed
to
and the error is no longer generated when running cron, but no emails seem to have been sent.
When I go to the newsletter page it still says "this newsletter is pending"
Comment #4
DementedManiac commentedThanks Simon, hadn't seen your patch before I posted, though I think you've done the same that I did, and as I mentioned the error's gone, but still no emails sent. Though I guess that's a different issue.
Comment #5
Arkanen commentedSame, all the errors are gone but it seems it doesn't send anything when choosing to send the newsletter to everyone.
If I send one test newsletter to the test address it will work though, so I guess it's some cron related issues
thanks for the patch
Comment #6
Arkanen commentedComment #7
simon georges commentedPlease don't change the status to "fixed" until it's committed (put it instead to "reviewed and tested by the community").
Your luck is, due do the small size of the patch, I just committed it ;-) (see commit).
Comment #8
Arkanen commentedoops - sorry, I'm new to Drupal, thanks
Comment #9
Narus commentedSame here,
Thanks for the patch but well ... still no email sent.
Do you really guess that's a different issue ?
Comment #10
mxr576Subscribe
Comment #11
reaperscg commentedSubscribe
Comment #12
sigmax commentedsubscribe
Comment #13
sigmax commentedsubscribe
Comment #14
simon georges commentedThis issue is fixed. There was indeed another issue (#1175400: Mails won't send - but testing mails works) regarding the sending, fixed as well.