+ Post New Thread
Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 51
Virtual Learning Platforms Thread, Moodle and Serco Facility - MIS Block in Technical; [EDIT] Refresh the page as I've made multiple edits to my reply above![/EDIT]...
  1. #16
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    896
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    [EDIT] Refresh the page as I've made multiple edits to my reply above![/EDIT]

  2. #17

    Join Date
    Mar 2010
    Posts
    224
    Thank Post
    34
    Thanked 39 Times in 35 Posts
    Rep Power
    17
    Nope, I was using the version you emailed me a few weeks ago. Just made sure but still no dice. Looks like I'll have to get the hyphens taken out. Shouldn't be too much of a problem (not my job either!) as there are only 30 or so students with this type of ID.

  3. #18

    Join Date
    Mar 2010
    Posts
    224
    Thank Post
    34
    Thanked 39 Times in 35 Posts
    Rep Power
    17
    Hmm... well the hyphens were certainly the problem, but it's still not copying over the ID numbers into the local SQL database... but at least its displaying a different student now!

  4. #19
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    896
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    Have you rerun the "Transfer Students" script since making the change?

  5. #20

    Join Date
    Mar 2010
    Posts
    224
    Thank Post
    34
    Thanked 39 Times in 35 Posts
    Rep Power
    17
    Repeatedly.

  6. #21

    Join Date
    Mar 2010
    Posts
    224
    Thank Post
    34
    Thanked 39 Times in 35 Posts
    Rep Power
    17
    Alphabetically, this is the first student with the 9 digit code, rather than a 4 digit code.

    No wait, they aren't, they are the second.

  7. #22
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    896
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    You should see errors during import if the Description field isn't being brought in...

    Code:
    // exit if description is not populated
    		if ($desc==""){
                $this->lookupbydesc_failmsg='Active directory description field empty';      
    			return(false);
    		}
            if (isset($ftm_cfg->numericStudentIds) && $ftm_cfg->numericStudentIds){
        		// according to config, id should always be numeric so exit if not
        		if (!is_numeric($desc)){
                    $this->lookupbydesc_failmsg='Active directory description field is not numeric';      
        			return (false);
        		}
            }
            $id=$desc;
    You've definitely got $ftm_cfg->forceauthtype=''; (in config_facility_to_moodle.php) set correctly for the authtype that you're using haven't you? (If it's not set it doesn't update the local database correctly apparently).
    Last edited by Marci; 16th November 2010 at 01:59 PM.

  8. #23

    Join Date
    Mar 2010
    Posts
    224
    Thank Post
    34
    Thanked 39 Times in 35 Posts
    Rep Power
    17
    Nope, no errors. I've even gone thorough the AD and disabled accounts with no ID so that I have no errors at all.

    It looks like it is being pulled through, but it just isn't showing on the main SQL table. Rather I have to go a bit deeper into phpmyadmin and look at the structure of the field. All the ID's are listed in there.

    EDIT: Hmmm... just looking at the SQL, users seem to be listed twice. One lot with ID numbers, one lot without. Any idea how to purge the table to remove rows with no ID?

    EDIT: $ftm_cfg->forceauthtype='ldap';
    Last edited by skell; 16th November 2010 at 02:10 PM.

  9. #24
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    896
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    No autopurge - you have to bin them manually... but that in itself is behaving oddly. If it finds that the user already exists it should update their info rather than recreating them... however, it's likely that it does this via the ID number.

    Personally, I would bin everyone out of your Moodle User database (apart from a local admin user) and redo all your parent / staff / student transfers to pull them all in cleanly.

    I'm presuming all other prerequisites are already met - ie: student's email address is in the email field in AD, first and last names are completed within AD...

  10. #25

    Join Date
    Mar 2010
    Posts
    224
    Thank Post
    34
    Thanked 39 Times in 35 Posts
    Rep Power
    17
    Students don't have an email address here so thats not there. Everything else looks ok. I've already purged the empty dupes, but will remove everyone from moodle, delete the block and redo it all. Hope this works!

  11. #26

    Join Date
    Mar 2010
    Posts
    224
    Thank Post
    34
    Thanked 39 Times in 35 Posts
    Rep Power
    17
    No way! Still exactly the same!

  12. #27
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    896
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    Righty - leave it with me and I'll see if I can raise some further assistance!

  13. #28
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    896
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    Paul - can you have a look at a student user record within your mdl_user table and report back what mnethostid your users are being assigned please?? (See screenshot of my user table)


  14. #29

    Join Date
    Mar 2010
    Posts
    224
    Thank Post
    34
    Thanked 39 Times in 35 Posts
    Rep Power
    17
    Hi Marc

    The value for every user is 1.

  15. #30
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    896
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    Can you PM me a copy and paste of the contents of your config-dist.php please? Obv remove usernames and passwords.

SHARE:
+ Post New Thread
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Facility to Moodle Integration Block
    By ceebster in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 28th June 2011, 04:03 PM
  2. Serco Facility
    By wellscs in forum MIS Systems
    Replies: 5
    Last Post: 8th June 2010, 09:03 AM
  3. serco facility
    By garrysaddington in forum MIS Systems
    Replies: 8
    Last Post: 8th June 2009, 10:22 AM
  4. Serco Facility Experiences!?
    By Nick_Young in forum MIS Systems
    Replies: 18
    Last Post: 6th March 2009, 03:10 PM
  5. Fronter and Serco Facility
    By cheredenine in forum Virtual Learning Platforms
    Replies: 3
    Last Post: 10th November 2008, 08:24 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •