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) »
  • Event module throwing error
Pages: [1]

Author Topic: Event module throwing error  (Read 1545 times)

wik

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7
  • MySQL version: ?
  • PHP version: 5.2
Event module throwing error
May 10, 2011, 04:34:27 pm
I installed CiviCRM cleanly on drupal 7.

installed the dutch translation, and started to build events. When i open the event URL in my browser to check if i can sign up, i get the following error:


"Sorry, er is een onherstelbare fout opgetreden. Selecteer een locatie type van Billing"

Would translate to:

"Sorry an unrecoverable error has happened. Select a location type of Billing"

What can be the couse of this. I am setting up free events.

Wik

wik

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7
  • MySQL version: ?
  • PHP version: 5.2
Re: Event module throwing error
May 11, 2011, 03:29:50 am
Bit more information on this one.

I am using CiviCRM 4.0.1 and added all the translations according to the Drupal Installation Guide for CiviCRM 4.0

When i am using the US locale, all my forms work perfectly with events i create myself of with the demo events

When i switch to the Dutch locale the error shows up...


Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Event module throwing error
May 12, 2011, 12:08:17 am
Hi Wik,
I will test on my local sandbox and see if I can replicate the problem and suggest a solution. If you need a little more help in Dutch, let me know :-)
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Event module throwing error
May 13, 2011, 02:12:05 am
Yes, I have the same problem in the Dutch translation! Will do a debug to see if I can find the problem, and I will raise a core issue.
« Last Edit: May 13, 2011, 02:14:29 am by Erik Hommel »
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Event module throwing error
May 13, 2011, 04:03:22 am
I have found the problem and solution, how are your PHP skills?

It is a typical case of catch 22: you can not translate the location type BILLING yet CRM/Event/Form/Registration.php translates the billing type:
Code: [Select]
$this->_bltID = array_search( ts('Billing'),  $locationTypes );

change this to:
Code: [Select]
$this->_bltID = array_search( 'Billing',  $locationTypes );
and the issue is solved.
see http://issues.civicrm.org/jira/browse/CRM-8108 for the core issue. Will be fixed for 4.02.

« Last Edit: May 13, 2011, 09:59:40 am by Erik Hommel »
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

den Bart

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: joomla 1.6
  • MySQL version: 5.0.90
  • PHP version: 5.2.17
Re: Event module throwing error
June 08, 2011, 01:23:37 pm
I have 4.0.2 now, and the issue was not fixed ...

den Bart

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: joomla 1.6
  • MySQL version: 5.0.90
  • PHP version: 5.2.17
Re: Event module throwing error
June 23, 2011, 12:23:48 pm
I've just updated to 4.0.4 (dutch), but I've still the message "select a location type of billing" when I try to register for an event.
Any idea's ?

StefaanHaesen

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7.28
  • MySQL version: 5.1.46
  • PHP version: 5.3.17
Re: Event module throwing error
August 29, 2011, 09:33:03 am
Hello,

@Erik: the problem still exists in version 4.0.4 on Drupal 7

I tried removing the "ts( )" around Billing (crm-8108), but then I get another error:
Het gevraagde Profiel (gid=1) is uitgeschakeld OF niet ingesteld om gebruikt te worden als 'overzichten' OF het Profiel met dit ID bestaat niet OF u heeft geen toegang tot dit Profiel. Contacteer de site beheerder voor verdere hulp.

Any help would be appreciated !
Thanks,
Stefaan

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Event module throwing error

This forum was archived on 2017-11-26.