PDA

View Full Version : TYPO3 500 Server Error



xplorer
07-17-2007, 07:22 AM
Hi, I have been using Typo3 for 4 years now. recently moved to hostmonster and installed Typo3 4.1 - Backend fine - Front end gives a 500 Server Error - see -> http://www.spacexplorer.net/ - Anyone else??? Im trying to find out if it is php5/fastCGI problem....???

Any help would be appreciated

Jaco

sjlplat
07-17-2007, 07:48 AM
The 500's I've seen from FastCGI are occasional 1-time events that clear up with a refresh. Yours appears to be occuring even with a refresh, so I'm thinking it's probably not related.

Have you disabled FastCGI and tried accessing your site?

xplorer
07-18-2007, 09:10 AM
I actually do not have fastCGI enabled yet -

When I receive the 500 error, the logs show "[Tue Jul 17 06:48:46 2007] [error] [client 74.220.195.115] Premature end of script headers: /home/spacexpl/public_html/index.php"

The index.php file is terminating its headers too early.

Trying to figure out if there is a problem with php include

charlesgan
07-18-2007, 01:35 PM
500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.

double check the .htaccess.

today i facing this error on other new hosting that i signuped.
tweaking the .htaccess seem to solve it.

mojojuju
07-18-2007, 02:16 PM
Hi xplorer,

TYPO3 runs great on Hostmonster, even with PHP5 and fastcgi.

I'm currently using TYPO3 4.1 with PHP 5. I was using fastcgi, but had to deactivate it because some of my own scripts were not working under it.

One thing you'll do differently when setting up TYPO3 on Hostmonster than you would normally do with other hosts is a little hack which gets around Hostmonster's restrictions on symbolic linking.

In your TYPO3 installation, you'll have a symbolic link called index.php which usually points to typo3_src/index.php

Well, you can't have that, so what you've got to do is delete the symbolic link for index.php and just open up a text editor and create a file called "index.php" in the same place where the symbolic link used to be.

The contents of this new index.php will be as follows:


<?php

// This basically does the job of the normal symbolic link
include ('typo3_src/index.php');

?>

Now, I think that may solve your problem, as it did for me. You can see my TYPO3 site running here http://www.cbrich.com

If the above fix doesn't work, try removing some extensions which may be causing the issue.

It's good to see another TYPO3 user around here:D

xplorer
07-20-2007, 12:07 AM
thx for the feedback - I'm glad to hear it is possible to run TYPO3 and that someone has it running successfully with these configurations:

Sadly I have not been successfull yet...

1. I have already tried the Index.php fix,
2. i have uninstalled all extensions
3. I'm trying diff. settings in .htaccess

No joy yet...


Could I maybe compare configurations with you???

My main typo3_src-4.1.1 folder sits outside the public_html folder -
in index.php I have
<?php
include '../typo3_src-4.1.1/index.php';
?>

Since I do have a FOLDER-symlink typo3_src that links to the actual ../typo3_src-4.1.1/ I also did try

<?php
include '../typo3_src/index.php';
?>

Because hostm. is supposed to allow FOLDER symlinks.

------------------

I have tried diff. settings in htaccess - from deleting it to blank to whatever I can find on other forums as possible configs -

------------------

thx


Jaco Xplorer

xplorer
07-20-2007, 12:08 AM
OOOPS -
I tried
<?php
include ('typo3_src/index.php');
?>