Forum Problems Installing LAMS: Re: Integration Validate Problem


 
Search: 

2: Re: Integration Validate Problem
By: Yan Xu
In response to 1 08/21/09 01:34 AM
[ Reply | Forward ]
Hello,
And I do not know why can I add lamsv2 activity,and characters changed to be irrecognizable .


Sequence

The directory structure below contains the sequences you can create a lesson for.
Select one and click on the next button to continue.

我的工作区

yan xu



我的工作组

mdl_6

mdl_6 运行序列

Posted by Yan Xu

6: Re: Re: Integration Validate Problem
In response to 2 08/23/09 04:03 PM
[ Reply | Forward ]
Hi Yan,

I have figured out what causes this encoding problem. Go to your moodle/mod/lamstwo folder and in the lib.php file, go to line 256 and comment out this line:

// $xml = utf8_encode($xml);


It seems that we were utf-8 encoding twice.

Once you comment this out, it should work no problems.

Thanks,

Ernie

Posted by Ernie Ghiglione

10: Re: Re: Re: Integration Validate Problem
By: Yan Xu
In response to 6 08/23/09 07:06 PM
[ Reply | Forward ]
Oh, Ernie
$xml = utf8_encode($xml); I just found only one in the lib.php.
it encoded only once on my sever!

Posted by Yan Xu

12: Re: Re: Re: Integration Validate Problem
By: Yan Xu
In response to 6 08/23/09 07:12 PM
[ Reply | Forward ]
Hi,
I comment out this line:

// $xml = utf8_encode($xml);

and no irrecognizable code now!
Thanks very much! Ernie!

Posted by Yan Xu

7: Re: Re: Integration Validate Problem
In response to 2 08/23/09 04:28 PM
[ Reply | Forward ]
Actually Yan, I think you are using an older lamstwo module. Which version have you downloaded?

Note that in the download page there are two options, one for Moodle 1.8+ and the other one for Moodle 1.6.

Make sure you are using the 1.8+ version if you are using Moodle 1.8 or higher.

Thanks,

Ernie

Posted by Ernie Ghiglione

9: Re: Re: Re: Integration Validate Problem
By: Yan Xu
In response to 7 08/23/09 06:56 PM
[ Reply | Forward ]
My lamstwo module is 2.0.2 version,and my lams installed is 2.3 version ,my moodle is 1.7.1

Posted by Yan Xu

11: Re: Re: Re: Integration Validate Problem
By: Yan Xu
In response to 7 08/23/09 07:07 PM
[ Reply | Forward ]
So I used lamstwo for Moodle 1.6+.

Posted by Yan Xu

Reply to first post on this page
Back to Problems Installing LAMS