CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • send mailing: 'resubscribe_id' no such column
Pages: [1]

Author Topic: send mailing: 'resubscribe_id' no such column  (Read 1396 times)

matthewpetty

  • Guest
send mailing: 'resubscribe_id' no such column
October 25, 2007, 08:08:08 am
Hey guys -

I just upgraded from 1.9 beta to 1.9, and now when try to go to step 3 of Send Mailing, I get this output:

Code: [Select]
Sorry. A non-recoverable error has occurred.
Database Error Code: Unknown column 'resubscribe_id' in 'field list', 1054

Error Details:

Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -19
    [message] => DB Error: no such field
    [mode] => 16
    [debug_info] => UPDATE  civicrm_mailing  SET domain_id = 1 , reply_id = 7 , unsubscribe_id = 5 , resubscribe_id = 8 , optout_id = 6 , url_tracking = 1 , forward_replies = 1 , auto_responder = 0 , open_tracking = 0   WHERE (  civicrm_mailing.id = 2 )   [nativecode=1054 ** Unknown column 'resubscribe_id' in 'field list']
    [type] => DB_Error
    [user_info] => UPDATE  civicrm_mailing  SET domain_id = 1 , reply_id = 7 , unsubscribe_id = 5 , resubscribe_id = 8 , optout_id = 6 , url_tracking = 1 , forward_replies = 1 , auto_responder = 0 , open_tracking = 0   WHERE (  civicrm_mailing.id = 2 )   [nativecode=1054 ** Unknown column 'resubscribe_id' in 'field list']
    [to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="UPDATE  civicrm_mailing  SET domain_id = 1 , reply_id = 7 , unsubscribe_id = 5 , resubscribe_id = 8 , optout_id = 6 , url_tracking = 1 , forward_replies = 1 , auto_responder = 0 , open_tracking = 0   WHERE (  civicrm_mailing.id = 2 )   [nativecode=1054 ** Unknown column 'resubscribe_id' in 'field list']"]
)

Do I just need to create that column?

Note: as I upgraded from 1.9 beta to 1.9, I did not use a sql file to convert the database, because there was not one with the proper version numbers.
[/code]

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: send mailing: 'resubscribe_id' no such column
October 25, 2007, 11:26:39 am

there was a late sql change to the schema and hence the below error. there was also a missing column in the 1.8 -> 1.9 upgrade script. You will need to execute the following in your mysql database to upgrade from 1.9 beta to 1.9 final

        ALTER TABLE civicrm_mailing
        ADD resubscribe_id int(10) unsigned NOT NULL;

sorry about that, in general we do not change the schema after the alpha release

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

matthewpetty

  • Guest
Re: send mailing: 'resubscribe_id' no such column
October 29, 2007, 09:32:00 am
That worked great.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • send mailing: 'resubscribe_id' no such column

This forum was archived on 2017-11-26.