Forum Problems Installing LAMS: Re: LAMS - Moodle integration validation problem


 
Search: 

3: Re: LAMS - Moodle integration validation problem
In response to 1 04/11/09 01:21 AM
[ Reply | Forward ]
Hi Jun-Dir

It's taken me ages to find the solution, but Moodle on vleinternal now integrates fully with LAMS on vleinternal.

The blank line was being introduced in the output of userinfo.php by the line: include_once('../../config.php');

It eventually turned out that config.php had two blank lines AFTER the closing ?> tag.

Once I deleted one of these blank lines userinfo.php worked fine and so does Moodle and LAMS!

Thanks so very much for all your help - there is no way I could have solved this without your assisstance.

Happy Easter!

Clive



On Fri, Apr 10, 2009 at 6:08 PM, Jun-Dir Liew wrote:

Hi,

The out of bounds error is because userinfo.php is returning a blank line before the line containing the comma separated values - so LAMS is not actually reading the csv string. You can check this by looking at the page source when you paste the userinfo.php url in your browser.

Can you look at your file ict/mod/lamstwo/userinfo.php - are there any reasons you can think why a blank line would appear at the top?

Jun-Dir

Posted by Clive Gould

4: Re: Re: LAMS - Moodle integration validation problem
In response to 3 04/11/09 07:07 AM
[ Reply | Forward ]
Cool!

Posted by Jun-Dir Liew

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