Login
Username

Password



Lost Password?

Register now!

Guests cannot post in this forum

You cannot start a new topic in this forum

Action
list-tree Tree order sort-down Newest first previous Previous topic next Next topic

質問 お問合せ窓口モジュールのインストールについて

いつもお世話になります。
下記メッセージが出て、お問合せ窓口 ccenter0.92 をインストールすることが出来ません...

Table xoops__ccenter_form created.
Too big column length for column 'email' (max = 255). Use BLOB instead
お問合せ窓口 モジュールのインストールに失敗しました
Force Uninstallation is started.



環境は、
FreeBSD7.0
Apache2.2.8
PHP5.2.6
MySQL4.027
XCL2.1.5
です。

解決策がありましたらアドバイスをお願いします。

なし Re: お問合せ窓口モジュールのインストールについて

mysql 4.0 は varchar(255) が最大だったようですね。
最近、回りが mysql 5.0 ばかりになって忘れていました。

ccenter/sql/mysql.sql の定義を varchar(256) → varchar(255) とでもすれば解決すると思います。
--- mysql.sql	08  6月 2009 11:03:29 +0900	1.8
+++ mysql.sql	23  7月 2009 12:15:15 +0900	
@@ -36,7 +36,7 @@
   mtime int(10) NOT NULL default '0',
   atime int(10) NOT NULL default '0',	-- last access time by contactee
   fidref int(8) NOT NULL default '0',	-- formid external reference
-  email varchar(256) NOT NULL default '',-- guest access email address
+  email varchar(255) NOT NULL default '',-- guest access email address
   body  text,	-- contact form siralized value
   status char(1) NOT NULL default '-',	-- '-':not yet, a:accept, b:replyed, c:close, x:deleted
   value int(4) NOT NULL default '0',	-- evaluate value for this contact
規格的には 256 なのですが、そこまで必要なのは非常にマレなので問題ないでしょう。
--
Nobuhiro YASUTOMI (MySite Users Webmaster)

list-tree Tree order sort-down Newest first previous Previous topic next Next topic



Advanced search
© 2008 MySite Web Service