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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • import problem
Pages: [1]

Author Topic: import problem  (Read 1028 times)

ampage

  • I’m new here
  • *
  • Posts: 25
  • Karma: 0
import problem
August 06, 2010, 10:58:23 pm
I'm trying to import records after cleaning out a bunch of erroneous data, but when I finally got it set up and ran the import I got an Irrecoverable error and was instructed to file an issue with a backlog, but I'm afraid I don't know how to do this.
Could I have done something fatal when I cleared out the data? The importers worked fine for me the first time around.

thanks for any insight as to how to move forward.

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 problem
August 07, 2010, 08:02:12 pm

might want to give us a few more details and cut-n-paste the backtrace of the error to this forum topic

than

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

ampage

  • I’m new here
  • *
  • Posts: 25
  • Karma: 0
Re: import problem
August 07, 2010, 09:55:58 pm
well that's just it - I don't know how to do/find a backtrace. I've found error reporting in the Drupal side of things and there certainly seems to be a problem there. Could the following on-going errors (they've been repeating at intervals for I don't know how long) be screwing up my imports? they don't look related to me.

Thanks,
Andrew

Type   cron
Date   Saturday, August 7, 2010 - 8:27am
User   Anonymous
Location   http://sfpublicpress.org/poormanscron/run-cron-check
Referrer   http://sfpublicpress.org/
Message   Cron has been running for more than an hour and is most likely stuck.
Severity   error
Hostname   72.215.170.254

Type   php
Date   Saturday, August 7, 2010 - 8:42am
User   Anonymous
Location   http://sfpublicpress.org/taxonomy/term/14
Referrer   
Message   Invalid argument supplied for foreach() in /home/publicp2/public_html/version2/sites/all/modules/views/includes/handlers.inc on line 807.
Severity   error
Hostname   67.195.115.105
Operations   

Type   php
Date   Saturday, August 7, 2010 - 8:42am
User   Anonymous
Location   http://sfpublicpress.org/taxonomy/term/14
Referrer   
Message   array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in /home/publicp2/public_html/version2/sites/all/modules/views/modules/taxonomy/views_handler_argument_term_node_tid_depth.inc on line 103.
Severity   error
Hostname   67.195.115.105
Operations

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: import problem
August 10, 2010, 10:51:44 pm
Those don't look like they're related to CiviCRM import. To enable backtrace, from CiviCRM menu go to Administer > Congifure > Global Settings > Debugging and enable it there. If this is a production site, I'd enable it - do the import to get the error  - then disable it again.
Protect your investment in CiviCRM by  becoming a Member!

ampage

  • I’m new here
  • *
  • Posts: 25
  • Karma: 0
Re: import problem
August 10, 2010, 11:12:50 pm
AHA! - Thank you Dave,
this is the backtrace

/home/publicp2/public_html/version2/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 256
/home/publicp2/public_html/version2/sites/all/modules/civicrm/CRM/Core/DAO.php, fatal, 707
/home/publicp2/public_html/version2/sites/all/modules/civicrm/CRM/Import/Parser/Contact.php, getFieldValue, 443
/home/publicp2/public_html/version2/sites/all/modules/civicrm/CRM/Import/Parser.php, import, 365
/home/publicp2/public_html/version2/sites/all/modules/civicrm/CRM/Import/ImportJob.php, run, 257
/home/publicp2/public_html/version2/sites/all/modules/civicrm/CRM/Import/Form/Preview.php, runImport, 229
/home/publicp2/public_html/version2/sites/all/modules/civicrm/CRM/Core/Form.php, postProcess, 248
/home/publicp2/public_html/version2/sites/all/modules/civicrm/CRM/Core/StateMachine.php, mainProcess, 166
/home/publicp2/public_html/version2/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 63
/home/publicp2/public_html/version2/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/home/publicp2/public_html/version2/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/home/publicp2/public_html/version2/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 249
/home/publicp2/public_html/version2/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 209
/home/publicp2/public_html/version2/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 332
, civicrm_invoke,
/home/publicp2/public_html/version2/includes/menu.inc, call_user_func_array, 348
/home/publicp2/public_html/version2/index.php, menu_execute_active_handler, 18

I tried importing a smaller csv file file with fewer fields and that actually worked. The I tired another file that I'd been able to import a few months ago and that worked. So I've been planning to copy the data into a new csv file - reusing the structure/format of the earlier files that worked, but if there is another fix that would save me that copy/pasting (which is a shot in the dark) I'd love to hear it.

Thanks again,
Andrew
« Last Edit: August 10, 2010, 11:18:05 pm by ampage »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • import problem

This forum was archived on 2017-11-26.