Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Comment Error

#1 2006-02-15 13:45:15

bdhamilton
Member
From: South Bend, IN
Registered: 2006-02-15
Posts: 18
Website

Comment Error

Hello,
I’m working on installing and configuring Textpattern for the first time, and I’m having a problem getting comments up and running. The site is http://bdhamilton.com/.

Here’s the problem: when I open an article and go to leave a comment, you can preview and then post—and then you get an Internal Server Error. The comment really does post—it’s added to the database and to the page if you reload it—but the site just ships the user off to this blank page every time s/he tries.

Has anyone seen this before? Any ideas?

(Edit: assumed resolved and marked as such. :) -Mary)

Offline

#2 2006-02-15 16:41:39

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Comment Error

Hmm, that’s strange. What’s the url you get sent to?

Offline

#3 2006-02-15 17:08:39

bdhamilton
Member
From: South Bend, IN
Registered: 2006-02-15
Posts: 18
Website

Re: Comment Error

It posts to self, keeping the same URL it started with, e.g. http://bdhamilton.com/essay/christians-at-the-un#cpreview.

Last edited by bdhamilton (2006-02-15 17:09:01)

Offline

#4 2006-02-15 17:16:01

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Comment Error

I’m just about to post a test comment here, to see if I can figure out what’s happening.
http://bdhamilton.com/article/arrogance-and-courage

Offline

#5 2006-02-15 17:23:04

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Comment Error

I get the 500 error as well. It’s weird, since visiting that url alone doesn’t cause the error. Makes me think it’s maybe something to do with the headers being sent by Textpattern.

Do you have access to your server logs? Perhaps there is a clue in there?

Edit: oh and can you post your diagnostics tab info?

Offline

#6 2006-02-15 18:32:06

bdhamilton
Member
From: South Bend, IN
Registered: 2006-02-15
Posts: 18
Website

Re: Comment Error

As far as I can see right now, I have no access to my server logs. I’ll e-mail my host and see if they can’t give me anything. This might be helpful: as I’ve kept configuring things, I think it gave me the same error another time, when I accidently layered two if_article_list tags inside each other. I can’t reproduce it now, though, so I’m not sure. I’ve tried to look through the comments code to see if I made a similar slip, but they all look pretty clean…

Here’s the diagnostics information:

Textpattern version: 4.0.3 (r1188)
last_update: 2006-02-15 03:41:03/2006-02-14 22:49:57
Document root: /home/content/b/d/h/bdhamilton/html
$path_to_site: /home/content/b/d/h/bdhamilton/html
Textpattern path: /home/content/b/d/h/bdhamilton/html/textpattern
Permanent link mode: section_title
upload_tmp_dir: /tmp
Temp folder: /home/content/b/d/h/bdhamilton/html/textpattern/tmp
Site URL: bdhamilton.com
PHP version: 4.3.11
Register globals: 1
server_time: 2006-02-15 11:23:33
MySQL: 4.0.24-max-log
Locale: en_US.UTF-8
Server: Apache
php_sapi_mode: cgi-fcgi
os_version: Linux 2.4.21-27.ELsmp

Pre-flight check:
————————————
Your version of PHP has security related risks. Please turn register_globals off or update to a newer PHP version.
————————————

.htaccess file contents:
————————————
#DirectoryIndex index.html index.php
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

DefaultType application/x-httpd-php

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php </IfModule>

#php_value register_globals 0
————————————

Thanks for all your help!

Offline

#7 2006-02-15 23:07:16

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Comment Error

Find out if you can view your Apache error logs. Often when a 500 Server Error is displayed, a specific error message will be written to the log file.

Failing that, your best option is to disable .htaccess and use messy URLs.

Also see the FAQ.


Alex

Offline

  1. Index
  2. » Archives
  3. » Comment Error

Board footer

Powered by FluxBB