[Xerte-dev] Re: session issue + example_zipper issue
David Goodwin
david at palepurple.co.uk
Tue Apr 8 16:58:02 BST 2014
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.
> Julian Tenney <mailto:Julian.Tenney at nottingham.ac.uk>
> 8 April 2014 16:52
>
> Alsmost every time I log in to our toolkits server here, even first
> thing after a clean boot on my machine I get the error when I try and
> edit an LO.
>
> Yep. Just tried it. It really is EVERY time.
>
> *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 14:36
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: session issue + example_zipper issue
>
> This was on xampp but happening within a couple of minutes not due to
> a normal timeout.
>
> Not sure about the occasions Julian has reported?
>
> Cheers
>
> Ron
>
> *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 14:17
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: session issue + example_zipper issue
>
> The session id issue sounds a bit like the session has expired. I'm
> not sure how to fix that properly - perhaps having some sort of
> background periodic request on the server to stop the session becoming
> stale?
>
> David.
>
>
>
> *Julian Tenney* <mailto:Julian.Tenney at nottingham.ac.uk>
>
> 8 April 2014 13:39
>
> Never seen ‘invalid template id’. But ‘session ID not set’ is doing my
> head in.
>
> I don’t recognise 2.
>
> _______________________________________________
>
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk <mailto:Xerte-dev at lists.nottingham.ac.uk>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> *Ron Mitchell* <mailto:ronm at mitchellmedia.co.uk>
>
> 8 April 2014 13:23
>
> Hi all
>
> I think an issue I mentioned in the thread entitled testing results
> got lost in the discussion about re-running setup so I'm checking
> again along with a separate issue I've noticed…
>
> Issue 1
>
> I downloaded xertetoolkits_2.1 Version:2.1 Last update 2014-03-14
> from the community site and from my testing this revision is not
> reliable e.g. one minute I can create an LO and the next minute I get
> one of two errors when trying to create a new lo:
>
> Session ID not set
>
> or
>
> Invalid template_id (could not find in DB)
>
> Q. Does this not happen for others?
>
> Issue 2
>
> In an older revision that I've been using which seems to be relatively
> trouble free I've noticed that one or more files named something like
> example_zipper_new_xyz… is getting created and included in any
> successful export but also still residing in the project folder on the
> server.
>
> Q. Does anyone recognise this? Was it fixed in a later revision that
> doesn't have the session issu
>
> --
> Pale Purple Ltd
> 0845 0046746 | 07792 380669
>
> http://www.palepurple.co.uk
> @PalePurpleLtd
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> Ron Mitchell <mailto:ronm at mitchellmedia.co.uk>
> 8 April 2014 14:35
>
> This was on xampp but happening within a couple of minutes not due to
> a normal timeout.
>
> Not sure about the occasions Julian has reported?
>
> Cheers
>
> 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 14:17
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: session issue + example_zipper issue
>
> The session id issue sounds a bit like the session has expired. I'm
> not sure how to fix that properly - perhaps having some sort of
> background periodic request on the server to stop the session becoming
> stale?
>
> David.
>
>
>
>
> *Julian Tenney* <mailto:Julian.Tenney at nottingham.ac.uk>
>
> 8 April 2014 13:39
>
> Never seen ‘invalid template id’. But ‘session ID not set’ is doing my
> head in.
>
> I don’t recognise 2.
>
> _______________________________________________
>
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk <mailto:Xerte-dev at lists.nottingham.ac.uk>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> *Ron Mitchell* <mailto:ronm at mitchellmedia.co.uk>
>
> 8 April 2014 13:23
>
> Hi all
>
> I think an issue I mentioned in the thread entitled testing results
> got lost in the discussion about re-running setup so I'm checking
> again along with a separate issue I've noticed…
>
> Issue 1
>
> I downloaded xertetoolkits_2.1 Version:2.1 Last update 2014-03-14
> from the community site and from my testing this revision is not
> reliable e.g. one minute I can create an LO and the next minute I get
> one of two errors when trying to create a new lo:
>
> Session ID not set
>
> or
>
> Invalid template_id (could not find in DB)
>
> Q. Does this not happen for others?
>
> Issue 2
>
> In an older revision that I've been using which seems to be relatively
> trouble free I've noticed that one or more files named something like
> example_zipper_new_xyz… is getting created and included in any
> successful export but also still residing in the project folder on the
> server.
>
> Q. Does anyone recognise this? Was it fixed in a later revision that
> doesn't have the session issu
>
> --
> Pale Purple Ltd
> 0845 0046746 | 07792 380669
>
> http://www.palepurple.co.uk
> @PalePurpleLtd
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> David Goodwin <mailto:david at palepurple.co.uk>
> 8 April 2014 14:16
> The session id issue sounds a bit like the session has expired. I'm
> not sure how to fix that properly - perhaps having some sort of
> background periodic request on the server to stop the session becoming
> stale?
>
> David.
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> Julian Tenney <mailto:Julian.Tenney at nottingham.ac.uk>
> 8 April 2014 13:39
>
> Never seen ‘invalid template id’. But ‘session ID not set’ is doing my
> head in.
>
> I don’t recognise 2.
>
> *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 13:23
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] session issue + example_zipper issue
>
> Hi all
>
> I think an issue I mentioned in the thread entitled testing results
> got lost in the discussion about re-running setup so I'm checking
> again along with a separate issue I've noticed…
>
> Issue 1
>
> I downloaded xertetoolkits_2.1 Version:2.1 Last update 2014-03-14
> from the community site and from my testing this revision is not
> reliable e.g. one minute I can create an LO and the next minute I get
> one of two errors when trying to create a new lo:
>
> Session ID not set
>
> or
>
> Invalid template_id (could not find in DB)
>
> Q. Does this not happen for others?
>
> Issue 2
>
> In an older revision that I've been using which seems to be relatively
> trouble free I've noticed that one or more files named something like
> example_zipper_new_xyz… is getting created and included in any
> successful export but also still residing in the project folder on the
> server.
>
> Q. Does anyone recognise this? Was it fixed in a later revision that
> doesn't have the session issue above?
>
> Cheers
>
> Ron
>
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete
> it. Please do not use, copy or disclose the information contained in
> this message or in any attachment. Any views or opinions expressed by
> the author of this email do not necessarily reflect the views of the
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> Ron Mitchell <mailto:ronm at mitchellmedia.co.uk>
> 8 April 2014 13:23
>
> Hi all
>
> I think an issue I mentioned in the thread entitled testing results
> got lost in the discussion about re-running setup so I'm checking
> again along with a separate issue I've noticed…
>
> Issue 1
>
> I downloaded xertetoolkits_2.1 Version:2.1 Last update 2014-03-14
> from the community site and from my testing this revision is not
> reliable e.g. one minute I can create an LO and the next minute I get
> one of two errors when trying to create a new lo:
>
> Session ID not set
>
> or
>
> Invalid template_id (could not find in DB)
>
> Q. Does this not happen for others?
>
> Issue 2
>
> In an older revision that I've been using which seems to be relatively
> trouble free I've noticed that one or more files named something like
> example_zipper_new_xyz… is getting created and included in any
> successful export but also still residing in the project folder on the
> server.
>
> Q. Does anyone recognise this? Was it fixed in a later revision that
> doesn't have the session issue above?
>
> Cheers
>
> Ron
>
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete
> it. Please do not use, copy or disclose the information contained in
> this message or in any attachment. Any views or opinions expressed by
> the author of this email do not necessarily reflect the views of the
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
--
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/a17bb49c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140408/a17bb49c/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 69210 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140408/a17bb49c/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.jpg
Type: image/jpeg
Size: 886 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140408/a17bb49c/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postbox-contact.jpg
Type: image/jpeg
Size: 1169 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140408/a17bb49c/attachment-0005.jpg>
More information about the Xerte-dev
mailing list