3:
Re: LAMS - Moodle integration validation problem
By: Clive Gould
|
In response to 1 | 04/11/09 01:21 AM | ||
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 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 |
|
Reply to first post on this page
Back to Problems Installing LAMS