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 CiviContribute (Moderator: Donald Lobo) »
  • "Please set a location type of Billing"
Pages: [1]

Author Topic: "Please set a location type of Billing"  (Read 2869 times)

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
"Please set a location type of Billing"
May 10, 2007, 12:35:49 pm
Hi all,

Can anyone suggest where I should begin debugging a "Please set a location type of Billing" error? It doesn't seem to be obvious in the code or tables.

I think I've botched a CiviCRM 1.5 - 1.7 upgrade. I did it a week or so ago, but I'm just now getting around to examining my CiviContribute pages. I'm getting this as non-recoverable error on all of my CiviContribute pages.

TIA

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: "Please set a location type of Billing"
May 10, 2007, 01:20:02 pm

michael:

this is part of the upgrade script, where we create a billing location type

        SELECT @domain_id := id from civicrm_domain;
    INSERT INTO `civicrm_location_type` ( `domain_id`, `name`, `vcard_name`, `description`, `is_reserved`, `is_active` )
    VALUES
        ( @domain_id, 'Billing', NULL, 'Billing Address location', 1, 1 );

You could emulate this by clicking on Location Type under Administer CiviCRM

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

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
Re: "Please set a location type of Billing"
May 11, 2007, 11:51:32 am
Thanks! That did the trick.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • "Please set a location type of Billing"

This forum was archived on 2017-11-26.