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 CiviContribute (Moderator: Donald Lobo) »
  • Unable to import contributions into 3.0.2
Pages: [1]

Author Topic: Unable to import contributions into 3.0.2  (Read 1493 times)

timindaburgh

  • I’m new here
  • *
  • Posts: 26
  • Karma: 3
  • CiviCRM: 4.1.1; CMS: Drupal 7
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7
Unable to import contributions into 3.0.2
November 29, 2009, 06:31:37 pm
Unable to import contributions into 3.0.2

I continue getting an error stating "Contribution type is invalid". I have tried to export several contributions and then used that as a skeleton file to make only a few contributions to be imported. Have others seen this problem? Is there a way to import contributions in this version?

My system report is:
Drupal   6.14
Access to update.php   Protected
Configuration file   Protected
Cron maintenance tasks   Last run 1 hour 50 sec ago
You can run cron manually.
Database updates   Up to date
Drupal core update status   Up to date
File system   Writable (public download method)
GD library   2.0 or higher
MySQL database   5.0.75
PHP   5.2.6-3ubuntu4.4
PHP memory limit   64M
PHP register globals   Disabled
Unicode library   PHP Mbstring Extension
Update notifications   Enabled
Web server   Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.4 with Suhosin-Patch
The pellet with the poison is in the chalice from the palace. The vessel with the pestle has the brew that is true.

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Unable to import contributions into 3.0.2
November 29, 2009, 09:31:12 pm
If I had to guess -

make sure before importing contribution data, related contribution types should be enabled.
related url : http://drupal.demo.civicrm.org/civicrm/admin/contribute/contributionType&reset=1

Also would be helpful if you provide your import field mapping.

kiran
You Are Designed To Choose... Defined By Choice.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Unable to import contributions into 3.0.2
November 29, 2009, 09:32:31 pm
Also can you try to replicate it on http://drupal.demo.civicrm.org

Kurund
Found this reply helpful? Support CiviCRM

timindaburgh

  • I’m new here
  • *
  • Posts: 26
  • Karma: 3
  • CiviCRM: 4.1.1; CMS: Drupal 7
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7
Re: Unable to import contributions into 3.0.2
November 30, 2009, 05:31:42 am
Kiran, the CONTRIBUTION TYPES are enabled.
The pellet with the poison is in the chalice from the palace. The vessel with the pestle has the brew that is true.

timindaburgh

  • I’m new here
  • *
  • Posts: 26
  • Karma: 3
  • CiviCRM: 4.1.1; CMS: Drupal 7
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7
Re: Unable to import contributions into 3.0.2
November 30, 2009, 05:47:48 am
I just tried a simple contribution import into the sandbox (http://drupal.demo.civicrm.org/) after adding two new CONTRIBUTION TYPES (annualfund and capfund) and it has failed. Are there other ideas out there?

I have attached my csv file. The resulting page after trying to import the attached data (The summary page inaccurately prints: "Import has completed successfully") is shown here:

==============
Summary (step 4 of 4)
Import has completed successfully. The information below summarizes the results.

CiviCRM has detected invalid data and/or formatting errors in 3 records. These records have not been imported.

You can Download Errors. You may then correct them, and import the new file with the corrected data.

Total Rows   3   Total rows (contribution records) in uploaded file.
Invalid Rows (skipped)   3   Rows with invalid data in one or more fields. These rows have been skipped (not imported).
Download Errors

Records Imported   0   Total number of rows imported successfully.

======================
from DOWNLOAD ERRORS:

Line Number   Reason
1   Contribution Type is not valid: capfund
2   Contribution Type is not valid: annualfund
3   Contribution Type is not valid: capfund
The pellet with the poison is in the chalice from the palace. The vessel with the pestle has the brew that is true.

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Unable to import contributions into 3.0.2
December 01, 2009, 01:18:15 am
thanks for the pointer.

filed issue is here : http://issues.civicrm.org/jira/browse/CRM-5462

code will be part of next stable release. ( v3.0.3 )

you might be interesting in patch : http://fisheye2.atlassian.com/changelog/CiviCRM?cs=25308

kiran
You Are Designed To Choose... Defined By Choice.

timindaburgh

  • I’m new here
  • *
  • Posts: 26
  • Karma: 3
  • CiviCRM: 4.1.1; CMS: Drupal 7
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7
Re: Unable to import contributions into 3.0.2
December 02, 2009, 11:39:53 am
Topic closed.

The patch worked like a charm. Thanks Kiran.
The pellet with the poison is in the chalice from the palace. The vessel with the pestle has the brew that is true.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Unable to import contributions into 3.0.2

This forum was archived on 2017-11-26.