このフォーラムに新しいトピックを立てることはできません
このフォーラムではゲスト投稿が禁止されています
Re: Re: ccenter 0.89ブロックフォームから送信でエラー
投稿日時
2009/5/8 2:15
msg# 1.1.1
Thanks
Re: ccenter 0.89ブロックフォームから送信でエラー
投稿日時
2009/4/2 11:22
msg# 1.2
ご指摘の通り修正したところ、正常に動作しました。
ありがとうございました。
ありがとうございました。
Re: ccenter 0.89ブロックフォームから送信でエラー
投稿日時
2009/4/1 17:23
msg# 1.1
報告ありがとうございます。
バグと言うか、コードの変更忘れです。申し訳ない。
自分が使ってない機能はテストが疎かになるなぁ。orz
バグと言うか、コードの変更忘れです。申し訳ない。
--- blocks/ccenter_block_form.php 15 6月 2008 22:57:15 +0900 1.3
+++ blocks/ccenter_block_form.php 01 4月 2009 16:17:17 +0900
@@ -31,7 +31,7 @@
$items = get_form_attribute($form['defs']);
assign_form_widgets($items);
$form['items'] =& $items;
- $form['action'] = XOOPS_URL.'/modules/'.basename(dirname(dirname(__FILE__))).'/index.php?form='.$form['formid'];
+ $form['action'] = 'index.php?form='.$form['formid'];
$template = render_form($form, 'form');
return array('content'=>$xoopsTpl->fetch('db:'.$template));
}
ccenter 0.89ブロックフォームから送信でエラー
投稿日時
2009/4/1 14:07
msg# 1
ccenter 0.89を試用させていただいております。
フォームをブロックで表示し、送信したところ、エラーになります。
formのpost先が下記のようになっているのが原因のようです。
<form action="http://XOOPS_URL/modules/ccenter/http://XOOPS_URL/modules/ccenter/index.php?form=1" name="ccenter" method="post" onsubmit="return xoopsFormValidate_ccenter();">
使用環境
レンタル coreserver
XOOPS 2.0.16a-JP
Apache 1.3.37
PHP 5.2.5
MySQL 5.1.20
フォームをブロックで表示し、送信したところ、エラーになります。
formのpost先が下記のようになっているのが原因のようです。
<form action="http://XOOPS_URL/modules/ccenter/http://XOOPS_URL/modules/ccenter/index.php?form=1" name="ccenter" method="post" onsubmit="return xoopsFormValidate_ccenter();">
使用環境
レンタル coreserver
XOOPS 2.0.16a-JP
Apache 1.3.37
PHP 5.2.5
MySQL 5.1.20