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

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


Hi Ron,

So I just downloaded the latest zip and did an XAMPP install and do not get any issues at all, albeit using IE11 which is on my laptop. I don't have an IE10 install...

So i'm at a bit of a loss... i'll try to get hold of a laptop at work that still has IE10 and try that too...

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 18:15
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: session issue + example_zipper issue

So I can't reproduce the error I'm getting with Firefox, Chrome or Safari i.e. I only get the errors with IE.

I tried clearing cache with IE but can still repeat error consistently.

I tried a new install with the version I had been using previously 2.1 (git git-82-g70282af) and on the same xampp that works in IE without problem.

Will try a new install from latest git later.

Not sure if that means the error I'm getting is different or at least a different cause from the error Julian is getting.

Certainly I seem to be the only one with the Invalid template_id (could not find in DB) error in IE.


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 08 April 2014 17:46
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: session issue + example_zipper issue

Hi John
yes my test install is from the community site. I was using that because I began testing the separate issue reported by a user not being able to import an LO that Alistair had installed and also the re-run of setup etc. Most users obviously get the downloads from the community site rather than from git.

Ironically I've just been testing with Firefox and can't reproduce the error yet I can consistently with IE.

So not sure where that leaves us? :-(

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 08 April 2014 17:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: session issue + example_zipper issue

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
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

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