[Xerte] Re: Error message when playing/publishing content of type Text

Pat Lockley (Pgogy) info at pgogywebstuff.com
Wed Apr 13 13:47:36 BST 2016


Hi Naveed,
PHP will error with no session if you execute it directly
Is there "upload.php" in the network list once you click on play?
Thanks
Pat

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

-- 
Pgogy Webstuff
pgogywebstuff.com



More information about the Xerte mailing list