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

Author Topic: Import of Contacts - Internal 500 Server Error  (Read 2423 times)

rsettlemire

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Wordpress
  • MySQL version: Latest
  • PHP version: Latest
Import of Contacts - Internal 500 Server Error
August 21, 2013, 10:06:35 am
Hello,

I have tested every other component on CiviCRM 4.3.5 and everything else works great, but I am trying to import an excel sheet and no matter what setting I choose on the main import screen when I hit the Continue button I get internal server error.

Drupal 7.22
CiviCRM 4.3.5

GoDaddy VPS Dedicated Server

I re-uploaded all the files to make sure nothing was corrupt or not uploaded. I used beyond compare and all files match.

I am stuck on what to do. I enabled debugging and turned on to put errors in Drupal watch dog, but not getting any error. Any help would be great!

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: Import of Contacts - Internal 500 Server Error
August 21, 2013, 11:00:13 am
A couple of thoughts:
* I assume when you say you're uploading an Excel sheet, you mean a CSV file?
* What happens if you try to upload just a few fields - say, first and last name?  Does that work?
* Do you have a development server that you can compare to?
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

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: Import of Contacts - Internal 500 Server Error
August 21, 2013, 11:02:44 am
One more thought - do you have more details in your Apache error.log to report?
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

rsettlemire

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Wordpress
  • MySQL version: Latest
  • PHP version: Latest
Re: Import of Contacts - Internal 500 Server Error
August 21, 2013, 11:59:42 am
Hey,

Well, this is a dev site at the moment and will eventually become a production site. Yes, the CSV file and yes I tried that.

I have another instance of CiviCRM on another site on the same server and do not have any issues with that one. The import tool works correctly. I wouldn't imagine a server issue would be the cause.

I tried the same file on another site and it worked fine.

I am running Plesk Parrallels style box. Where is that log file located? I will use veam to get into the linux file system and check the log.

rsettlemire

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Wordpress
  • MySQL version: Latest
  • PHP version: Latest
Re: Import of Contacts - Internal 500 Server Error
August 21, 2013, 12:15:47 pm
This is the error:

HTTP request length 131527 (so far) exceeds MaxRequestLen (131072)

How do I increase this or where?

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Import of Contacts - Internal 500 Server Error
October 18, 2013, 08:51:54 am
You're probably running PHP as mod_fcgid.  For the purposes of imports I have better luck (fewer errors and timeouts) running PHP as the apache user.  I use CentOS a lot, and this is a switch in server configuration.  Note that when running PHP as apache user you must chmod 775 and chgrp 'apache' the sites/default/files/civicrm/templates_c directory

Otherwise you can increase the MaxRequestLen in php.ini
http://www.howtoforge.com/apache2-mod_fcgid-http-request-length-exceeds-maxrequestlen
Try CiviTeacher: the online video tutorial CiviCRM learning library.

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

This forum was archived on 2017-11-26.