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) »
  • 500 Server Error importing Contacts
Pages: [1]

Author Topic: 500 Server Error importing Contacts  (Read 590 times)

AndyHarkness

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 0
    • Andy's Blog
  • CiviCRM version: 4.5.0
  • CMS version: Wordpress 4.0
  • MySQL version: 5.1.61
  • PHP version: 5.3.3
500 Server Error importing Contacts
June 17, 2014, 09:36:09 am
I'm trying to import about 7000 contacts. Unfortunately I get a server error any time I try and import more than about 200 contacts. Could anybody give me a few points as to how to go about fixing this?

Here is the log:

Jun 17 15:13:39  [info] $Fatal Error Details = Array
(
    [message] => Could not find valid value for ct
   
Code: [Select]
=>
)


Jun 17 15:13:39  [info] $backTrace = #0 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(322): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Utils/Request.php(106): CRM_Core_Error::fatal("Could not find valid value for ct")
#2 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Contact/Form/Contact.php(153): CRM_Utils_Request::retrieve("ct", "String", Object(CRM_Contact_Form_Contact), TRUE, NULL, "REQUEST")
#3 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(351): CRM_Contact_Form_Contact->preProcess()
#4 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Display.php(93): CRM_Core_Form->buildForm()
#5 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Contact_Form_Contact), "display")
#6 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contact_Form_Contact), "display")
#7 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(339): HTML_QuickForm_Page->handle("display")
#8 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Utils/Wrapper.php(117): CRM_Core_Controller->run()
#9 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(297): CRM_Utils_Wrapper->run("CRM_Contact_Form_Contact", "New Contact", (Array:1))
#10 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(72): CRM_Core_Invoke::runItem((Array:13))
#11 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#12 /var/www/vhosts/somesite.com/httpdocs/wp-content/plugins/civicrm/civicrm.php(470): CRM_Core_Invoke::invoke((Array:3))
#13 [internal function](): CiviCRM_For_WordPress->invoke("")
#14 /var/www/vhosts/somesite.com/httpdocs/wp-includes/plugin.php(470): call_user_func_array((Array:2), (Array:1))
#15 /var/www/vhosts/somesite.com/httpdocs/wp-admin/admin.php(211): do_action("toplevel_page_CiviCRM")
#16 {main}

flug

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 12
Re: 500 Server Error importing Contacts
June 28, 2014, 10:31:46 am
Usually this is due to simply running out of memory/cpu/resources/php timeout or the like on your server.  There are a number of threads around the forums dealing with this.  You might be able to tweak your server parameters to raise the number higher than 200 but in the end you'll probably have to break the import into small groups of some size.

FYI I just did and import and had to break the import into group of 20 (!).  Note sure why, as previously I could get several hundred anyway.  But now it won't even do 50.  Server timeouts of some sort.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • 500 Server Error importing Contacts

This forum was archived on 2017-11-26.