[Xerte] Re: Error message when playing/publishing content of type Text
Pat Lockley (Pgogy)
info at pgogywebstuff.com
Wed Apr 13 15:18:33 BST 2016
Hello
Sorry - misread
Ok, this means the page throws an error and PHP dies.
If you've set development to true in config.php, I would expect a PHP
error if a 500 code comes up.
Could you try that for me?
Thanks
Pat
On 2016-04-13 09:37, Naveed Hashmi wrote:
> Hi Pat,
>
> Yes "upload.php" displays in the network list with the 500 error, re:
> POST https://xerte-beta.bris.ac.uk/editor/upload.php 500 (Internal
> Server Error).
>
> To re-iterate the problem is only affecting certain content types,
> e.g. Text > Bullets, but no problem with Text > Orientation.
>
> Thanks,
>
> Naveed
>
> -------------------------------------------------------------------------------------------------
>
> 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 13 April 2016 at 13:43, Naveed Hashmi <Naveed.Hashmi at bristol.ac.uk>
> 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