Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-11 21:13:02

vriesjm
Member
From: NL
Registered: 2006-03-09
Posts: 10

Page cannot be displayed message after submitting comment

Hi, I tried finding the answer on the forum but I cannot find it. Hopefully I have not over looked it and is it really not there.

I have the following problem. When adding a comment to an atricle everything goes smooth until the submit button is hit. Then I get a Page cannot be displayed message. Then I have to hit the refresh button twiced before the comment is shown.

I have a clean 4.0.3. installation and using clean urls.

Can some one help? Thanks!

Offline

#2 2006-03-12 00:22:34

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

Re: Page cannot be displayed message after submitting comment

The FAQ lists some of the information we need in order to help.


Alex

Offline

#3 2006-03-13 16:58:15

vriesjm
Member
From: NL
Registered: 2006-03-09
Posts: 10

Re: Page cannot be displayed message after submitting comment

Zem, I will provide the info as soon as possible. Right now my host provider is completely down and I am not able to logon to the admin part of my site. :-(

Offline

#4 2006-03-14 22:08:41

vriesjm
Member
From: NL
Registered: 2006-03-09
Posts: 10

Re: Page cannot be displayed message after submitting comment

Hi, here it is…

After the submit button is clicked an error message is shown. IE says: “Page cannot be displayed”. Firefox says: “302 Found. The document has moved here. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.”

When you click the refresh button twice the new comment is shown. So, the comment is picked up by TXP, but the redirect (?) back to the article is not executed correcly.

I tried removing the .htaccess and switching to messy url’s, but that did not work.

I made a clean install (as I am a new user) of 4.0.3.

This is the low details version of my diagostics:
<code>
Textpattern version: 4.0.3 (r1188)
last_update: 2006-02-16 13:40:50/2006-02-16 13:24:59
Document root: /customers/twee-b.nl/twee-b.nl/httpd.www
$path_to_site: /customers/twee-b.nl/twee-b.nl/httpd.www
Textpattern path: /customers/twee-b.nl/twee-b.nl/httpd.www/textpattern
Permanent link mode: section_title
Temp folder: /customers/twee-b.nl/twee-b.nl/httpd.www/textpattern/tmp
Site URL: www.twee-b.nl
PHP version: 4.4.1
server_time: 2006-03-14 22:56:39
MySQL: 4.0.24_Debian-10sarge1-log
Locale: en_GB.UTF-8
Server: Apache
php_sapi_mode: cgi-fcgi
os_version: Linux 2.6.12.5-vs2.0

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

<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

————————————
</code>

Hope you can help, because I have absolutly no clue anymore.

You can see for yourself here (go to Site and try adding your comment to the test article)

Thanks!

Last edited by vriesjm (2006-03-14 22:13:05)

Offline

#5 2006-03-14 22:42:52

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

Re: Page cannot be displayed message after submitting comment

V,

This sounds like a PHP-fastcgi bug we’ve been trying to work around recently. If you’re able, download the current 4.0 branch from svn.textpattern.com and try that.


Alex

Offline

#6 2006-03-15 18:21:05

vriesjm
Member
From: NL
Registered: 2006-03-09
Posts: 10

Re: Page cannot be displayed message after submitting comment

Hi Zem,

I upgraded to the latest branch and that solved the issue!

Here is the Diagnostic info:
<code>
Textpattern version: 4.0.3 (r1248)
last_update: 2006-02-16 13:40:50/2006-03-15 18:03:17
Document root: /customers/twee-b.nl/twee-b.nl/httpd.www
$path_to_site: /customers/twee-b.nl/twee-b.nl/httpd.www
Textpattern path: /customers/twee-b.nl/twee-b.nl/httpd.www/textpattern
Permanent link mode: section_title
Temp folder: /customers/twee-b.nl/twee-b.nl/httpd.www/textpattern/tmp
Site URL: www.twee-b.nl
PHP version: 4.4.1
server_time: 2006-03-15 19:16:06
MySQL: 4.0.24_Debian-10sarge1-log
Locale: en_GB.UTF-8
Server: Apache
php_sapi_mode: cgi-fcgi
os_version: Linux 2.6.12.5-vs2.0

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

<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

————————————
</code>

Thanks for helping. If you need any additonal info or want feed back, just let me know.

Grtz, Martin

Offline

Board footer

Powered by FluxBB