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

Ron Mitchell ronm at mitchellmedia.co.uk
Tue Apr 8 17:25:27 BST 2014


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.







 <mailto:Julian.Tenney at nottingham.ac.uk> Julian Tenney

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] 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140408/df930c26/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140408/df930c26/attachment.jpg>


More information about the Xerte-dev mailing list