flagflag  If you want to see English page, please click "English" Button at Left.

Re: Modlos 1.5.2: editing avatar ownership fails

このトピックの投稿一覧へ

なし Re: Modlos 1.5.2: editing avatar ownership fails

msg# 1.1.1.1
depth:
3
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2011-2-3 8:27
roel  Just popping in   投稿数: 7
I still don't know why OPENSIM_DB_NAME is being searched by get_record() instead of CMS_DB_NAME. All I know is that get_record() calls get_record_sql() which in turn calls get_recordset_sql(). get_recordset_sql() uses the global variable $db. Perhaps this function in /include/opensim.mysql.php has something to do with it.

function opensim_new_db($timeout=60)
{
$db = new DB(OPENSIM_DB_HOST, OPENSIM_DB_NAME, OPENSIM_DB_USER, OPENSIM_DB_PASS, $timeout);

return $db;
}


I hope someone has a solution to this problem.



But I found some things that appear to be bugs. Although they may be unrelated.

1. There seems to be typo in blocks/modlos/settings.php line 5

include(CMS_MODILE_PATH.'/modlos/include/modlos.func.php');

should be CMS_MODULE_PATH

2. Undefined variable: SITE in /var/www/quest/moodle/blocks/modlos/include/modlos.func.php on line 1110. So I inserted $SITE line 1094.

function print_modlos_header($currenttab, $course)
{
global $CFG, $SITE;


Please confirm and tell me if these correct solutions?. Thanks
投票数:112 平均点:5.71

投稿ツリー

  条件検索へ


サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
<今日>

オンライン状況

71 人のユーザが現在オンラインです。 (3 人のユーザが Forum を参照しています。)

登録ユーザ: 0
ゲスト: 71

もっと...

アクセスカウンタ

今日 : 1236212362123621236212362
昨日 : 1169911699116991169911699
総計 : 2329969723299697232996972329969723299697232996972329969723299697
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com