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) »
  • Error in CiviEvent 1.8
Pages: [1]

Author Topic: Error in CiviEvent 1.8  (Read 1888 times)

twowheeler

  • I post occasionally
  • **
  • Posts: 115
  • Karma: 11
    • Harrisburg Christian Performing Arts Center
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.1
  • PHP version: 5.3
Error in CiviEvent 1.8
August 26, 2007, 10:34:21 am
First attempt to create a new CiviEvent since the 1.8 upgrade produces this:

Quote
     Sorry. A non-recoverable error has occurred.

    Return to CiviCRM menu.

Error Details:

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

       
Code: [Select]
=> -3
    [message] => QuickForm Error: nonexistent html element
    [mode] => 16
    [debug_info] => Element 'location[1][address][country_id]' does not exist in HTML_QuickForm::getElementValue()
    [type] => HTML_QuickForm_Error
    [user_info] => Element 'location[1][address][country_id]' does not exist in HTML_QuickForm::getElementValue()
    [to_string] => [html_quickform_error: message="nonexistent html element" code=-3 mode=callback callback=CRM_Core_Error::handle prefix="QuickForm Error: " info="Element 'location[1][address][country_id]' does not exist in HTML_QuickForm::getElementValue()"]
)
[/quote]

I have the drupal event module installed, could there be a conflict?
Any help appreciated.
Dan

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: Error in CiviEvent 1.8
August 26, 2007, 12:17:45 pm

Can u reproduce this on demo?

By any chance have you suppressed country being displayed in the address preference options?

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

twowheeler

  • I post occasionally
  • **
  • Posts: 115
  • Karma: 11
    • Harrisburg Christian Performing Arts Center
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Error in CiviEvent 1.8
August 26, 2007, 12:32:40 pm
I will try that -- but yes, I did suppress the country display.  Is that a problem?

I got here because I have been exploring & trying out drupal functionality outside of civicrm.  I wanted to see if civicrm activities or events will show up on a drupal calendar that appears on the front page.  I was experimenting with drupal events when I got this error.  How about the drupal calendar module?  It looks more daunting than events -- I have not figured out the CCK & views stuff.  Will civicrm events/activities show up on a drupal calendar?  Any insight appreciated, while I slog my way up the learning curve.   ::)


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: Error in CiviEvent 1.8
August 26, 2007, 02:21:52 pm

the error message seemed to indicate that was the issue. hence my guess on that. It is a bug, and i just reproduced it on demo :( We'll get this fixed for the next v1.8 release

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

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: Error in CiviEvent 1.8
August 26, 2007, 03:06:43 pm

filed and fixed in: http://issues.civicrm.org/jira/browse/CRM-2236

Note that in 1.8 since country and state are linked via ajax, disabling country also disables state by design

With regard to integration with drupal calendar etc, check:

http://forum.civicrm.org/index.php/topic,895.0.html
http://forum.civicrm.org/index.php/topic,135.msg476.html#msg476

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

twowheeler

  • I post occasionally
  • **
  • Posts: 115
  • Karma: 11
    • Harrisburg Christian Performing Arts Center
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Error in CiviEvent 1.8
August 26, 2007, 06:33:26 pm
Perfect! Thanks a lot.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Error in CiviEvent 1.8

This forum was archived on 2017-11-26.