スクリプトエラー
2008/11/13
昼休み中、息抜きに sb3 の β007 のパッチを当てたら sb.cgi が 500 エラーを吐き出すようになってしまった。
----------------------
Script Error
The script did not produce proper HTTP headers. Please see the error log to see the detail of the errors. Depending on the server configuration, you can also run thisscript under CGIWrap debugging. Usually, either rename or linkthe script temporarily to a file which ends with .cgidextension, or add a AddHandler cgi-script-debug .cgiline to your .htaccess file.
----------------------
調べてみたけどよくワカランです。
XREA、CORESERVERだと起こるとか起こらないとか(?)
一応回避というか対策として以下記載。
(合ってるかどうかは不明)
lib/sb/App/Main.pm の 87行目を削除 or コメントアウト
:
83 | $self->cgi->head(
84 | 'type' => ($self->{'mode'} eq 'css') ? CONTENT_TYPE_CSS : CONTENT_TYPE_HTML,
85 | 'length' => ($content->debug) ? undef : length($out),
86 | );
87 | # warn($self->conf->value('debug_content'));
88 | if ($content->error)
89 | {
90 | warn($content->error);
:
■追記
今気付いたんですが、カテゴリーリストの末尾に付いていた投稿件数が消えているのは仕様なんだろうか。









