[Xerte] Passing SESSION variable
Ken Scott
k.scott at leeds.ac.uk
Mon Dec 21 08:11:59 GMT 2009
Thanks - will check and get back to you.
Cheers
Ken Scott
e-learning advisor
JISC RSC YH
07966 754040
RSCs – Stimulating and Supporting Innovation in Learning
Know someone making an impact on learning through technology?
Nominate a colleague for an Evolution Award! Deadline: 15 Jan 2010.
Visit www.rsc-yh.ac.uk/evolution for details
________________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM [ronm at mitchellmedia.co.uk]
Sent: 18 December 2009 15:52
To: 'Xerte discussion list'
Subject: RE: [Xerte] Passing SESSION variable
Sorry been on the road and busy with other things so only just reading this
thread...
Ken please verify the following:
1. you put each of the files from the patch in the root of your toolkits
installation
session.php
management.php
index.php
integration_library.php
and export.php to \website_code\php\scorm\
2. you edited integration_library.php and used a root path in there rather
than something like ../../moodle/config.php e.g. on a shared hosting plan
this should be something like "/home/youraccountname/public_html/config.php"
I have this patch running on 3 different servers and none of them required
any change to any moodle files and it was never the intention tp require any
change to moodle files so I would stay well clear of that. Neither did they
require any change to default session paths etc.
As I mentioned at the recent event it might also be worth ensuring you have
a unique cookie prefix set in your admin settings but I doubt that's the
cause of the problem you highlight here.
HTH
Ron
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ken Scott
Sent: 17 December 2009 14:02
To: Xerte discussion list
Subject: [Xerte] Passing SESSION variable
Wonder if anyone can help?
I a using the moodle integration patch, and logins in fine. However when I
try to edit or preview a project I get a blank page. I have traced execution
and edit.php doesn't seem to have any of the session variables available to
it - it therefore tries to select from the table with a userid of null.
How should the session variables be passed? Not a PHP expert and it is not
obvious to me!
Many thanks
Ken Scott
e-learning advisor
JISC RSC YH
07966 754040
RSCs - Stimulating and Supporting Innovation in Learning
Know someone making an impact on learning through technology?
Nominate a colleague for an Evolution Award! Deadline: 15 Jan 2010.
Visit www.rsc-yh.ac.uk/evolution for details
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
More information about the Xerte
mailing list