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 error - please help identify & resolve
Pages: [1]

Author Topic: Import error - please help identify & resolve  (Read 596 times)

narragansett

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 2
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6.20
  • MySQL version: 5.1.41
  • PHP version: 5.3.2-1
Import error - please help identify & resolve
May 28, 2011, 06:47:48 am
I am trying to import a couple new members into our database and am receiving the error below.  Last time I imported data there were no issues, and I haven't changed anything to the best of my knowledge.  I haven't got a clue as to what the above error means or how to resolve it, but I need to do so ASAP.  Any & all help will be much appreciated.

Thanks!

Quote
Database Error Code: Identifier name 'pkqlmimetypeapplicationvndoasisopendocumentspreadsheetpkqconfigurationsstatusbarpkqconfigurationsacc' is too long, 1059
Additional Details:

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

       
Code: [Select]
=> a515ac9c2796ca0e23adbe92c68fc9fc
    [message] => DB Error: a515ac9c2796ca0e23adbe92c68fc9fc
    [mode] => 16
    [debug_info] => CREATE TABLE civicrm_import_job_8aaccd72fba0e2de9b4c6aaea7d40f24 (`pkqlmimetypeapplicationvndoasisopendocumentspreadsheetpkqconfigurationsstatusbarpkqconfigurationsacceleratorcurrentxmlpkpkqconfigurationsfloaterpkqconfigurationspopupmenupkqconfigurationsprogressbarpkqconfigurationsmenubarpkqconfigurationstoolbarpkqconfigurationsimagesbitmapspkqcontentxmlrusuiyg` text) ENGINE=InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci [nativecode=1059 ** Identifier name 'pkqlmimetypeapplicationvndoasisopendocumentspreadsheetpkqconfigurationsstatusbarpkqconfigurationsacc' is too long]
    [type] => DB_Error
    [user_info] => CREATE TABLE civicrm_import_job_8aaccd72fba0e2de9b4c6aaea7d40f24 (`pkqlmimetypeapplicationvndoasisopendocumentspreadsheetpkqconfigurationsstatusbarpkqconfigurationsacceleratorcurrentxmlpkpkqconfigurationsfloaterpkqconfigurationspopupmenupkqconfigurationsprogressbarpkqconfigurationsmenubarpkqconfigurationstoolbarpkqconfigurationsimagesbitmapspkqcontentxmlrusuiyg` text) ENGINE=InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci [nativecode=1059 ** Identifier name 'pkqlmimetypeapplicationvndoasisopendocumentspreadsheetpkqconfigurationsstatusbarpkqconfigurationsacc' is too long]
    [to_string] => [db_error: message="DB Error: a515ac9c2796ca0e23adbe92c68fc9fc" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info="CREATE TABLE civicrm_import_job_8aaccd72fba0e2de9b4c6aaea7d40f24 (`pkqlmimetypeapplicationvndoasisopendocumentspreadsheetpkqconfigurationsstatusbarpkqconfigurationsacceleratorcurrentxmlpkpkqconfigurationsfloaterpkqconfigurationspopupmenupkqconfigurationsprogressbarpkqconfigurationsmenubarpkqconfigurationstoolbarpkqconfigurationsimagesbitmapspkqcontentxmlrusuiyg` text) ENGINE=InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci [nativecode=1059 ** Identifier name 'pkqlmimetypeapplicationvndoasisopendocumentspreadsheetpkqconfigurationsstatusbarpkqconfigurationsacc' is too long]"]
)[/quote]

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 - please help identify & resolve
May 28, 2011, 07:48:49 am

check the first row of your csv file. Seems like it might have some unneeded headers and hence giving you that error, as it tries to create a column with that name

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

narragansett

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 2
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6.20
  • MySQL version: 5.1.41
  • PHP version: 5.3.2-1
Re: Import error - please help identify & resolve
May 30, 2011, 02:35:38 pm
Quote from: Donald Lobo on May 28, 2011, 07:48:49 am

check the first row of your csv file. Seems like it might have some unneeded headers and hence giving you that error, as it tries to create a column with that name

lobo

That's not it...

I re-created the header row to ensure nothing was corrupted or unneeded some how.  I attempted the import again and this time it worked - but there was a duplicate, and as I had checked "skip duplicates", I went back to try again using "update" this time instead of "skip".  Now the same file (has not been opened or modified in any way since prior to the first semi-successful attempt) is throwing the same error as before.

Any other ideas?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Import error - please help identify & resolve

This forum was archived on 2017-11-26.