Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-24 15:43:38

grubdog
New Member
Registered: 2006-04-24
Posts: 8

Site does not load, "Internal Server Error"

Ok so I have some vague experience in making a couple of website’s and this looked kinda easy so I thought I would try it out, but I am hitting my head against the wall.

I have installed and unpacked textpattern correctly and quickly played around with the preferences – now the thing is, could you tell me whether I am supposed to see a basic website setup when I click on the “view site” tab, because all I get is:

Internal Server Error
- then blah blah blah

anyway nothing – Is that right ? or am I supposed to see a basic web page.

The other thing is on the diagnostic’s tab I read this error:
Your version of PHP has security related risks. Please turn register_globals off or update to a newer PHP version.

Does this restricrict my viewing? I have no idea how to change this either I’ve tried looking aroundthe site’s for answer’s but I dont know enough to solve it. I hear I am supposed to use .htaccess but have never encountered this before and my server provider says I need to upload the file.

Anyway, so what do i do – It’s getting very frustrating!!!

Oh btw my server provider is F2s.com.

(Edit: updated thread title to something more useful. :) -Mary)

Last edited by Mary (2006-04-24 18:25:35)

Offline

#2 2006-04-24 15:48:08

lornajane
New Member
Registered: 2006-03-18
Posts: 5

Re: Site does not load, "Internal Server Error"

It sounds like you have a couple of problems going on there, can you post the rest of the error you see when you try to “view site”? The “blah blah” bit will probably help someone figure out your problem.

The register_globals is a security problem but it shouldn’t stop you from seeing your site!

Offline

#3 2006-04-24 15:54:49

grubdog
New Member
Registered: 2006-04-24
Posts: 8

Re: Site does not load, "Internal Server Error"

My pleasure:

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

Please contact the server administrator, support@freedom2surf.net 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.

————————————————————————————————————————

Apache/2.0.51 (Fedora) Server at thegreyroom.f2s.com Port 80

Offline

#4 2006-04-24 16:49:59

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Site does not load, "Internal Server Error"

Offline

#5 2006-04-24 17:17:35

grubdog
New Member
Registered: 2006-04-24
Posts: 8

Re: Site does not load, "Internal Server Error"

Many thanks – I found someone else who uses f2s he recommended doing this:

lingsb wrote:

I’ve been using the following .htaccess on f2s (freedom2surf.com)

Textpattern version: 1.0rc3
Document root: /web/sites/112/lings/www.lings.f2s.com
$path_to_site: /web/sites/112/lings/www.lings.f2s.com
Textpattern path: /web/sites/112/lings/www.lings.f2s.com/textpattern
Site URL: www.lings.f2s.com
PHP version: 4.3.10
Register globals: 1
Magic quotes: 0/0
Locale: en_GB.UTF-8
Server: Apache/2.0.51 (Fedora)
Apache version: Apache/2.0.51 (Fedora)

.htaccess file contents:

<pre><code>
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /

RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L] RewriteRule ^(.*) index.php </IfModule> </code></pre>

I think the main thing to be added to the default .htaccess should be ‘RewriteBase /’, otherwise it looks for the whole document root in the URL. The only advice needed is that if the .htaccess file and index.php file are in different directories, the RewriteBase should give the relative path of the directory containing index.php:

eg:

<pre><code>
/.htaccess
/txp/index.php
</code></pre>

should have <code>‘RewriteBase /txp/’</code>

Does that mean I simply just use this code instead:

RewriteBase / RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L] RewriteRule ^(.*) index.php

Last edited by grubdog (2006-04-24 17:23:23)

Offline

#6 2006-04-24 17:29:05

grubdog
New Member
Registered: 2006-04-24
Posts: 8

Re: Site does not load, "Internal Server Error"

Ok so I eventually re wrote my htaccess file to this:

<code>

RewriteBase / RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L] RewriteRule ^(.*) index.php

php_value register_globals off

</code>

This seems to resolve all the issues I have I can now see the website and it no longer asks me about register_globals in dagnostics which is great!!!

Btw how do you wrap code in quote here?

Last edited by grubdog (2006-04-24 18:02:05)

Offline

#7 2006-04-24 17:49:20

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Site does not load, "Internal Server Error"

grubdog wrote:

Btw how do you wrap code in quote here?

How do I post tags and code on the forum?

Offline

Board footer

Powered by FluxBB