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) »
  • Contribution Import wizard not reporting all errors
Pages: [1]

Author Topic: Contribution Import wizard not reporting all errors  (Read 6759 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Contribution Import wizard not reporting all errors
June 06, 2013, 12:56:11 pm
When using the "Contributions ... Import Contributions" wizard, I am able to import most of the contributions. However, on the screen that allows me to download the list of errors is limited to the first 250 errors. ( it used to be 1,000. in a previous version). 

Is there a place I can access all the import errors? Such as a temp table?


( I am using version 4.2.7)
« Last Edit: June 06, 2013, 02:02:04 pm by epg »
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Contribution Import wizard not reporting all errors
June 06, 2013, 02:41:28 pm
Hi epg,

You can change the max number of errors in /civicrm/CRM/Contribute/Import/Parser.php.  I don't have a copy of 4.2.7, but this is the first two uncommented lines in that file on 4.2.5:
abstract class CRM_Contribute_Import_Parser {
  CONST MAX_ERRORS = 250, MAX_WARNINGS = 25, VALID = 1, WARNING = 2, ERROR = 3, CONFLICT = 4, STOP = 5, DUPLICATE = 6, MULTIPLE_DUPE = 7, NO_MATCH = 8, SOFT_CREDIT = 9, SOFT_CREDIT_ERROR = 10, PLEDGE_PAYMENT = 11, PLEDGE_PAYMENT_ERROR = 12;


Change MAX_ERRORS to whatever you like if you have the RAM for it! :)
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Contribution Import wizard not reporting all errors
June 07, 2013, 11:44:31 am
Thanks! My issue is solved.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Contribution Import wizard not reporting all errors

This forum was archived on 2017-11-26.