Login
Username

Password



Lost Password?

Register now!
Referer
No referer

Guests cannot post in this forum

You cannot start a new topic in this forum

Action
sort-up Oldest first sort-down Newest first previous Previous topic next Next topic

なし ccenter 0.89ブロックフォームから送信でエラー

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

なし Re: ccenter 0.89ブロックフォームから送信でエラー

Thank you reporting.

There is I forgot to changing code.
--- 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));
 }

Not well do testing, not using myself. X-(

sort-up Oldest first sort-down Newest first previous Previous topic next Next topic



Advanced search
© 2008 MySite Web Service