[Xerte-dev] Re: session issue + example_zipper issue

Smith, John J.J.Smith at gcu.ac.uk
Tue Apr 8 17:25:27 BST 2014


Is this a zip install from the Community site Ron? I'm mainly working from checked out git Develop and v2.1 branches...

I wonder if the zip packager is doing something. Do you see any missing file errors in the console network tab? In Chrome they usually turn red... or any other console errors?

Regards,

John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University
Cowcaddens Road | Glasgow | G4 0BA
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk]
Sent: 08 April 2014 17:25
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: session issue + example_zipper issue

In xampp I have an install called xerteapril2014 with guest authentication set.

If I visit http://localhost/xerteapril2014/ and try to create a new LO I first get the error:

Invalid template_id (could not find in DB)

If I refresh and try creating a new LO again and with var_dump($_SESSION); added to edit.php I get:

array
  'toolkits_language' => string 'en-GB' (length=5)

Session ID not set

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: 08 April 2014 17:04
To: For Xerte technical developers
Subject: [Xerte-dev] Re: session issue + example_zipper issue

OK - but does var_dump($_SESSION); reveal anything?

David.



[cid:image001.jpg at 01CF534F.88778610]
Julian Tenney<mailto:Julian.Tenney at nottingham.ac.uk>
8 April 2014 17:01
I have definitely logged in!

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: 08 April 2014 16:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: session issue + example_zipper issue

You'd see that if you haven't logged in.

Specifically, $_SESSION doesn't contain the key : toolkits_logon_id


So ... could you put a :

var_dump($_SESSION);

in the /edit.php file - just above / before :

    die("Session ID not set");

(which is nearly at the bottom of it)

What does it output now?

thanks
David.

--
Pale Purple Ltd
0845 0046746 | 07792 380669

http://www.palepurple.co.uk
@PalePurpleLtd

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


More information about the Xerte-dev mailing list