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) »
  • Error during last step of import
Pages: [1]

Author Topic: Error during last step of import  (Read 1108 times)

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Error during last step of import
October 28, 2009, 09:17:47 am
When I am trying to import a list of contacts, I get the following error during the last step:

DB Error: no such table

Database foutcode: Table 'debxxxxx_drupal.civicrm_import_job_d89ae83277db2864a07e4ba729b27d4e' doesn't exist, 1146

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

        
Code: [Select]
=> -18
    [message] => DB Error: no such table
    [mode] => 16
    [debug_info] => SELECT * FROM civicrm_import_job_d89ae83277db2864a07e4ba729b27d4e WHERE _status = 'NEW' [nativecode=1146 ** Table 'debxxxxx_drupal.civicrm_import_job_d89ae83277db2864a07e4ba729b27d4e' doesn't exist]
    [type] => DB_Error
    [user_info] => SELECT * FROM civicrm_import_job_d89ae83277db2864a07e4ba729b27d4e WHERE _status = 'NEW' [nativecode=1146 ** Table 'debxxxxx_drupal.civicrm_import_job_d89ae83277db2864a07e4ba729b27d4e' doesn't exist]
    [to_string] => [db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT * FROM civicrm_import_job_d89ae83277db2864a07e4ba729b27d4e WHERE _status = 'NEW' [nativecode=1146 ** Table 'debxxxxx_drupal.civicrm_import_job_d89ae83277db2864a07e4ba729b27d4e' doesn't exist]"]
)

I have imported several times before without this kind of problem. Please help.
« Last Edit: October 29, 2009, 03:18:44 am by edvanleeuwen »

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: Error during last step of import
October 28, 2009, 10:35:08 am

what happens when u try importing a different file? u've mentioned u've imported several times before, so wondering if this is a data problem

can u try with a simple file and see if the import succeeds

thanx

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

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Re: Error during last step of import
October 31, 2009, 11:18:46 am
Ok, when I try to import a smaller file, the error is not shown. Could this have anything to do with execution time settings? If so, which?

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: Error during last step of import
October 31, 2009, 01:59:17 pm

i would increase the file size and see at that point it breaks

check upload_max_filesize in your php.ini for file size

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

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Re: Error during last step of import
November 01, 2009, 09:12:05 am
I have done some tests:

Settings used:

[.htaccess]
php_value max_input_time 1800

[settings.php]
ini_set('memory_limit',             '64M');
ini_set('max_execution_time',       1800);

Importing csv with 5997 records is stopped in step 3 after 4050 records with an 'MySQL is gone away' error.
Importing the first part of the csv with 3000 records is stopped after about 95% in the last step with the error mentioned above.
Importing the second part of the csv with the rest is stopped after 6 minutes with no descriptive error.
Importing only the first row of the csv completes succesfully.

I'll try to split the file up into smaller parts and look what results I have.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Error during last step of import

This forum was archived on 2017-11-26.