<div dir="ltr"><div>Hi Pat,</div><div><br></div><div>Yes "upload.php" displays in the network list with the 500 error, re: <span style="font-size:12.8px">POST </span><a href="https://xerte-beta.bris.ac.uk/editor/upload.php" style="font-size:12.8px" target="_blank">https://xerte-beta.bris.ac.uk/editor/upload.php</a><span style="font-size:12.8px"> 500 (Internal Server Error).</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">To re-iterate the problem is only affecting certain content types, e.g. Text > Bullets, but no problem with Text > Orientation.</span></div><div><br></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><div><br></div><div><br></div><div>-------------------------------------------------------------------------------------------------<br><br></div><div>Hi Naveed, <br></div><div><br></div><div>PHP will error with no session if you execute it directly. Is there "upload.php" in the network list once you click on play? </div><div><br></div><div>Thanks </div><div><br></div><div>Pat<div class="gmail_extra"><br><div class="gmail_quote">---------------------------------------------------------------------------------------------------------------------------------------------------<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On 13 April 2016 at 13:43, Naveed Hashmi <span dir="ltr"><<a href="mailto:Naveed.Hashmi@bristol.ac.uk" target="_blank">Naveed.Hashmi@bristol.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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>
</blockquote></div><br></div></div></div>