Forum Problems Installing LAMS: Re: LAMS Moodle Integration 500 Error


 
Search: 

2: Re: LAMS Moodle Integration 500 Error
In response to 1 06/19/06 05:32 PM
[ Reply | Forward ]
It looks like there's an existing user for 'admin' in the lams table - this might have happened if you'd setup a moodle server entry in ext_server_org_map, logged into moodle as admin, and then changed to a different moodle server entry with a different id/key - but using the same 'prefix'. The prefix, together with the id/key (as a set), needs to be unique, otherwise you will get the 'error.username.unique' error.

You can check if this is the case just be looking into tbl_user for a user with the login '{prefix}_admin', where {prefix} is the prefix entered in ext_server_org_map. To fix you can try changing the prefix entry in ext_server_org_map to something else.

Posted by Jun-Dir Liew

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