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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • 500 Internal Server Error
Pages: [1]

Author Topic: 500 Internal Server Error  (Read 2882 times)

RRivera

  • Guest
500 Internal Server Error
July 06, 2009, 02:56:04 pm
When I try to run the CiviCRM installer, I get this message. What should I do?


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mysite.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
« Last Edit: July 15, 2009, 01:40:01 pm by RRivera »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: 500 Internal Server Error
July 06, 2009, 06:26:57 pm
Assuming you've followed the install directions here:

http://wiki.civicrm.org/confluence/display/CRMDOC/Drupal+Installation+Guide

... and you're getting that error, you'll need to look at your webserver logfiles for clues as to what's going wrong.
Protect your investment in CiviCRM by  becoming a Member!

sykong

  • Guest
Re: 500 Internal Server Error
September 16, 2009, 05:31:21 pm
Did you manage to solve this problem?

I get the same error trying to do a clean install of 3.0beta4. The installer script says everything is okay (green) but this error still pops up. The error logs say "Premature end of script headers: index.php"

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: 500 Internal Server Error
September 16, 2009, 06:35:24 pm

please check your apache error logs (or ask your hosting provider for info in case u dont have access to these logs)

that will give you and us a lot more detail

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

sykong

  • Guest
Re: 500 Internal Server Error
September 16, 2009, 08:17:57 pm
Do you mean this?

[Wed Sep 16 17:33:22 2009] [error] [client xxx.xxx.xx.xxx] Premature end of script headers: index.php, referer: http://hostname/sites/all/modules/civicrm/install/index.php
[Wed Sep 16 20:01:54 2009] [error] [client xxx.xxx.xx.xxx] Premature end of script headers: index.php, referer: http://hostname/sites/all/modules/civicrm/install/index.php

I've hidden my ip and hostname.

The second one is what I just tried. On drupal, there was a missing page error (instead of the previous 500 error) and the error "Oops! - The CiviCRM settings file (civicrm.settings.php) was not found in the expected location (sites/default/civicrm.settings.php)." appears on the front page.

I can send you the hostname separately if you need to look at it.

sykong

  • Guest
Re: 500 Internal Server Error
September 17, 2009, 09:18:44 am
I'm looking at the code and my database. Seems like the install script stopped when processing civicrm.mysql. The table civicrm_price_set_entity is created in my database, but not civicrm_tag.

I tried putting civicrm.mysql through phpmyadmin and got the Internal Server Error as well. But it seems like the sql commands were still being processed and all the tables got created. (Although it did bring my other sites depending on the same DB server to a halt for a while.)

Do you thinking breaking civicrm.mysql up into a few files to process would help?

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: 500 Internal Server Error
September 17, 2009, 10:17:50 am

where are you hosting your site on? Might consider upgrading your hosting account

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

sykong

  • Guest
Re: 500 Internal Server Error
September 17, 2009, 04:14:09 pm
I'm hosting on Dreamhost.

I initially tested the Joomla version and had some problems with the first installation too. Seems okay once the database tables are created though. But we need ACL, so I'm trying out the Drupal version

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: 500 Internal Server Error
September 17, 2009, 05:32:00 pm

i would recommend upgrading your dreamhost hosting account to a VPS

civicrm is a bit resource heavy and hence is not a good solution for shared hosting

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

sykong

  • Guest
Re: 500 Internal Server Error
September 18, 2009, 04:03:25 am
I was thinking spending some time to breakup the install script so that others on shared hosting like me could also install civicrm in steps.

Would the team be interested to incorporate it?


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: 500 Internal Server Error
September 18, 2009, 08:09:29 am

1. you might want to make it availaible as a separate download and see if folks are using it.

2. i suspect if you have problems executing civicrm.mysql in your db, there are a fair number of problems ahead. CiviCRM is db intensive

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

sykong

  • Guest
Re: 500 Internal Server Error
September 22, 2009, 05:02:33 am
Started a new thread with a link to the modified files (unable to attach directly as the zip file is larger than the attachment limit.)

http://forum.civicrm.org/index.php/topic,9973.0.html

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • 500 Internal Server Error

This forum was archived on 2017-11-26.