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) »
  • SQL error due to missing field
Pages: [1]

Author Topic: SQL error due to missing field  (Read 562 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
SQL error due to missing field
July 24, 2011, 07:56:14 am
When trying to set up a mass mailing, I get the following SQL error:

After starting a new mailing ( giving it a name, and choosing a group) then clicking "Next" I get the following SQL error:
> Array
> (
>     [callback] => Array
>         (
>             
  • => CRM_Core_Error

>             [1] => handle
>         )
>     
Code: [Select]
=> -19
>     [message] => DB Error: no such field
>     [mode] => 16
>     [debug_info] => INSERT INTO civicrm_mailing (domain_id , name , created_id , created_date ) VALUES ( 1 , 'Sample 123' ,  1 ,  20110722192004 )  [nativecode=1054 ** Unknown column 'visibilty' in 'NEW']
>     [type] => DB_Error
>     [user_info] => INSERT INTO civicrm_mailing (domain_id , name , created_id , created_date ) VALUES ( 1 , 'Sample 123' ,  1 ,  20110722192004 )  [nativecode=1054 ** Unknown column 'visibilty' in 'NEW']
>     [to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_mailing (domain_id , name , created_id , created_date ) VALUES ( 1 , 'Sample 123' ,  1 ,  20110722192004 )  [nativecode=1054 ** Unknown column 'visibilty' in 'NEW']"]



The URL for the screen with the error:
https://mygroup.org/civicrm/mailing/send


This environment is running version 3.4.4, which was upgraded from versions
« Last Edit: July 24, 2011, 08:02:38 am by sgladstone »
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: SQL error due to missing field
August 20, 2011, 02:18:44 pm
I found a work-around to this issue:
I turned off the CiviCRM "logging" feature at: https://mygroup.org/civicrm/admin/setting/misc?reset=1

After logging was turned off, then the SQL error message went away.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • SQL error due to missing field

This forum was archived on 2017-11-26.