The "Failed on finding current system session with null sessionId" error can be safely ignored.
If there aren't any errors on the LAMS logs then it points to an error on the Moodle side, or in the URL that calls Moodle to get the user details.
In LAMS, log in as sysadmin and go to the Sys Admin menu, the Maintain Integrated Servers screen and edit the Moodle configuration. Find the entry for the User Information URL and copy and paste that URL into your browser. That will try to call Moodle to get the user details. Does that work?
The url will be something like:
http://<moodle_server>/mod/lamstwo/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%
or
http://<moodle_server>/moodle/mod/lamstwo/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%
The extra "moodle/" is needed if you call access Moodle as http://<moodle_server>/moodle/ - it depends on how you installed Moodle.
If the url fails, and adding/removing the "/moodle" isn't the solution, then have a look at the Apache logs for any errors that Moodle might be writing out.
Fiona
Posted by Fiona Malikoff