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 Import (Moderator: Yashodha Chaku) »
  • Import Error: Undefined index: element_name in CRM_Core_BAO_CustomGroup
Pages: [1]

Author Topic: Import Error: Undefined index: element_name in CRM_Core_BAO_CustomGroup  (Read 1773 times)

garethb

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: Various (various dependant on cl
  • CMS version: Drupal 6 & 7
  • MySQL version: (various dependant on client)
  • PHP version: 5.* (various dependant on client)
Import Error: Undefined index: element_name in CRM_Core_BAO_CustomGroup
January 17, 2013, 02:38:29 am
Hi there,

I just upgraded to CiviCRM 4.2.6 from 4.1.6 and I was getting this error before upgrading, so thought upgrading might help, but it didn't. I have attache a picture of the error I get after pressing import. Basically it says "Sorry we are not able to provide this at the moment" "DB Error: Syntex error"

Below is one of the errors in the log at that time:

Typ
PHP
Datum
Donnerstag, 17. Januar 2013 - 11:22
Benutzer
gareth.burgess
Standort
http://www.freedominchrist.ch/civicrm/import/contact
Referrer
http://www.freedominchrist.ch/civicrm/import/contact?_qf_Preview_display=true&qfKey=73ea42a1a698df1a205b26577471f9d7_8763
Nachricht
Notice: Undefined index: element_name in CRM_Core_BAO_CustomGroup::setDefaults() (Zeile 1027 von /home/httpd/vhosts/freedominchrist.ch/httpdocs/sites/all/modules/civicrm/CRM/Core/BAO/CustomGroup.php).

It really is critical that we import these. So any help would be appreciated.

Regards

Gareth
 



 



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: Import Error: Undefined index: element_name in CRM_Core_BAO_CustomGroup
January 17, 2013, 09:46:35 am

the error you pasted is just a warning, so not relevant

two things:

1. can you logout and login and see if that fixes it

2. if not, can you check the error log for the "Fatal Error" that will have more specific info

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

garethb

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: Various (various dependant on cl
  • CMS version: Drupal 6 & 7
  • MySQL version: (various dependant on client)
  • PHP version: 5.* (various dependant on client)
Re: Import Error: Undefined index: element_name in CRM_Core_BAO_CustomGroup
January 17, 2013, 04:27:47 pm
Hi,

Thanks for the reply.

I logged out and in again and still get the same errors. I filtered for fatal error, but there arn't any.

Regards

Gareth

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: Import Error: Undefined index: element_name in CRM_Core_BAO_CustomGroup
January 17, 2013, 05:31:12 pm

check the CiviCRM.MD 5 HASH.log file in your files/civicrm/ConfigAndLog directory

there should be more details of the error there

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

garethb

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: Various (various dependant on cl
  • CMS version: Drupal 6 & 7
  • MySQL version: (various dependant on client)
  • PHP version: 5.* (various dependant on client)
Re: Import Error: Undefined index: element_name in CRM_Core_BAO_CustomGroup
January 21, 2013, 03:19:36 am
Hi,

Here is the log file as requested.

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: Import Error: Undefined index: element_name in CRM_Core_BAO_CustomGroup
January 21, 2013, 02:55:48 pm

Seems like some mysql errors with the dedupe calls. You will need to debug it or get someone to take a closer look at the log files and figure out whats happening

what version of mysql are you on?

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

garethb

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: Various (various dependant on cl
  • CMS version: Drupal 6 & 7
  • MySQL version: (various dependant on client)
  • PHP version: 5.* (various dependant on client)
Re: Import Error: Undefined index: element_name in CRM_Core_BAO_CustomGroup
January 22, 2013, 08:56:09 am
we are on MySQL 5.5.*

We are probably going to scrap CiviCRM and Drupal with this client. They have had to do a lot of work translating from English to Swiss German/German. Their main frustration has been with Drupal Commerce not working well, so this problem with CiviCRM just adds to their unhappiness, which is a real shame. They don't want to invest any more time/money in fixing these problems  :'(

Thank you for your input it has been really appreciated. I may come back with more questions with other clients.

Regards & Blessings!

Gareth

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Import Error: Undefined index: element_name in CRM_Core_BAO_CustomGroup

This forum was archived on 2017-11-26.