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) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • CivicDiscount Errors when deleting or editing code
Pages: [1]

Author Topic: CivicDiscount Errors when deleting or editing code  (Read 628 times)

bdanza

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 3
  • CiviCRM version: 3.4.6
  • CMS version: Joomla 1.5, Drupal 6.2x
CivicDiscount Errors when deleting or editing code
November 13, 2013, 10:44:41 am
Every time I try to delete or edit a discount code in Cividiscount 2.4 I get the following error

Fatal error: Class 'CDM_BAO_Item' not found in /home/sites/public_html/site.com/sites/all/modules/civicrm/CRM/Admin/Form.php on line 71

Anyone seen it?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CivicDiscount Errors when deleting or editing code
November 14, 2013, 02:50:17 am
What's your CiviCRM version?

Kurund
Found this reply helpful? Support CiviCRM

bdanza

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 3
  • CiviCRM version: 3.4.6
  • CMS version: Joomla 1.5, Drupal 6.2x
Re: CivicDiscount Errors when deleting or editing code
November 14, 2013, 05:10:32 am
4.4.1

DicE

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5.1
  • CMS version: Drupal 7.latest
  • MySQL version: 5.5.25a
  • PHP version: 5.3.15
Re: CivicDiscount Errors when deleting or editing code
November 14, 2013, 09:12:09 am
same here after deleting a code that was generated with the previously installed 2.1

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: CivicDiscount Errors when deleting or editing code
November 14, 2013, 09:42:17 am

found and fixed the error. the patch is here:

https://github.com/dlobo/org.civicrm.module.cividiscount/commit/9bb0eceee6647265334b42877a0afa49d1374387.patch

we'll do a new release in a few days, so please do apply the patch and test

thanx

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

bdanza

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 3
  • CiviCRM version: 3.4.6
  • CMS version: Joomla 1.5, Drupal 6.2x
Re: CivicDiscount Errors when deleting or editing code
November 14, 2013, 02:26:37 pm
Applied the patch, and it's working perfectly!  Thanks again for everything you do Lobo

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • CivicDiscount Errors when deleting or editing code

This forum was archived on 2017-11-26.