<div dir="ltr">When clicking 'play', the error box displays, but the response now shows the following :-<div><br></div><div>{"attributes":{"nodeName":"learningObject","editorVersion":"3","targetFolder":"Nottingham","name":"Learning Object Title","language":"","navigation":"Linear","textSize":"12","theme":"default","displayMode":"default","responsive":"true"},"children":{"0":{"attributes":{"nodeName":"bullets","linkID":"PG1460705925683","name":"bullets","delaySecs":"1","showBullets":"1","showPanel":"1","panelWidth":"Medium"},"data":"<p><span style=\"font-family: 'Open Sans', sans-serif; background-color: rgb(255, 255, 255);\">bullets</span></p>\n"}}}1<br></div><div><br></div><div>The '1' at the end looks out of place?</div><div><br></div><div>Thanks,</div><div><br></div><div>Naveed</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 April 2016 at 16:45, Pat L (pgogy) <span dir="ltr"><<a href="mailto:info@pgogywebstuff.com" target="_blank">info@pgogywebstuff.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Sorry<div>By console i mean the chrome dev console on the network tab</div><span class=""><br><br>-------- Original message --------<br>From: Naveed Hashmi <<a href="mailto:Naveed.Hashmi@bristol.ac.uk" target="_blank">Naveed.Hashmi@bristol.ac.uk</a>> <br></span><span class="">Date: 14/04/2016  16:30  (GMT+00:00) <br>To: "Pat L (pgogy)" <<a href="mailto:info@pgogywebstuff.com" target="_blank">info@pgogywebstuff.com</a>> <br></span><div><div class="h5">Cc: Xerte discussion list <<a href="mailto:xerte@lists.nottingham.ac.uk" target="_blank">xerte@lists.nottingham.ac.uk</a>> <br>Subject: Re: Error message when playing/publishing content of type Text <br><br><div dir="ltr">On the command line (console) ... I see ..<div><br></div><div><div>$ php upload.php</div><div><br></div><div>/var/www/html/website_code/php/database_library.php175Running : SELECT * FROM sitedetails</div><div>Session is invalid or expired<br></div></div><div><br></div><div>Thanks</div><div><br></div><div>Naveed</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 April 2016 at 16:25, Pat L (pgogy) <span dir="ltr"><<a href="mailto:info@pgogywebstuff.com" target="_blank">info@pgogywebstuff.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Do you see anything in console?<span><br><br>-------- Original message --------<br>From: Naveed Hashmi <<a href="mailto:Naveed.Hashmi@bristol.ac.uk" target="_blank">Naveed.Hashmi@bristol.ac.uk</a>> <br></span><span>Date: 14/04/2016  16:14  (GMT+00:00) <br>To: Xerte discussion list <<a href="mailto:xerte@lists.nottingham.ac.uk" target="_blank">xerte@lists.nottingham.ac.uk</a>> <br></span><span>Cc: "Pat Lockley (Pgogy)" <<a href="mailto:info@pgogywebstuff.com" target="_blank">info@pgogywebstuff.com</a>> <br>Subject: Re: Error message when playing/publishing content of type Text <br><br></span><div><div><div dir="ltr"><div>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) ...<br></div><div><br></div><div><div>$relreffedjsonstr = make_refs_local(urldecode($lo_data), $_POST['absmedia']);</div><div>print_r($relreffedjsonstr);</div></div><div><br></div><div>Thanks,</div><div><br></div><div>Naveed</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 April 2016 at 16:06, Pat Lockley (Pgogy) <span dir="ltr"><<a href="mailto:info@pgogywebstuff.com" target="_blank">info@pgogywebstuff.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 2016-04-14 10:59, Naveed Hashmi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Pat,<br>
<br>
Followed you instructions, and the Error message (box) displays with<br>
the make_refs_local function commented out and the additional line<br>
inserted.<br>
<br>
It doesn't like the additional line, re: 'print_r($relreffedjsonstr)'<br>
</blockquote>
<br></span>
uncomment make_ref_locals<br>
and add a semi colon at the end of the new line if I forgot<br>
</blockquote></div><br></div>
</div></div></div></blockquote></div><br></div>
</div></div></div></blockquote></div><br></div>