PEAK XOOPS - SQLファイル修正依頼 in englishin japanese

SQLファイル修正依頼

List posts in the topic

report SQLファイル修正依頼

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2007/1/10 18:19
sakichi  二等兵   Posts: 4
http://xoopscube.jp/modules/xhnewbb/viewtopic.php?topic_id=4468&post_id=19512#forumpost19512
この投稿がきっかけで貴サイトで配布されているモジュールを
一通りDLしてSQLファイルを眺めて、MYSQL5環境にて修正を要するモジュールと項目を纏めてみました。
あと、いくつか気になった点をつらつらと、、
1.修正項目
Protecter
protector_log : description,extra

Tell a friend
tellafriend_log : mail_body

XHLD
xhld : headline_name,headline_url,headline_rssurl,headline_titlepattern,headline_titleexclude,headline_linkpatternheadline_linkexclude,headline_xml

Wraps
indexes : body

Protecter,XHLD,WrapsはSQLファイルを書き換えてインストールした後は、
特に挙動不審な点は無いように思います。
Tell a friendは不明(使ってない。。)

2.Wrapsについて
(dir)/index.php/index.html等のURL指定だとIISではエラーになる為、
以下のコードで回避して運用でカバー中なんですが、
何か、いいアイデアはありませんか?
(trust_path)/modules/wraps/main/index.php 18行目から
	// module top
	$path_info = empty( $xoopsModuleConfig['index_file'] ) ? 'index.html' : $xoopsModuleConfig['index_file'] ;
	$wrap_full_path = XOOPS_TRUST_PATH.'/wraps/'.$mydirname.'/'.$path_info ;
	if( ! file_exists( $wrap_full_path ) ) {
		die( _MD_WRAPS_NO_INDEX_FILE ) ;
	} else if(strpos($_SERVER["SERVER_SOFTWARE"],'IIS')){
	} else {
		header( 'Location: '.XOOPS_URL.'/modules/'.$mydirname.'/index.php/'.$path_info ) ;
		exit ;
	}

3.モジュールのインストール(oninstallの仕様?)について
GIJOEさんのせいじゃないけど、テーブル作成に失敗しているにもかかわらず、
インストールが成功したかのように見えるのはどうにかしてくれないかな、と。
$func = 'xoops_module_install_'.$dirname;
if (!$func($module)) {
    $msgs[] = 'Failed to execute '.$func;
} else {
    $msgs[] = '<b>'.$func.'</b> executed successfully.';
}
・・・失敗が取れてるんならさっさとキャンセルしてくれればいいのに。
まあ、これはコアに対して言うべき事ですね。

以上、ご報告まで
Votes:15 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!