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 CiviEvent (Moderator: Yashodha Chaku) »
  • Price Sets - no public option
Pages: [1]

Author Topic: Price Sets - no public option  (Read 2887 times)

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Price Sets - no public option
June 10, 2011, 02:41:53 am
I've created an event and set up a price set for it. However, the only visibility option I have is "admin". There are no other options available. Am I maybe just missing a step or option somewhere else so that public will be an option as well?

Thanks.

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Price Sets - no public option
June 10, 2011, 05:19:30 pm
I keep digging through all the options, but cannot find a reason why I am limited to price sets being only for admin. Anyone?

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Price Sets - no public option
June 11, 2011, 12:55:32 am
I've been fighting with this for days, so I went to the database. The entry in civicrm_option_value for "public" was completely missing. I just checked several other installs of CiviCRM that I have in the 3.x branch and they have the exact same problem.

I went in and inserted the item:

Code: [Select]
INSERT INTO `brain_crm`.`civicrm_option_value` (`id`, `option_group_id`, `label`, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `domain_id`, `visibility_id`) VALUES ('800', '38', 'public', '1', 'public', NULL, '0', '0', '1', NULL, '0', '0', '1', NULL, NULL, NULL);
I had to make it 800 as all the numbers around the "admin" option (which was id 213) were taken. So I looked to see what the last item in the table was and used the next id numbers. So far this seems to have fixed it since I now can see options.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Price Sets - no public option

This forum was archived on 2017-11-26.