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

Naveed Hashmi Naveed.Hashmi at bristol.ac.uk
Thu Apr 14 16:30:37 BST 2016


On the command line (console) ... I see ..

$ php upload.php

/var/www/html/website_code/php/database_library.php175Running : SELECT *
FROM sitedetails
Session is invalid or expired

Thanks

Naveed

On 14 April 2016 at 16:25, Pat L (pgogy) <info at pgogywebstuff.com> wrote:

> Do you see anything in console?
>
> -------- Original message --------
> From: Naveed Hashmi <Naveed.Hashmi at bristol.ac.uk>
> Date: 14/04/2016 16:14 (GMT+00:00)
> To: Xerte discussion list <xerte at lists.nottingham.ac.uk>
> Cc: "Pat Lockley (Pgogy)" <info at pgogywebstuff.com>
> Subject: Re: Error message when playing/publishing content of type Text
>
> I've enabled (uncommented) make_ref_locals, and the error displays with
> the following now in place (semi colon in place at the end of the new line)
> ...
>
> $relreffedjsonstr = make_refs_local(urldecode($lo_data),
> $_POST['absmedia']);
> print_r($relreffedjsonstr);
>
> Thanks,
>
> Naveed
>
>
> On 14 April 2016 at 16:06, Pat Lockley (Pgogy) <info at pgogywebstuff.com>
> wrote:
>
>> On 2016-04-14 10:59, Naveed Hashmi wrote:
>>
>>> Hi Pat,
>>>
>>> Followed you instructions, and the Error message (box) displays with
>>> the make_refs_local function commented out and the additional line
>>> inserted.
>>>
>>> It doesn't like the additional line, re: 'print_r($relreffedjsonstr)'
>>>
>>
>> uncomment make_ref_locals
>> and add a semi colon at the end of the new line if I forgot
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20160414/6830190e/attachment.html>


More information about the Xerte mailing list