<div dir="ltr"><div><span style="font-size:12.8px">Hi Pat,</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">When I execute 'php upload.php', I see : '</span><span style="font-size:12.8px">Session is invalid or expired'</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">The response in Chrome for jquery.min.js:5 POST <a href="https://xerte-beta.bris.ac.uk/editor/upload.php">https://xerte-beta.bris.ac.uk/editor/upload.php</a> 500 (Internal Server Error) shows </span><span style="font-size:12.8px">'This request has no response data available'.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks,</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Naveed</span></div><span style="font-size:12.8px"><div><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">--------------------------------------------------------</span></div>Date: Wed, 13 Apr 2016 04:59:52 -0400</span><br style="font-size:12.8px"><span style="font-size:12.8px">From: "Pat Lockley (Pgogy)" <</span><a href="mailto:info@pgogywebstuff.com" style="font-size:12.8px">info@pgogywebstuff.com</a><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">To: Xerte discussion list <</span><a href="mailto:xerte@lists.nottingham.ac.uk" style="font-size:12.8px">xerte@lists.nottingham.ac.uk</a><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">Subject: [Xerte] Re: Error message when playing/publishing content of</span><br style="font-size:12.8px"><span style="font-size:12.8px">        type Text</span><br style="font-size:12.8px"><span style="font-size:12.8px">Message-ID: <</span><a href="mailto:d418d25cdb853e16695240a98a5cdcbf@pgogywebstuff.com" style="font-size:12.8px">d418d25cdb853e16695240a98a5cdcbf@pgogywebstuff.com</a><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">Content-Type: text/plain; charset=US-ASCII; format=flowed</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">Hi Naveed,</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">I've not debugged for a while and the code has changed so this is a bit</span><br style="font-size:12.8px"><span style="font-size:12.8px">of a guess</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">look in editor/upload.php</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">This returns true if it works</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">So the logic is something is happening before it gets to true</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">So here is what I would do (this is based on using chrome)</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">Before you click play press f12</span><br style="font-size:12.8px"><span style="font-size:12.8px">then click play</span><br style="font-size:12.8px"><span style="font-size:12.8px">then go back to the console window</span><br style="font-size:12.8px"><span style="font-size:12.8px">click on network</span><br style="font-size:12.8px"><span style="font-size:12.8px">click on response</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">What do you see as the response?</span><br></div>