Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2005-11-23 00:33:47
- lyriclace
- Member
- Registered: 2005-08-07
- Posts: 13
Re: 500 Internal Error on First try for comments w/ 4.0.2
No, I’m afraid it didn’t help…
Offline
#17 2005-11-23 00:46:59
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: 500 Internal Error on First try for comments w/ 4.0.2
All signs are pointing to something external to Textpattern: the web server config, some kind of global mod_rewrite settings, special error page configuration, etc.
That’s about all I can tell you given the information we have, I’m afraid. Perhaps your web host’s tech support can help – if it is a server configuration thing, the same problem might occur in other PHP or CGI applications.
Alex
Offline
#18 2005-11-23 00:48:54
- lyriclace
- Member
- Registered: 2005-08-07
- Posts: 13
Re: 500 Internal Error on First try for comments w/ 4.0.2
Thanks for your help anyway!
I’ll submit the solution later, if there is one and if I can fint it!
Offline
#19 2005-11-23 01:00:28
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: 500 Internal Error on First try for comments w/ 4.0.2
Thanks. If there’s something we can fix, we will; it’s just a matter of finding it.
Alex
Offline
#20 2005-11-29 20:40:34
- lyriclace
- Member
- Registered: 2005-08-07
- Posts: 13
Re: 500 Internal Error on First try for comments w/ 4.0.2
I just commented out this line from comment.php:
<pre>
<code>
header(‘Location: ‘.$backpage.’#c’.sprintf(“%06s”,$rs));
</code>
</pre>
Now it seems to work… So, I guess the problem is to find somewhere around that line!
Offline
#21 2005-11-29 21:15:38
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: 500 Internal Error on First try for comments w/ 4.0.2
Does it help if you uncomment that line, and change it to this:
header('Location: '.$backpage);
Alex
Offline
#22 2005-11-29 21:48:51
- lyriclace
- Member
- Registered: 2005-08-07
- Posts: 13
Re: 500 Internal Error on First try for comments w/ 4.0.2
It also seems to work if I comment this row out instead:
<pre>
<code>
txp_status_header(‘302 Found’);
</code>
</pre>
What does that row actually do?
This did not work:
<pre>
<code>
header(‘Location: ‘.$backpage);
</code>
</pre>
Offline
#23 2005-11-29 22:07:25
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: 500 Internal Error on First try for comments w/ 4.0.2
What does that row actually do?
It sends the 302 status message that tells the browser to redirect to a new page after the POST.
BTW: do you happen to know whether you’re running PHP in CGI or mod_php mode?
Alex
Offline
#24 2005-11-30 11:17:05
- lyriclace
- Member
- Registered: 2005-08-07
- Posts: 13
Re: 500 Internal Error on First try for comments w/ 4.0.2
The PHP on the server is running in CGI-mode…
Last edited by lyriclace (2005-11-30 11:17:28)
Offline
Re: 500 Internal Error on First try for comments w/ 4.0.2
Mine too, although that problem seems to have gone away for me. ( How odd )
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline
#26 2005-12-02 07:46:00
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: 500 Internal Error on First try for comments w/ 4.0.2
I’ve moved this to Bug Reports to keep track of it easier, though I’m not sure that it actually is a bug.
LL: I just noticed that your site seems to use a mix of messy and clean URLs, e.g. http://www.lyriclace.net/kategori/Blogg/. Are you using some kind of rewrite or placeholder to do this?
Alex
Offline
Re: 500 Internal Error on First try for comments w/ 4.0.2
I get the same error, but cannot make it go away by commenting out any of the mentioned lines..
http://vinterstille.dk
Offline
#28 2006-01-07 02:32:01
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: 500 Internal Error on First try for comments w/ 4.0.2
V,
We can’t do anything without more information. Please read the FAQ.
Alex
Offline
Re: 500 Internal Error on First try for comments w/ 4.0.2
Heres my diagnostics, hope this helps:
Textpattern version: 4.0.3 (r1188)
last_update: 2006-01-07 01:48:26/2006-01-07 01:48:00
Dokumentroden: /customers/klostertorvet.dk/klostertorvet.dk/httpd.www
$path_to_site: /customers/klostertorvet.dk/klostertorvet.dk/httpd.www
Textpattern sti: /customers/klostertorvet.dk/klostertorvet.dk/httpd.www/textpattern
Permanent link: title_only
Midlertidig mappe: /customers/klostertorvet.dk/klostertorvet.dk/httpd.www/textpattern/tmp
Site URL: klostertorvet.dk
PHP version: 5.1.1
Register globals: 1
server_time: 2006-01-12 12:31:00
MySQL: 4.0.24_Debian-10sarge1-log
Lokal: en_US.UTF-8
Server: Apache
php_sapi_mode: cgi-fcgi
os_version: Linux 2.6.12.6-vs2.0
Pre-checks:
————————————
/customers/klostertorvet.dk/klostertorvet.dk/httpd.www/textpattern/setup/ eksisterer stadig
————————————
.htaccess fil indhold:
————————————
#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> ————————————Charset (default/config): latin1/latin1
character_set: latin1
character_sets: latin1 big5 cp1251 cp1257 croat czech danish dec8 dos estonia euc_kr gb2312 gbk german1 greek hebrew hp8 hungarian koi8_ru koi8_ukr latin1_de latin2 latin5 sjis swe7 tis620 ujis usa7 win1250 win1251ukr win1251
19 Tables: OK
PHP suffiks: libxml, xsl/0.1, xmlrpc/0.51, xmlreader/0.1, xml, wddx, standard/5.1.1, SimpleXML, soap, SPL, session, PDO, pdo_mysql/1.0, mysql/1.0, imap, iconv, gettext, gd, dom/20031129, date/5.1.1, ctype, calendar, bcmath, zlib/1.1, pcre, openssl
/include/txp_category.php: r1154 (dffd7979531373149c74e3eedfbb50e2)
/include/txp_plugin.php: r1167 (c2c7d7fc1e4918c79cd3658c62e4fbda)
/include/txp_auth.php: r1166 (3e2eaca7b151e14561125ab68e722203)
/include/txp_form.php: r947 (c0e4393328985742bd81cda61d10d5ed)
/include/txp_section.php: r1154 (d85c1ce405fccd9dac364c8ef4eb72eb)
/include/txp_tag.php: r1134 (3e2dfbd6fdccf0693c147ba22a9705e7)
/include/txp_list.php: r1042 (e85d2de1c63b41f0e5bdcf268e3c487b)
/include/txp_page.php: r876 (e22dc37b465b87757722732a225b25f3)
/include/txp_discuss.php: r1170 (1e56e08cc95c255783410076db12529f)
/include/txp_prefs.php: r1170 (c806be1b1f238e75a5ff6b7cf8432d17)
/include/txp_log.php: r906 (68c4f32b70ce41a349f197b6bba6c200)
/include/txp_preview.php: r628 (a16f84b6610fc66db0bce51e25b7af34)
/include/txp_image.php: r1168 (e8ec79ff9b3a21c356ee23da7973b1f0)
/include/txp_article.php: r1170 (88689d7469d16c13d51bd4adff03ebd7)
/include/txp_css.php: r922 (0c596d9968052b89581d1ca65a77c5de)
/include/txp_admin.php: r1074 (7e87ff0e29101593fb170b1a2de9fd59)
/include/txp_link.php: r1154 (7c0c55ff6580793dff0626f169e64ad6)
/include/txp_diag.php: r1154 (5d66b90f7e7720dd0e3526ca1b24cf89)
/lib/admin_config.php: r877 (9aea12193cc76eea1964eb0383ec6513)
/lib/txplib_misc.php: r1170 (7000a1b27aa40c90978211e6cff358ec)
/lib/taglib.php: r628 (493878f922262157601c26a999a1c478)
/lib/txplib_head.php: r1183 (fb85b66b4e379476935233f844844bef)
/lib/classTextile.php: r1141 (b066c2bfa94a26ae3d70b245dcf81369)
/lib/txplib_html.php: r1166 (bd11de6e6daa3391eab75a46db55ae36)
/lib/txplib_db.php: r1170 (5a2c3a1e328cd343a067cbb8fd25cd79)
/lib/IXRClass.php: r765 (2efb0fb05b55c634072b0bae9af38bdd)
/lib/txplib_forms.php: r950 (74da2c67abe4786c353ea416c13656eb)
/publish/taghandlers.php: r1188 (4e8eaeb0543d8fde09d6e423af4253b9)
/publish/atom.php: r1117 (14c1aa23c708898d7723b3d6b9c89050)
/publish/log.php: r864 (c3d16d3dfe375819a19fcd62398e4b86)
/publish/comment.php: r1187 (d55dde574418d2eaf6a394d703056d9a)
/publish/search.php: r884 (80f942f1dc301857c2fa9dcb16aa1246)
/publish/rss.php: r1099 (ce0d82b9435d8f1de01c8e2b6c585f93)
/publish.php: r1186 (f3280e1e1739095878963e80b171ab30)
/index.php: r1172 (52f753ebb51c1f7d5312485d9dbad7e4)
/css.php: r944 (df1c754417bdfb4e97a2c83ae5b454ee)
The site is running
Im using the RDC template, and the plugins: ajw_comment_alt, ajw_if_comment_owner, Albumpattern, glx_gravatar.
Last edited by vinterstille (2006-01-12 11:43:04)
http://vinterstille.dk
Offline
Re: 500 Internal Error on First try for comments w/ 4.0.2
oh – the setup dir HAS been deleted ;)
http://vinterstille.dk
Offline