CGI-BBS > チャット > ツーショットチャット > 2shot V4.1でチャットファイルへ書き込みできませんとエラー


カレッヂ
カレッヂ


質問者 なお  投稿日 4/28(土) 23:57:24
お世話になります。

2SHOT-CHAT V4.1 で2shot.cgiを呼び出すと
エラー チャットファイルへ書き込みできません
と表示が出ます。
http://www.nao-sun.sfcgi.com/22464sh/2shot.cgi

ちなみにhtaccessは使えません。
設置構成、パーミッションは説明どおりです。

データ格納フォルダは解るのですが、その中の
01.ent 01.mes 01.log 02.・・・・はファイルを作ればよいのでしょうか?
あと、
#○クッキーを認識する範囲と名称
#  詳しいことは http://www.netscape.com/newsref/std/cookie_spec.html のpathの項目をご覧ください.
#
$path = '';
$cookie_name = "2shot-chat";
の意味合いがわかりません。
よろしくお願いいたします。
回答者 中級者  [削除]  投稿日 4/29(日) 13:28:06
#        |-- 01.ent <666>
#        |-- 01.mes <666>
#        |-- 01.log <666>
#        |-- 02.ent <666>
#        |-- 02.mes <666>
#        |-- 02.log <666>
#        |-- 03.ent <666>
#        |-- 03.mes <666>
#        |-- 03.log <666>
#        |   以下略... 必要な分だけ用意する
#        |
#        |-- 部屋ID.ent
#        |-- 部屋ID.mes
#        |-- 部屋ID.log
#        |-- >>用意する部屋分だけ3ファイル1セットとして用意する

この分は階層図にあった位置でご自分で作成してみて下さい。

#○クッキーを認識する範囲と名称
#  詳しいことは http://www.netscape.com/newsref/std/cookie_spec.html のpathの項目をご覧ください.
#
$path = '';
$cookie_name = "2shot-chat";

path=PATH
The path attribute is used to specify the subset of URLs in a domain for which the cookie is valid. If a cookie has already passed domain matching, then the pathname component of the URL is compared with the path attribute, and if there is a match, the cookie is considered valid and is sent along with the URL request. The path "/foo" would match "/foobar" and "/foo/bar.html". The path "/" is the most general path.
If the path is not specified, it as assumed to be the same path as the document being described by the header which contains the cookie.

パス=PATH
パス属性はクッキーが有効な領域の中でURLの部分集合を指定するために使用されます。
クッキーが既に領域一致を渡した場合、URLのパスネーム・コンポーネントはパス属性と比較されます。また、マッチがある場合、クッキーは有効であると考えられ、URLリクエストに加えて送られます。パス「/foo」は「/foobar」(そして「/foo/bar.html。」パス("/")は最も一般的なパスです。パスが指定されない場合、それ、クッキーを含んでいるヘッダーによって記述されているドキュメントと同じパスであると仮定されたとともに。

上記は翻訳機によってPATHの関連から抽出して訳したものですが内容は当方は気に
せずそのままにしております。
質問者 なお  [削除]  投稿日 4/29(日) 20:05:35
回答有難う御座います。

.mes .log .ent・・・・・
ファイルを作らずに、フォルダを作ってました。。。

解決です。

このページは終了したので返信(回答)は書きこめません

Web裏技