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) »
  • Re: Problems with civi event fees (discounts for early registration)
Pages: [1]

Author Topic: Re: Problems with civi event fees (discounts for early registration)  (Read 1148 times)

nithya1

  • Guest
Re: Problems with civi event fees (discounts for early registration)
January 27, 2009, 12:32:17 pm
Hi,
    My civievent is doing the exact opposite. It is showing the right discounted price on the event info page but not applying any discounts on the registration page on the hosting server for our NPO. Even when I copy an existing event for which it is working (the discounts used to be applied properly before), the discount set doesn't get copied. Any ideas why. Mine is running on joomla 1.5 and civicrm 2.1.4. Any response is appreciated.

Thanks
Vivek

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: Problems with civi event fees (discounts for early registration)
January 27, 2009, 08:21:20 pm
Vivek,

Discount copy seems to be broken in v2.1. This is already fixed in v2.2. Can you try to replicate this on http://sandbox.civicrm.org

For tracking purpose: http://issues.civicrm.org/jira/browse/CRM-3182

Kurund
« Last Edit: January 27, 2009, 08:41:29 pm by Kurund Jalmi »
Found this reply helpful? Support CiviCRM

nithya1

  • Guest
Re: Problems with civi event fees (discounts for early registration)
January 28, 2009, 07:17:20 am
Hi Kurund,
           Thanks for the reply. The sandbox seems to be working fine. In fact the 2.1.4 that I have on our server also did apply discounts when i installed it (even while copying). Somehow it seems to be broken now  ??? But yes, the sandbox is working well.

Thanks
Vivek

nithya1

  • Guest
Re: Problems with civi event fees (discounts for early registration)
January 28, 2009, 10:05:46 am
I saw the fix that was made for the 2.2 version and tried to replace the file contents for /CRM/Core/BAO/OptionGroup.php and /CRM/Event/BAO/Event.php. When I go to the administration window for Joomla and click on Civievent I got this error that i've posted below. Then I replaced both /CRM/Core/BAO/OptionGroup.php and /CRM/Event/BAO/Event.php back to its original. Still I'm getting this error. It seems like the database is having a problem but I'm not sure how to go about fixing this. Our site is down because of this error. Any help will be appreciated.


backTrace

/var/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 138
, handle,
/var/public_html/administrator/components/com_civicrm/civicrm/packages/PEAR.php, call_user_func, 912
/var/public_html/administrator/components/com_civicrm/civicrm/packages/DB.php, PEAR_Error, 966
/var/public_html/administrator/components/com_civicrm/civicrm/packages/PEAR.php, DB_Error, 574
/var/public_html/administrator/components/com_civicrm/civicrm/packages/DB/common.php, raiseError, 1903
/var/public_html/administrator/components/com_civicrm/civicrm/packages/DB/mysql.php, raiseError, 898
/var/public_html/administrator/components/com_civicrm/civicrm/packages/DB/mysql.php, mysqlRaiseError, 327
/var/public_html/administrator/components/com_civicrm/civicrm/packages/DB/common.php, simpleQuery, 1216
/var/public_html/administrator/components/com_civicrm/civicrm/packages/DB/DataObject.php, query, 2394
/var/public_html/administrator/components/com_civicrm/civicrm/packages/DB/DataObject.php, _query, 1587
/var/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/DAO.php, query, 144
/var/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Menu.php, query, 606
/var/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, get, 94
/var/public_html/administrator/components/com_civicrm/admin.civicrm.php, invoke, 45
/var/public_html/administrator/components/com_civicrm/admin.civicrm.php, civicrm_invoke, 22
/var/public_html/libraries/joomla/application/component/helper.php, require_once, 162
/var/public_html/administrator/includes/application.php, renderComponent, 130
/var/public_html/administrator/index.php, dispatch, 67



Sorry. A non-recoverable error has occurred.

DB Error: unknown error

Database Error Code: Lost connection to MySQL server during query, 2013

Return to home page.


Error Details:

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

       
Code: [Select]
=> -1
    [message] => DB Error: unknown error
    [mode] => 16
    [debug_info] =>
(
  SELECT *
  FROM     civicrm_menu
  WHERE    path in ( 'civicrm/dashboard', 'civicrm' )
  ORDER BY length(path) DESC
  LIMIT    1
)

UNION (
  SELECT *
  FROM   civicrm_menu
  WHERE   path IN ( 'navigation' )
)
 [nativecode=2013 ** Lost connection to MySQL server during query]
    [type] => DB_Error
    [user_info] =>
(
  SELECT *
  FROM     civicrm_menu
  WHERE    path in ( 'civicrm/dashboard', 'civicrm' )
  ORDER BY length(path) DESC
  LIMIT    1
)

UNION (
  SELECT *
  FROM   civicrm_menu
  WHERE   path IN ( 'navigation' )
)
 [nativecode=2013 ** Lost connection to MySQL server during query]
    [to_string] => [db_error: message="DB Error: unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="" info="
(
  SELECT *
  FROM     civicrm_menu
  WHERE    path in ( 'civicrm/dashboard', 'civicrm' )
  ORDER BY length(path) DESC
  LIMIT    1
)

UNION (
  SELECT *
  FROM   civicrm_menu
  WHERE   path IN ( 'navigation' )
)
 [nativecode=2013 ** Lost connection to MySQL server during query]"]
)

nithya1

  • Guest
Re: Problems with civi event fees (discounts for early registration)
January 28, 2009, 10:30:42 am
I just found out that the hosting service provider has signaled that there is an issue with the hard drive of the server on which our MySQL databases are stored. Sorry about the previous post.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Re: Problems with civi event fees (discounts for early registration)

This forum was archived on 2017-11-26.