From Naveed.Hashmi at bristol.ac.uk Mon Apr 11 16:27:45 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Mon, 11 Apr 2016 16:27:45 +0100 Subject: [Xerte] Error message when playing/publishing content of type Text Message-ID: Hi, I've installed the latest release of Xerte on dev server, BUT when adding content of type 'Text' to a project, e.g. Bullets, Plain Text etc, a pop-up error message displays in the browser. There are no errors showing the logs at the server end. See video clip below, any clues as to how I can resolve this? https://xerte-beta.bris.ac.uk/XerteError.mp4 Thanks, Naveed -------------- next part -------------- An HTML attachment was scrubbed... URL: From brane.smitek at fov.uni-mb.si Tue Apr 12 07:00:49 2016 From: brane.smitek at fov.uni-mb.si (=?iso-8859-2?Q?Brane_=A9mitek?=) Date: Tue, 12 Apr 2016 08:00:49 +0200 Subject: [Xerte] LO Problem Message-ID: <003f01d19480$a9c96d50$fd5c47f0$@fov.uni-mb.si> The student works on LO project. There was a problem to editor opens completely blank window. Preview also doesn't work. I can see json files on the server. Exports can not be done. How can I solve the problem and return LO to editing and previewing. Xerte_Editor.png Server_directory.png Kind regards Branislav SMITEK Ph.D. University of Maribor FACULTY OF ORGANIZATIONAL SCIENCES Kidriceva cesta 55/a SI4000 KRANJ SLOVENIA tel: +386 4 237 42 63 fax: +386 4 237 42 99 e-mail: brane.smitek at fov.uni-mb.si -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 16644 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 55293 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Tue Apr 12 08:04:12 2016 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 12 Apr 2016 08:04:12 +0100 Subject: [Xerte] Re: LO Problem In-Reply-To: <003f01d19480$a9c96d50$fd5c47f0$@fov.uni-mb.si> References: <003f01d19480$a9c96d50$fd5c47f0$@fov.uni-mb.si> Message-ID: <001b01d19489$85a55390$90effab0$@co.uk> Hi download that project folder to your local machine and inspect the various .xml files starting with preview.xml and data.xml One of both of those files are likely to be broken or corrupt. However if for instance data.xml is ok but preview.xml isn't then make a copy of data.xml rename it to preview.xml and replace the one on the server. If both are broken inspect the other preview.xml.n files starting with the most recent. Find the most recent one that isn't broken and rename and use that to replace preview.xml and data.xml HTH Ron From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Brane ?mitek Sent: 12 April 2016 07:01 To: xerte at lists.nottingham.ac.uk Subject: [Xerte] LO Problem The student works on LO project. There was a problem to editor opens completely blank window. Preview also doesn't work. I can see json files on the server. Exports can not be done. How can I solve the problem and return LO to editing and previewing. Xerte_Editor.png Server_directory.png Kind regards Branislav SMITEK Ph.D. University of Maribor FACULTY OF ORGANIZATIONAL SCIENCES Kidriceva cesta 55/a SI4000 KRANJ SLOVENIA tel: +386 4 237 42 63 fax: +386 4 237 42 99 e-mail: brane.smitek at fov.uni-mb.si This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 16644 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 55293 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Tue Apr 12 08:18:50 2016 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 12 Apr 2016 08:18:50 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: <003a01d1948b$905b1bb0$b1115310$@co.uk> Hi it doesn't look like your video and install is available externally? Is it just the text pages that aren't working or all pages? It would be very strange if it was just the text pages. Check permissions on the USER-FILES folder in particular. BTW 3.2 was officially released yesterday in advance of #xerte16 this week so you might want to try again with that and be sure to follow the prompts and any warnings on the set-up pages. HTH Ron From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Naveed Hashmi Sent: 11 April 2016 16:28 To: Xerte discussion list Subject: [Xerte] Error message when playing/publishing content of type Text Hi, I've installed the latest release of Xerte on dev server, BUT when adding content of type 'Text' to a project, e.g. Bullets, Plain Text etc, a pop-up error message displays in the browser. There are no errors showing the logs at the server end. See video clip below, any clues as to how I can resolve this? https://xerte-beta.bris.ac.uk/XerteError.mp4 Thanks, Naveed This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Naveed.Hashmi at bristol.ac.uk Tue Apr 12 10:53:13 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Tue, 12 Apr 2016 10:53:13 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: <003a01d1948b$905b1bb0$b1115310$@co.uk> References: <003a01d1948b$905b1bb0$b1115310$@co.uk> Message-ID: Hi Ron, The following should work : https://xerte.bris.ac.uk/XerteError.mp4 This is impacting the Text pages, and also certain Media, e.g. Advanced Images/Graphics, Sound, however PDF's ad Morph Images are fine. Charts are also OK, haven't checked others. Apache access log shows status 500 error .. "POST /editor/upload.php HTTP/1.1" 500 - " https://xerte-beta.bris.ac.uk/edithtml.php?template_id=21" I would *prefer* not to go to the latest release, unless the issue I have is a known issue. That said, I can see you guys have been busy on rectifying bugs, and making improvements in 3.2 :- http://xerte.org.uk/xertetoolkits_3.2_ChangeLog.html Is there any way to increase the log levels to something more detailed, e.g. 'debug' mode? Thanks Naveed On 12 April 2016 at 08:18, Ron Mitchell wrote: > Hi it doesn't look like your video and install is available externally? > > > > Is it just the text pages that aren't working or all pages? It would be > very strange if it was just the text pages. > > Check permissions on the USER-FILES folder in particular. > > BTW 3.2 was officially released yesterday in advance of #xerte16 this week > so you might want to try again with that and be sure to follow the prompts > and any warnings on the set-up pages. > > HTH > > Ron > > > > *From:* xerte-bounces at lists.nottingham.ac.uk [mailto: > xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Naveed Hashmi > *Sent:* 11 April 2016 16:28 > *To:* Xerte discussion list > *Subject:* [Xerte] Error message when playing/publishing content of type > Text > > > > Hi, > > > > I've installed the latest release of Xerte on dev server, BUT when adding > content of type 'Text' to a project, e.g. Bullets, Plain Text etc, a pop-up > error message displays in the browser. There are no errors showing the logs > at the server end. > > > > See video clip below, any clues as to how I can resolve this? > > > > https://xerte-beta.bris.ac.uk/XerteError.mp4 > > > > Thanks, > > > > Naveed > > > > > > > > > > > > This message and any attachment are intended solely for the addressee > > and may contain confidential information. If you have received this > > message in error, please send it back to me, and immediately delete it. > > > > Please do not use, copy or disclose the information contained in this > > message or in any attachment. Any views or opinions expressed by the > > author of this email do not necessarily reflect the views of the > > University of Nottingham. > > > > This message has been checked for viruses but the contents of an > > attachment may still contain software viruses which could damage your > > computer system, you are advised to perform your own checks. Email > > communications with the University of Nottingham may be monitored as > > permitted by UK legislation. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Tue Apr 12 11:02:00 2016 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 12 Apr 2016 11:02:00 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: <003a01d1948b$905b1bb0$b1115310$@co.uk> Message-ID: <008801d194a2$5c336560$149a3020$@co.uk> In config.php around line 43 change $development = false; to true and you may wish to change were the log is written see the relevant line below that. Then close all browsers and log back in and test again etc From: Naveed Hashmi [mailto:Naveed.Hashmi at bristol.ac.uk] Sent: 12 April 2016 10:53 To: Ron Mitchell Cc: Xerte discussion list Subject: Re: [Xerte] Error message when playing/publishing content of type Text Hi Ron, The following should work : https://xerte.bris.ac.uk/XerteError.mp4 This is impacting the Text pages, and also certain Media, e.g. Advanced Images/Graphics, Sound, however PDF's ad Morph Images are fine. Charts are also OK, haven't checked others. Apache access log shows status 500 error .. "POST /editor/upload.php HTTP/1.1" 500 - "https://xerte-beta.bris.ac.uk/edithtml.php?template_id=21" I would *prefer* not to go to the latest release, unless the issue I have is a known issue. That said, I can see you guys have been busy on rectifying bugs, and making improvements in 3.2 :- http://xerte.org.uk/xertetoolkits_3.2_ChangeLog.html Is there any way to increase the log levels to something more detailed, e.g. 'debug' mode? Thanks Naveed On 12 April 2016 at 08:18, Ron Mitchell wrote: Hi it doesn't look like your video and install is available externally? Is it just the text pages that aren't working or all pages? It would be very strange if it was just the text pages. Check permissions on the USER-FILES folder in particular. BTW 3.2 was officially released yesterday in advance of #xerte16 this week so you might want to try again with that and be sure to follow the prompts and any warnings on the set-up pages. HTH Ron From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Naveed Hashmi Sent: 11 April 2016 16:28 To: Xerte discussion list Subject: [Xerte] Error message when playing/publishing content of type Text Hi, I've installed the latest release of Xerte on dev server, BUT when adding content of type 'Text' to a project, e.g. Bullets, Plain Text etc, a pop-up error message displays in the browser. There are no errors showing the logs at the server end. See video clip below, any clues as to how I can resolve this? https://xerte-beta.bris.ac.uk/XerteError.mp4 Thanks, Naveed This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Naveed.Hashmi at bristol.ac.uk Tue Apr 12 13:36:12 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Tue, 12 Apr 2016 13:36:12 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: <003a01d1948b$905b1bb0$b1115310$@co.uk> Message-ID: HI Ron Switching to debug logging did not help and I've also upgraded to v3.2 without issues during the installation ... but the problem persists. Any help appreciated. Thanks, Naveed On 12 April 2016 at 10:53, Naveed Hashmi wrote: > Hi Ron, > > The following should work : https://xerte.bris.ac.uk/XerteError.mp4 > > This is impacting the Text pages, and also certain Media, e.g. Advanced > Images/Graphics, Sound, however PDF's ad Morph Images are fine. Charts are > also OK, haven't checked others. > > Apache access log shows status 500 error .. > > > displayMode="default" responsive="true"/> > > "POST /editor/upload.php HTTP/1.1" 500 - " > https://xerte-beta.bris.ac.uk/edithtml.php?template_id=21" > > I would *prefer* not to go to the latest release, unless the issue I have > is a known issue. That said, I can see you guys have been busy on > rectifying bugs, and making improvements in 3.2 :- > http://xerte.org.uk/xertetoolkits_3.2_ChangeLog.html > > Is there any way to increase the log levels to something more detailed, > e.g. 'debug' mode? > > Thanks > > Naveed > > > > On 12 April 2016 at 08:18, Ron Mitchell wrote: > >> Hi it doesn't look like your video and install is available externally? >> >> >> >> Is it just the text pages that aren't working or all pages? It would be >> very strange if it was just the text pages. >> >> Check permissions on the USER-FILES folder in particular. >> >> BTW 3.2 was officially released yesterday in advance of #xerte16 this >> week so you might want to try again with that and be sure to follow the >> prompts and any warnings on the set-up pages. >> >> HTH >> >> Ron >> >> >> >> *From:* xerte-bounces at lists.nottingham.ac.uk [mailto: >> xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Naveed Hashmi >> *Sent:* 11 April 2016 16:28 >> *To:* Xerte discussion list >> *Subject:* [Xerte] Error message when playing/publishing content of type >> Text >> >> >> >> Hi, >> >> >> >> I've installed the latest release of Xerte on dev server, BUT when adding >> content of type 'Text' to a project, e.g. Bullets, Plain Text etc, a pop-up >> error message displays in the browser. There are no errors showing the logs >> at the server end. >> >> >> >> See video clip below, any clues as to how I can resolve this? >> >> >> >> https://xerte-beta.bris.ac.uk/XerteError.mp4 >> >> >> >> Thanks, >> >> >> >> Naveed >> >> >> >> >> >> >> >> >> >> >> >> This message and any attachment are intended solely for the addressee >> >> and may contain confidential information. If you have received this >> >> message in error, please send it back to me, and immediately delete it. >> >> >> >> Please do not use, copy or disclose the information contained in this >> >> message or in any attachment. Any views or opinions expressed by the >> >> author of this email do not necessarily reflect the views of the >> >> University of Nottingham. >> >> >> >> This message has been checked for viruses but the contents of an >> >> attachment may still contain software viruses which could damage your >> >> computer system, you are advised to perform your own checks. Email >> >> communications with the University of Nottingham may be monitored as >> >> permitted by UK legislation. >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Tue Apr 12 13:48:31 2016 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 12 Apr 2016 13:48:31 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: <003a01d1948b$905b1bb0$b1115310$@co.uk> Message-ID: <014001d194b9$9f179b00$dd46d100$@co.uk> Hi Naveed sorry I'm really swamped at the moment with prep for the conference on Thursday and not sure what you mean by that statement. Hopefully someone else will have time to advise. Regards Ron From: Naveed Hashmi [mailto:Naveed.Hashmi at bristol.ac.uk] Sent: 12 April 2016 13:36 To: Ron Mitchell Cc: Xerte discussion list Subject: Re: [Xerte] Error message when playing/publishing content of type Text HI Ron Switching to debug logging did not help and I've also upgraded to v3.2 without issues during the installation ... but the problem persists. Any help appreciated. Thanks, Naveed On 12 April 2016 at 10:53, Naveed Hashmi wrote: Hi Ron, The following should work : https://xerte.bris.ac.uk/XerteError.mp4 This is impacting the Text pages, and also certain Media, e.g. Advanced Images/Graphics, Sound, however PDF's ad Morph Images are fine. Charts are also OK, haven't checked others. Apache access log shows status 500 error .. "POST /editor/upload.php HTTP/1.1" 500 - "https://xerte-beta.bris.ac.uk/edithtml.php?template_id=21" I would *prefer* not to go to the latest release, unless the issue I have is a known issue. That said, I can see you guys have been busy on rectifying bugs, and making improvements in 3.2 :- http://xerte.org.uk/xertetoolkits_3.2_ChangeLog.html Is there any way to increase the log levels to something more detailed, e.g. 'debug' mode? Thanks Naveed On 12 April 2016 at 08:18, Ron Mitchell wrote: Hi it doesn't look like your video and install is available externally? Is it just the text pages that aren't working or all pages? It would be very strange if it was just the text pages. Check permissions on the USER-FILES folder in particular. BTW 3.2 was officially released yesterday in advance of #xerte16 this week so you might want to try again with that and be sure to follow the prompts and any warnings on the set-up pages. HTH Ron From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Naveed Hashmi Sent: 11 April 2016 16:28 To: Xerte discussion list Subject: [Xerte] Error message when playing/publishing content of type Text Hi, I've installed the latest release of Xerte on dev server, BUT when adding content of type 'Text' to a project, e.g. Bullets, Plain Text etc, a pop-up error message displays in the browser. There are no errors showing the logs at the server end. See video clip below, any clues as to how I can resolve this? https://xerte-beta.bris.ac.uk/XerteError.mp4 Thanks, Naveed This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at pgogywebstuff.com Wed Apr 13 09:59:52 2016 From: info at pgogywebstuff.com (Pat Lockley (Pgogy)) Date: Wed, 13 Apr 2016 04:59:52 -0400 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: <014001d194b9$9f179b00$dd46d100$@co.uk> References: <003a01d1948b$905b1bb0$b1115310$@co.uk> <014001d194b9$9f179b00$dd46d100$@co.uk> Message-ID: 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? On 2016-04-12 08:48, Ron Mitchell wrote: > Hi Naveed > > sorry I'm really swamped at the moment with prep for the conference on > Thursday and not sure what you mean by that statement. Hopefully > someone else will have time to advise. > > Regards > > Ron > > FROM: Naveed Hashmi [mailto:Naveed.Hashmi at bristol.ac.uk] > SENT: 12 April 2016 13:36 > TO: Ron Mitchell > CC: Xerte discussion list > SUBJECT: Re: [Xerte] Error message when playing/publishing content of > type Text > > HI Ron > > Switching to debug logging did not help and I've also upgraded to v3.2 > without issues during the installation ... but the problem persists. > > Any help appreciated. > > Thanks, > > Naveed > > On 12 April 2016 at 10:53, Naveed Hashmi > wrote: > > Hi Ron, > > The following should work : https://xerte.bris.ac.uk/XerteError.mp4 > > This is impacting the Text pages, and also certain Media, e.g. > Advanced Images/Graphics, Sound, however PDF's ad Morph Images are > fine. Charts are also OK, haven't checked others. > > Apache access log shows status 500 error .. > > > > displayMode="default" responsive="true"/> > > "POST /editor/upload.php HTTP/1.1" 500 - > "https://xerte-beta.bris.ac.uk/edithtml.php?template_id=21" > > I would *prefer* not to go to the latest release, unless the issue I > have is a known issue. That said, I can see you guys have been busy on > rectifying bugs, and making improvements in 3.2 :- > > http://xerte.org.uk/xertetoolkits_3.2_ChangeLog.html > > Is there any way to increase the log levels to something more > detailed, e.g. 'debug' mode? > > Thanks > > Naveed > > On 12 April 2016 at 08:18, Ron Mitchell > wrote: > > Hi it doesn't look like your video and install is available > externally? > > Is it just the text pages that aren't working or all pages? It would > be very strange if it was just the text pages. > > Check permissions on the USER-FILES folder in particular. > > BTW 3.2 was officially released yesterday in advance of #xerte16 this > week so you might want to try again with that and be sure to follow > the prompts and any warnings on the set-up pages. > > HTH > > Ron > > FROM: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] ON BEHALF OF Naveed > Hashmi > SENT: 11 April 2016 16:28 > TO: Xerte discussion list > SUBJECT: [Xerte] Error message when playing/publishing content of type > Text > > Hi, > > I've installed the latest release of Xerte on dev server, BUT when > adding content of type 'Text' to a project, e.g. Bullets, Plain Text > etc, a pop-up error message displays in the browser. There are no > errors showing the logs at the server end. > > See video clip below, any clues as to how I can resolve this? > > https://xerte-beta.bris.ac.uk/XerteError.mp4 > > Thanks, > > Naveed > > This message and any attachment are intended solely for the addressee > > and may contain confidential information. If you have received this > > message in error, please send it back to me, and immediately delete > it. > > Please do not use, copy or disclose the information contained in this > > message or in any attachment. Any views or opinions expressed by the > > author of this email do not necessarily reflect the views of the > > University of Nottingham. > > This message has been checked for viruses but the contents of an > > attachment may still contain software viruses which could damage your > > computer system, you are advised to perform your own checks. Email > > communications with the University of Nottingham may be monitored as > > permitted by UK legislation. > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete > it. > > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte -- Pgogy Webstuff pgogywebstuff.com From Naveed.Hashmi at bristol.ac.uk Wed Apr 13 13:43:11 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Wed, 13 Apr 2016 13:43:11 +0100 Subject: [Xerte] Error message when playing/publishing content of type Text Message-ID: 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)" To: Xerte discussion list Subject: [Xerte] Re: Error message when playing/publishing content of type Text Message-ID: 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? -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at pgogywebstuff.com Wed Apr 13 13:47:36 2016 From: info at pgogywebstuff.com (Pat Lockley (Pgogy)) Date: Wed, 13 Apr 2016 08:47:36 -0400 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: <5f97421020a14a5ebb9f462890b4d95d@pgogywebstuff.com> 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)" > To: Xerte discussion list > Subject: [Xerte] Re: Error message when playing/publishing content of > type Text > Message-ID: > 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 From Naveed.Hashmi at bristol.ac.uk Wed Apr 13 14:37:14 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Wed, 13 Apr 2016 14:37:14 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: 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 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)" > To: Xerte discussion list > Subject: [Xerte] Re: Error message when playing/publishing content of > type Text > Message-ID: > 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? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at pgogywebstuff.com Wed Apr 13 15:18:33 2016 From: info at pgogywebstuff.com (Pat Lockley (Pgogy)) Date: Wed, 13 Apr 2016 10:18:33 -0400 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: <71431ef59b006bccef99abee93eaaed2@pgogywebstuff.com> 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 > 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)" >> To: Xerte discussion list >> Subject: [Xerte] Re: Error message when playing/publishing content >> of >> type Text >> Message-ID: >> 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 From Naveed.Hashmi at bristol.ac.uk Wed Apr 13 15:42:03 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Wed, 13 Apr 2016 15:42:03 +0100 Subject: [Xerte] Error message when playing/publishing content of type Text Message-ID: Hi Pat, The debug.log only shows the following (SELECT) when either clicking Play or Publish 2016-04-13 14:34:18 /var/www/html/website_code/php/database_library.php175Running : SELECT * FROM sitedetails A successful 'play' should go further and show something like .. 1. 2016-04-13 08:13:38 /var/www/html/website_code/php/database_library.php175Running : SELECT * FROM sitedetails 2. 2016-04-13 08:13:38 /var/www/html/website_code/php/database_library.php175Running : SELECT * FROM sitedetails 3. 2016-04-13 08:13:38 /var/www/html/website_code/php/database_library.php175Running : select otd.template_name, ld.username, otd.template_framework, tr.user_id, tr.folder, tr.template_id, td.access_to_whom, td.extra_flags from originaltemplatesdetails otd, templaterights tr, templatedetails td, logindetails ld where td.template_type_id = otd.template_type_id and td.creator_id = ld.login_id and tr.template_id = td.template_id and tr.template_id=2 and role='creator' 4. 2016-04-13 08:13:38 /var/www/html/website_code/php/database_library.php175Running : select * from templaterights where user_id=? AND template_id = ? 5. 2016-04-13 08:13:38 /var/www/html/website_code/php/xmlInspector.php125Trying to simplexml_load_file : USER-FILES/2-isnsh-Nottingham/preview.xml Thanks, Naveed -------------------------------------------------------------------------------------------------- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at pgogywebstuff.com Wed Apr 13 16:32:32 2016 From: info at pgogywebstuff.com (Pat Lockley (Pgogy)) Date: Wed, 13 Apr 2016 11:32:32 -0400 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: <073267067541981b47c887c674f5317f@pgogywebstuff.com> Hi Naveed, This is outside the debug.log feature, this is getting the site to throw errors. Bring up editor/upload.php in a text editor Comment out everything bar "echo true"; Uncomment a line from the top (or a larger part if there is an if loop or so on) Click play keep doing this until you hit error Which line does error return on At the moment it looks like it fails very early on Pat On 2016-04-13 10:42, Naveed Hashmi wrote: > Hi Pat, > > The debug.log only shows the following (SELECT) when either clicking > Play or Publish > > 2016-04-13 14:34:18 > /var/www/html/website_code/php/database_library.php175Running : SELECT > * FROM sitedetails > > A successful 'play' should go further and show something like .. > > 1. 2016-04-13 08:13:38 > /var/www/html/website_code/php/database_library.php175Running : SELECT > * FROM sitedetails > 2. 2016-04-13 08:13:38 > /var/www/html/website_code/php/database_library.php175Running : SELECT > * FROM sitedetails > 3. 2016-04-13 08:13:38 > /var/www/html/website_code/php/database_library.php175Running : > select otd.template_name, ld.username, otd.template_framework, > tr.user_id, tr.folder, tr.template_id, td.access_to_whom, > td.extra_flags > from originaltemplatesdetails otd, templaterights tr, templatedetails > td, logindetails ld > where td.template_type_id = otd.template_type_id and td.creator_id = > ld.login_id and tr.template_id = td.template_id and tr.template_id=2 > and role='creator' > 4. 2016-04-13 08:13:38 > /var/www/html/website_code/php/database_library.php175Running : select > * from templaterights where user_id=? AND template_id = ? > 5. 2016-04-13 08:13:38 > /var/www/html/website_code/php/xmlInspector.php125Trying to > simplexml_load_file : USER-FILES/2-isnsh-Nottingham/preview.xml > > Thanks, > > Naveed > > -------------------------------------------------------------------------------------------------- > > 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 -- Pgogy Webstuff pgogywebstuff.com From Naveed.Hashmi at bristol.ac.uk Thu Apr 14 09:41:20 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Thu, 14 Apr 2016 09:41:20 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: Hi Pat, I've followed your instructions and the error is throw when the following line in upload.php is encountered :- $relreffedjsonstr = make_refs_local(urldecode($lo_data), $_POST['absmedia']); Many thanks, Naveed ----------------------------------------------------------------------------------------------------------------------------- Hi Naveed, This is outside the debug.log feature, this is getting the site to throw errors. Bring up editor/upload.php in a text editor Comment out everything bar "echo true"; Uncomment a line from the top (or a larger part if there is an if loop or so on) Click play keep doing this until you hit error Which line does error return on At the moment it looks like it fails very early on Pat On 13 April 2016 at 15:42, Naveed Hashmi wrote: > Hi Pat, > > The debug.log only shows the following (SELECT) when either clicking Play > or Publish > > 2016-04-13 14:34:18 > /var/www/html/website_code/php/database_library.php175Running : SELECT * > FROM sitedetails > > A successful 'play' should go further and show something like .. > > 1. 2016-04-13 08:13:38 > /var/www/html/website_code/php/database_library.php175Running : SELECT * > FROM sitedetails > 2. 2016-04-13 08:13:38 > /var/www/html/website_code/php/database_library.php175Running : SELECT * > FROM sitedetails > 3. 2016-04-13 08:13:38 > /var/www/html/website_code/php/database_library.php175Running : > select otd.template_name, ld.username, otd.template_framework, tr.user_id, > tr.folder, tr.template_id, td.access_to_whom, td.extra_flags > from originaltemplatesdetails otd, templaterights tr, templatedetails td, > logindetails ld > where td.template_type_id = otd.template_type_id and td.creator_id = > ld.login_id and tr.template_id = td.template_id and tr.template_id=2 and > role='creator' > 4. 2016-04-13 08:13:38 > /var/www/html/website_code/php/database_library.php175Running : select * > from templaterights where user_id=? AND template_id = ? > 5. 2016-04-13 08:13:38 > /var/www/html/website_code/php/xmlInspector.php125Trying to > simplexml_load_file : USER-FILES/2-isnsh-Nottingham/preview.xml > > Thanks, > > Naveed > > > -------------------------------------------------------------------------------------------------- > > 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 > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at pgogywebstuff.com Thu Apr 14 14:03:49 2016 From: info at pgogywebstuff.com (Pat Lockley (Pgogy)) Date: Thu, 14 Apr 2016 14:03:49 +0100 Subject: [Xerte] Fwd: Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: Dear list, Problem in make_refs_local? ----------------------- Hi, $relreffedjsonstr = make_refs_local(urldecode($lo_data), $_POST['absmedia']); The above calls the function "make_refs_local($json, $media)", however uncommenting this (curly brackets only or the contents of the function one line at a time ) and clicking 'play' displays a box with 'This project does not contain any pages.' Hence I think the source of problem is triggered before the call to the make_refs_local function, i.e. in the above line. See attached my upload.php as it currently stands, this generates the error. Thanks, Naveed On 14 April 2016 at 11:17, Pat L (pgogy) wrote: > No problem > Let me know if i can help more > > -------- Original message -------- > From: Naveed Hashmi > Date: 14/04/2016 11:01 (GMT+00:00) > To: Pat Lockley > Subject: Re: Error message when playing/publishing content of type > Text > > Hi Pat > > Ignore message below, the problem lies somewhere within the > make_refs_local function, which I need to uncomment one line at a time > ... > > Thanks, > > Naveed > > On 14 April 2016 at 09:41, Naveed Hashmi > wrote: > > Hi Pat, > > I've followed your instructions and the error is throw when the > following line in upload.php is encountered :- > > $relreffedjsonstr = make_refs_local(urldecode($lo_data), > $_POST['absmedia']); > > Many thanks, > > Naveed > > ----------------------------------------------------------------------------------------------------------------------------- > > Hi Naveed, > > This is outside the debug.log feature, this is getting the site to > throw errors. > > Bring up editor/upload.php in a text editor Comment out everything bar > "echo true"; > > Uncomment a line from the top (or a larger part if there is an if loop > or so on) > > Click play > > keep doing this until you hit error > > Which line does error return on > > At the moment it looks like it fails very early on > > Pat > > On 13 April 2016 at 15:42, Naveed Hashmi > wrote: > > Hi Pat, > > The debug.log only shows the following (SELECT) when either clicking > Play or Publish > > 2016-04-13 14:34:18 > /var/www/html/website_code/php/database_library.php175Running : SELECT > * FROM sitedetails > > A successful 'play' should go further and show something like .. > > 1. 2016-04-13 08:13:38 > /var/www/html/website_code/php/database_library.php175Running : SELECT > * FROM sitedetails > 2. 2016-04-13 08:13:38 > /var/www/html/website_code/php/database_library.php175Running : SELECT > * FROM sitedetails > 3. 2016-04-13 08:13:38 > /var/www/html/website_code/php/database_library.php175Running : > select otd.template_name, ld.username, otd.template_framework, > tr.user_id, tr.folder, tr.template_id, td.access_to_whom, > td.extra_flags > from originaltemplatesdetails otd, templaterights tr, templatedetails > td, logindetails ld > where td.template_type_id = otd.template_type_id and td.creator_id = > ld.login_id and tr.template_id = td.template_id and tr.template_id=2 > and role='creator' > 4. 2016-04-13 08:13:38 > /var/www/html/website_code/php/database_library.php175Running : select > * from templaterights where user_id=? AND template_id = ? > 5. 2016-04-13 08:13:38 > /var/www/html/website_code/php/xmlInspector.php125Trying to > simplexml_load_file : USER-FILES/2-isnsh-Nottingham/preview.xml > > Thanks, > > Naveed > > -------------------------------------------------------------------------------------------------- > > 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 -- Pgogy Webstuff pgogywebstuff.com -------------- next part -------------- A non-text attachment was scrubbed... Name: upload.php Type: application/x-httpd-php Size: 7083 bytes Desc: not available URL: From info at pgogywebstuff.com Thu Apr 14 14:08:11 2016 From: info at pgogywebstuff.com (Pat Lockley (Pgogy)) Date: Thu, 14 Apr 2016 14:08:11 +0100 Subject: [Xerte] Re: Fwd: Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: Digging try commenting out the lines in make_refs_local (which is lower down in upload.php) It looks benign as a function. Try changing $relreffedjsonstr = make_refs_local(urldecode($lo_data), $_POST['absmedia']); to $relreffedjsonstr = make_refs_local(urldecode($lo_data), $_POST['absmedia']); print_r($relreffedjsonstr); and then checking console view again Pat On 2016-04-14 14:03, Pat Lockley (Pgogy) wrote: > Dear list, > > Problem in make_refs_local? > > ----------------------- > Hi, > > $relreffedjsonstr = make_refs_local(urldecode($lo_data), > $_POST['absmedia']); > > The above calls the function "make_refs_local($json, $media)", however > uncommenting this (curly brackets only or the contents of the function > one line at a time ) and clicking 'play' displays a box with 'This > project does not contain any pages.' > > Hence I think the source of problem is triggered before the call to the > make_refs_local function, i.e. in the above line. > > See attached my upload.php as it currently stands, this generates the > error. > > Thanks, > > Naveed > > On 14 April 2016 at 11:17, Pat L (pgogy) > wrote: > >> No problem >> Let me know if i can help more >> >> -------- Original message -------- >> From: Naveed Hashmi >> Date: 14/04/2016 11:01 (GMT+00:00) >> To: Pat Lockley >> Subject: Re: Error message when playing/publishing content of type >> Text >> >> Hi Pat >> >> Ignore message below, the problem lies somewhere within the >> make_refs_local function, which I need to uncomment one line at a time >> ... >> >> Thanks, >> >> Naveed >> >> On 14 April 2016 at 09:41, Naveed Hashmi >> wrote: >> >> Hi Pat, >> >> I've followed your instructions and the error is throw when the >> following line in upload.php is encountered :- >> >> $relreffedjsonstr = make_refs_local(urldecode($lo_data), >> $_POST['absmedia']); >> >> Many thanks, >> >> Naveed >> >> > ----------------------------------------------------------------------------------------------------------------------------- >> >> Hi Naveed, >> >> This is outside the debug.log feature, this is getting the site to >> throw errors. >> >> Bring up editor/upload.php in a text editor Comment out everything bar >> "echo true"; >> >> Uncomment a line from the top (or a larger part if there is an if loop >> or so on) >> >> Click play >> >> keep doing this until you hit error >> >> Which line does error return on >> >> At the moment it looks like it fails very early on >> >> Pat >> >> On 13 April 2016 at 15:42, Naveed Hashmi >> wrote: >> >> Hi Pat, >> >> The debug.log only shows the following (SELECT) when either clicking >> Play or Publish >> >> 2016-04-13 14:34:18 >> /var/www/html/website_code/php/database_library.php175Running : SELECT >> * FROM sitedetails >> >> A successful 'play' should go further and show something like .. >> >> 1. 2016-04-13 08:13:38 >> /var/www/html/website_code/php/database_library.php175Running : SELECT >> * FROM sitedetails >> 2. 2016-04-13 08:13:38 >> /var/www/html/website_code/php/database_library.php175Running : SELECT >> * FROM sitedetails >> 3. 2016-04-13 08:13:38 >> /var/www/html/website_code/php/database_library.php175Running : >> select otd.template_name, ld.username, otd.template_framework, >> tr.user_id, tr.folder, tr.template_id, td.access_to_whom, >> td.extra_flags >> from originaltemplatesdetails otd, templaterights tr, templatedetails >> td, logindetails ld >> where td.template_type_id = otd.template_type_id and td.creator_id = >> ld.login_id and tr.template_id = td.template_id and tr.template_id=2 >> and role='creator' >> 4. 2016-04-13 08:13:38 >> /var/www/html/website_code/php/database_library.php175Running : select >> * from templaterights where user_id=? AND template_id = ? >> 5. 2016-04-13 08:13:38 >> /var/www/html/website_code/php/xmlInspector.php125Trying to >> simplexml_load_file : USER-FILES/2-isnsh-Nottingham/preview.xml >> >> Thanks, >> >> Naveed >> >> > -------------------------------------------------------------------------------------------------- >> >> 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 > > > > -- > Pgogy Webstuff > pgogywebstuff.com > > > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete it. > > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte -- Pgogy Webstuff pgogywebstuff.com From Naveed.Hashmi at bristol.ac.uk Thu Apr 14 15:59:15 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Thu, 14 Apr 2016 15:59:15 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: 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)' Thanks, Naveed ------------------------------------------------------------------ Digging try commenting out the lines in make_refs_local (which is lower down in upload.php) It looks benign as a function. Try changing $relreffedjsonstr = make_refs_local(urldecode($lo_data), $_POST['absmedia']); to $relreffedjsonstr = make_refs_local(urldecode($lo_data), $_POST['absmedia']); print_r($relreffedjsonstr); and then checking console view again Pat On 14 April 2016 at 09:41, Naveed Hashmi wrote: > Hi Pat, > > I've followed your instructions and the error is throw when the following > line in upload.php is encountered :- > > $relreffedjsonstr = make_refs_local(urldecode($lo_data), > $_POST['absmedia']); > > Many thanks, > > Naveed > > > ----------------------------------------------------------------------------------------------------------------------------- > > Hi Naveed, > > This is outside the debug.log feature, this is getting the site to throw > errors. > > Bring up editor/upload.php in a text editor Comment out everything bar > "echo true"; > > Uncomment a line from the top (or a larger part if there is an if loop or > so on) > > Click play > > keep doing this until you hit error > > Which line does error return on > > At the moment it looks like it fails very early on > > Pat > > On 13 April 2016 at 15:42, Naveed Hashmi > wrote: > >> Hi Pat, >> >> The debug.log only shows the following (SELECT) when either clicking Play >> or Publish >> >> 2016-04-13 14:34:18 >> /var/www/html/website_code/php/database_library.php175Running : SELECT * >> FROM sitedetails >> >> A successful 'play' should go further and show something like .. >> >> 1. 2016-04-13 08:13:38 >> /var/www/html/website_code/php/database_library.php175Running : SELECT * >> FROM sitedetails >> 2. 2016-04-13 08:13:38 >> /var/www/html/website_code/php/database_library.php175Running : SELECT * >> FROM sitedetails >> 3. 2016-04-13 08:13:38 >> /var/www/html/website_code/php/database_library.php175Running : >> select otd.template_name, ld.username, otd.template_framework, >> tr.user_id, tr.folder, tr.template_id, td.access_to_whom, td.extra_flags >> from originaltemplatesdetails otd, templaterights tr, templatedetails td, >> logindetails ld >> where td.template_type_id = otd.template_type_id and td.creator_id = >> ld.login_id and tr.template_id = td.template_id and tr.template_id=2 and >> role='creator' >> 4. 2016-04-13 08:13:38 >> /var/www/html/website_code/php/database_library.php175Running : select * >> from templaterights where user_id=? AND template_id = ? >> 5. 2016-04-13 08:13:38 >> /var/www/html/website_code/php/xmlInspector.php125Trying to >> simplexml_load_file : USER-FILES/2-isnsh-Nottingham/preview.xml >> >> Thanks, >> >> Naveed >> >> >> -------------------------------------------------------------------------------------------------- >> >> 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 >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at pgogywebstuff.com Thu Apr 14 16:06:15 2016 From: info at pgogywebstuff.com (Pat Lockley (Pgogy)) Date: Thu, 14 Apr 2016 11:06:15 -0400 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: <6f9725f49e3250ba5854c20e9f4dab73@pgogywebstuff.com> 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 From Naveed.Hashmi at bristol.ac.uk Thu Apr 14 16:14:29 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Thu, 14 Apr 2016 16:14:29 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: <6f9725f49e3250ba5854c20e9f4dab73@pgogywebstuff.com> References: <6f9725f49e3250ba5854c20e9f4dab73@pgogywebstuff.com> Message-ID: 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) 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: From info at pgogywebstuff.com Thu Apr 14 16:25:09 2016 From: info at pgogywebstuff.com (Pat L (pgogy)) Date: Thu, 14 Apr 2016 16:25:09 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text Message-ID: <1q2gw2wx8042ekf0d0bc2qb7.1460647509004@email.android.com> Do you see anything in console? -------- Original message -------- From: Naveed Hashmi Date: 14/04/2016 16:14 (GMT+00:00) To: Xerte discussion list Cc: "Pat Lockley (Pgogy)" 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) 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: From Naveed.Hashmi at bristol.ac.uk Thu Apr 14 16:30:37 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Thu, 14 Apr 2016 16:30:37 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: <1q2gw2wx8042ekf0d0bc2qb7.1460647509004@email.android.com> References: <1q2gw2wx8042ekf0d0bc2qb7.1460647509004@email.android.com> Message-ID: 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) wrote: > Do you see anything in console? > > -------- Original message -------- > From: Naveed Hashmi > Date: 14/04/2016 16:14 (GMT+00:00) > To: Xerte discussion list > Cc: "Pat Lockley (Pgogy)" > 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) > 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: From info at pgogywebstuff.com Thu Apr 14 16:34:10 2016 From: info at pgogywebstuff.com (Pat L (pgogy)) Date: Thu, 14 Apr 2016 16:34:10 +0100 Subject: [Xerte] Your xerte wish Message-ID: AllAdd your xerte wish here?https://docs.google.com/document/d/1-fFT7KSvHdWE6UU5ILRUjhQSkFcI-D5PtTVzDFvTgOs/edit?usp=docslist_apiThanksPat -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at pgogywebstuff.com Thu Apr 14 16:45:34 2016 From: info at pgogywebstuff.com (Pat L (pgogy)) Date: Thu, 14 Apr 2016 16:45:34 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text Message-ID: SorryBy console i mean the chrome dev console on the network tab -------- Original message -------- From: Naveed Hashmi Date: 14/04/2016 16:30 (GMT+00:00) To: "Pat L (pgogy)" Cc: Xerte discussion list Subject: Re: Error message when playing/publishing content of type Text On the command line (console) ... I see .. $ php upload.php /var/www/html/website_code/php/database_library.php175Running : SELECT * FROM sitedetailsSession is invalid or expired Thanks Naveed On 14 April 2016 at 16:25, Pat L (pgogy) wrote: Do you see anything in console? -------- Original message -------- From: Naveed Hashmi Date: 14/04/2016 16:14 (GMT+00:00) To: Xerte discussion list Cc: "Pat Lockley (Pgogy)" 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) 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: From Naveed.Hashmi at bristol.ac.uk Fri Apr 15 08:47:11 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Fri, 15 Apr 2016 08:47:11 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: When clicking 'play', the error box displays, but the response now shows the following :- {"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":"

bullets

\n"}}}1 The '1' at the end looks out of place? Thanks, Naveed On 14 April 2016 at 16:45, Pat L (pgogy) wrote: > Sorry > By console i mean the chrome dev console on the network tab > > > -------- Original message -------- > From: Naveed Hashmi > Date: 14/04/2016 16:30 (GMT+00:00) > To: "Pat L (pgogy)" > Cc: Xerte discussion list > Subject: Re: Error message when playing/publishing content of type Text > > 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) wrote: > >> Do you see anything in console? >> >> -------- Original message -------- >> From: Naveed Hashmi >> Date: 14/04/2016 16:14 (GMT+00:00) >> To: Xerte discussion list >> Cc: "Pat Lockley (Pgogy)" >> 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) >> 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: From info at pgogywebstuff.com Fri Apr 15 09:26:21 2016 From: info at pgogywebstuff.com (Pat Lockley (Pgogy)) Date: Fri, 15 Apr 2016 04:26:21 -0400 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: <3c7e9be09eb788d317c7f2354c518505@pgogywebstuff.com> The 1 is the "true" I assume being echoed out at the end? Or is that still commented out? Try commenting out the print_r? On 2016-04-15 03:47, Naveed Hashmi wrote: > When clicking 'play', the error box displays, but the response now > shows the following :- > > {"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":"

style=\"font-family: 'Open Sans', sans-serif; background-color: > rgb(255, 255, 255);\">bullets

\n"}}}1 > > The '1' at the end looks out of place? > > Thanks, > > Naveed > > On 14 April 2016 at 16:45, Pat L (pgogy) > wrote: > >> Sorry >> By console i mean the chrome dev console on the network tab >> >> -------- Original message -------- >> From: Naveed Hashmi >> Date: 14/04/2016 16:30 (GMT+00:00) >> To: "Pat L (pgogy)" >> >> Cc: Xerte discussion list >> Subject: Re: Error message when playing/publishing content of type >> Text >> >> 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) >> wrote: >> >> Do you see anything in console? >> >> -------- Original message -------- >> From: Naveed Hashmi >> Date: 14/04/2016 16:14 (GMT+00:00) >> To: Xerte discussion list >> Cc: "Pat Lockley (Pgogy)" >> 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) >> 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 -- Pgogy Webstuff pgogywebstuff.com From Naveed.Hashmi at bristol.ac.uk Fri Apr 15 10:23:05 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Fri, 15 Apr 2016 10:23:05 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: This is correct, the 1 is the "true" being echoed out at the end, i.e: "echo true;" (setting to this 'false' removes the '1'). I've commented out the print_r, i.e. "//print_r($relreffedjsonstr);" and the dialogue box now shows "This project does not contain any pages." See attached pic, results of chrome console when enabling/disabling the print_r. Thanks, Naveed ---------------------------------------- >From Pat: The 1 is the "true" I assume being echoed out at the end? Or is that still commented out? Try commenting out the print_r? On 15 April 2016 at 08:47, Naveed Hashmi wrote: > When clicking 'play', the error box displays, but the response now shows > the following :- > > {"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":"

style=\"font-family: 'Open Sans', sans-serif; background-color: rgb(255, > 255, 255);\">bullets

\n"}}}1 > > The '1' at the end looks out of place? > > Thanks, > > Naveed > > > On 14 April 2016 at 16:45, Pat L (pgogy) wrote: > >> Sorry >> By console i mean the chrome dev console on the network tab >> >> >> -------- Original message -------- >> From: Naveed Hashmi >> Date: 14/04/2016 16:30 (GMT+00:00) >> To: "Pat L (pgogy)" >> Cc: Xerte discussion list >> Subject: Re: Error message when playing/publishing content of type Text >> >> 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) wrote: >> >>> Do you see anything in console? >>> >>> -------- Original message -------- >>> From: Naveed Hashmi >>> Date: 14/04/2016 16:14 (GMT+00:00) >>> To: Xerte discussion list >>> Cc: "Pat Lockley (Pgogy)" >>> 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) >>> 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: xerte debug console.png Type: image/png Size: 161517 bytes Desc: not available URL: From info at pgogywebstuff.com Fri Apr 15 10:46:42 2016 From: info at pgogywebstuff.com (Pat Lockley (Pgogy)) Date: Fri, 15 Apr 2016 05:46:42 -0400 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: How much of your editor.php is commented out, as make_refs_local seems to be returning something which looks ok to me (I am running out of ideas, sorry) On 2016-04-15 05:23, Naveed Hashmi wrote: > This is correct, the 1 is the "true" being echoed out at the end, i.e: > "echo true;" (setting to this 'false' removes the '1'). > > I've commented out the print_r, i.e. "//print_r($relreffedjsonstr);" > and the dialogue box now shows "This project does not contain any > pages." > > See attached pic, results of chrome console when enabling/disabling > the print_r. > > Thanks, > > Naveed > > ---------------------------------------- > From Pat: > > The 1 is the "true" I assume being echoed out at the end? > > Or is that still commented out? > > Try commenting out the print_r? > > On 15 April 2016 at 08:47, Naveed Hashmi > wrote: > >> When clicking 'play', the error box displays, but the response now >> shows the following :- >> >> > {"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":"

> style=\"font-family: 'Open Sans', sans-serif; background-color: >> rgb(255, 255, 255);\">bullets

\n"}}}1 >> >> The '1' at the end looks out of place? >> >> Thanks, >> >> Naveed >> >> On 14 April 2016 at 16:45, Pat L (pgogy) >> wrote: >> >> Sorry >> By console i mean the chrome dev console on the network tab >> >> -------- Original message -------- >> From: Naveed Hashmi >> Date: 14/04/2016 16:30 (GMT+00:00) >> To: "Pat L (pgogy)" >> >> Cc: Xerte discussion list >> Subject: Re: Error message when playing/publishing content of type >> Text >> >> 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) >> wrote: >> >> Do you see anything in console? >> >> -------- Original message -------- >> From: Naveed Hashmi >> Date: 14/04/2016 16:14 (GMT+00:00) >> To: Xerte discussion list >> Cc: "Pat Lockley (Pgogy)" >> 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) >> 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 -- Pgogy Webstuff pgogywebstuff.com From Naveed.Hashmi at bristol.ac.uk Fri Apr 15 11:20:53 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Fri, 15 Apr 2016 11:20:53 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: Hi Pat, Do you mean /editor/upload.php? See attached, this is how the upload.php looks at the moment. Thanks for your help, Naveed --------------- >From Pat ... How much of your editor.php is commented out, as make_refs_local seems to be returning something which looks ok to me (I am running out of ideas, sorry) On 15 April 2016 at 10:23, Naveed Hashmi wrote: > This is correct, the 1 is the "true" being echoed out at the end, i.e: "echo > true;" (setting to this 'false' removes the '1'). > > I've commented out the print_r, i.e. "//print_r($relreffedjsonstr);" and > the dialogue box now shows "This project does not contain any pages." > > See attached pic, results of chrome console when enabling/disabling the > print_r. > > Thanks, > > Naveed > > ---------------------------------------- > From Pat: > > The 1 is the "true" I assume being echoed out at the end? > > Or is that still commented out? > > Try commenting out the print_r? > > On 15 April 2016 at 08:47, Naveed Hashmi > wrote: > >> When clicking 'play', the error box displays, but the response now shows >> the following :- >> >> {"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":"

> style=\"font-family: 'Open Sans', sans-serif; background-color: rgb(255, >> 255, 255);\">bullets

\n"}}}1 >> >> The '1' at the end looks out of place? >> >> Thanks, >> >> Naveed >> >> >> On 14 April 2016 at 16:45, Pat L (pgogy) wrote: >> >>> Sorry >>> By console i mean the chrome dev console on the network tab >>> >>> >>> -------- Original message -------- >>> From: Naveed Hashmi >>> Date: 14/04/2016 16:30 (GMT+00:00) >>> To: "Pat L (pgogy)" >>> Cc: Xerte discussion list >>> Subject: Re: Error message when playing/publishing content of type Text >>> >>> 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) wrote: >>> >>>> Do you see anything in console? >>>> >>>> -------- Original message -------- >>>> From: Naveed Hashmi >>>> Date: 14/04/2016 16:14 (GMT+00:00) >>>> To: Xerte discussion list >>>> Cc: "Pat Lockley (Pgogy)" >>>> 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) >>>> 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: upload.php Type: application/x-httpd-php Size: 7035 bytes Desc: not available URL: From reijnders at tor.nl Fri Apr 15 11:46:04 2016 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 15 Apr 2016 12:46:04 +0200 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: References: Message-ID: <5710C66C.5080006@tor.nl> Can you please place this version of upload.php in the editor folder. It's the development version with debugging statements added. Then, please make sure $development is set to true, and after trying to saving data, look at what is in the debug.log file, and report back please. Tom Op 15-4-2016 om 12:20 schreef Naveed Hashmi: > Hi Pat, > > Do you mean /editor/upload.php? > > See attached, this is how the upload.php looks at the moment. > > Thanks for your help, > > Naveed > > --------------- > From Pat ... > How much of your editor.php is commented out, as make_refs_local seems > to be returning something which looks ok to me > (I am running out of ideas, sorry) > > On 15 April 2016 at 10:23, Naveed Hashmi > wrote: > > This is correct, the 1 is the "true" being echoed out at the end, > i.e: "echo true;" (setting to this 'false' removes the '1'). > I've commented out the print_r, i.e. > "//print_r($relreffedjsonstr);" and the dialogue box now > shows "This project does not contain any pages." > > See attached pic, results of chrome console when > enabling/disabling the print_r. > > Thanks, > > Naveed > > ---------------------------------------- > From Pat: > > The 1 is the "true" I assume being echoed out at the end? > Or is that still commented out? > Try commenting out the print_r? > > On 15 April 2016 at 08:47, Naveed Hashmi > > > wrote: > > When clicking 'play', the error box displays, but the response > now shows the following :- > > {"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":"

style=\"font-family: 'Open Sans', sans-serif; > background-color: rgb(255, 255, 255);\">bullets

\n"}}}1 > > The '1' at the end looks out of place? > > Thanks, > > Naveed > > > On 14 April 2016 at 16:45, Pat L (pgogy) > > wrote: > > Sorry > By console i mean the chrome dev console on the network tab > > > -------- Original message -------- > From: Naveed Hashmi > > Date: 14/04/2016 16:30 (GMT+00:00) > To: "Pat L (pgogy)" > > Cc: Xerte discussion list > > Subject: Re: Error message when playing/publishing content > of type Text > > 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) > > > wrote: > > Do you see anything in console? > > -------- Original message -------- > From: Naveed Hashmi > > Date: 14/04/2016 16:14 (GMT+00:00) > To: Xerte discussion list > > > Cc: "Pat Lockley (Pgogy)" > > 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) > > 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 > > > > > > > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete it. > > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From Naveed.Hashmi at bristol.ac.uk Fri Apr 15 12:05:26 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Fri, 15 Apr 2016 12:05:26 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: <5710C66C.5080006@tor.nl> References: <5710C66C.5080006@tor.nl> Message-ID: The debug.log shows the following when I click 'play' with the dev version of upload.php .. 2016-04-15 11:02:53 /var/www/html/website_code/php/database_library.php175Running : SELECT * FROM sitedetails 2016-04-15 11:02:53 /var/www/html/editor/upload.php28upload: Array ( [fileupdate] => 0 [filename] => USER-FILES/2-isnsh-Nottingham/preview.xml [lo_data] => %7B%22attributes%22%3A%7B%22nodeName%22%3A%22learningObject%22%2C%22editorVersion%22%3A%223%22%2C%22targetFolder%22%3A%22Nottingham%22%2C%22name%22%3A%22Learning%20Object%20Title%22%2C%22language%22%3A%22%22%2C%22navigation%22%3A%22Linear%22%2C%22textSize%22%3A%2212%22%2C%22theme%22%3A%22darkgrey%22%2C%22displayMode%22%3A%22default%22%2C%22responsive%22%3A%22true%22%7D%2C%22children%22%3A%7B%220%22%3A%7B%22attributes%22%3A%7B%22nodeName%22%3A%22bullets%22%2C%22linkID%22%3A%22PG1460718054579%22%2C%22name%22%3A%22Enter%20Page%20Title%22%2C%22delaySecs%22%3A%221%22%2C%22showBullets%22%3A%221%22%2C%22showPanel%22%3A%221%22%2C%22panelWidth%22%3A%22Medium%22%7D%2C%22data%22%3A%22Enter%20text%20for%20the%20page%20here%22%7D%7D%7D [absmedia] => https://xerte-beta.bris.ac.uk/USER-FILES/2-isnsh-Nottingham/ [template_id] => 2 ) 2016-04-15 11:02:53 /var/www/html/editor/upload.php53upload (lo_data): %7B%22attributes%22%3A%7B%22nodeName%22%3A%22learningObject%22%2C%22editorVersion%22%3A%223%22%2C%22targetFolder%22%3A%22Nottingham%22%2C%22name%22%3A%22Learning%20Object%20Title%22%2C%22language%22%3A%22%22%2C%22navigation%22%3A%22Linear%22%2C%22textSize%22%3A%2212%22%2C%22theme%22%3A%22darkgrey%22%2C%22displayMode%22%3A%22default%22%2C%22responsive%22%3A%22true%22%7D%2C%22children%22%3A%7B%220%22%3A%7B%22attributes%22%3A%7B%22nodeName%22%3A%22bullets%22%2C%22linkID%22%3A%22PG1460718054579%22%2C%22name%22%3A%22Enter%20Page%20Title%22%2C%22delaySecs%22%3A%221%22%2C%22showBullets%22%3A%221%22%2C%22showPanel%22%3A%221%22%2C%22panelWidth%22%3A%22Medium%22%7D%2C%22data%22%3A%22Enter%20text%20for%20the%20page%20here%22%7D%7D%7D 2016-04-15 11:02:53 /var/www/html/editor/upload.php57upload (lo_data, local_refs): {"attributes":{"nodeName":"learningObject","editorVersion":"3","targetFolder":"Nottingham","name":"Learning Object Title","language":"","navigation":"Linear","textSize":"12","theme":"darkgrey","displayMode":"default","responsive":"true"},"children":{"0":{"attributes":{"nodeName":"bullets","linkID":"PG1460718054579","name":"Enter Page Title","delaySecs":"1","showBullets":"1","showPanel":"1","panelWidth":"Medium"},"data":"Enter text for the page here"}}} 2016-04-15 11:02:53 /var/www/html/editor/upload.php63upload: decoded json Thanks, Naveed On 15 April 2016 at 11:46, Tom Reijnders wrote: > Can you please place this version of upload.php in the editor folder. It's > the development version with debugging statements added. > > Then, please make sure $development is set to true, and after trying to > saving data, look at what is in the debug.log file, and report back please. > > Tom > > Op 15-4-2016 om 12:20 schreef Naveed Hashmi: > > Hi Pat, > > Do you mean /editor/upload.php? > > See attached, this is how the upload.php looks at the moment. > > Thanks for your help, > > Naveed > > --------------- > From Pat ... > How much of your editor.php is commented out, as make_refs_local seems > to be returning something which looks ok to me > (I am running out of ideas, sorry) > > On 15 April 2016 at 10:23, Naveed Hashmi > wrote: > >> This is correct, the 1 is the "true" being echoed out at the end, i.e: "echo >> true;" (setting to this 'false' removes the '1'). >> I've commented out the print_r, i.e. "//print_r($relreffedjsonstr);" and >> the dialogue box now shows "This project does not contain any pages." >> >> See attached pic, results of chrome console when enabling/disabling the >> print_r. >> >> Thanks, >> >> Naveed >> >> ---------------------------------------- >> From Pat: >> >> The 1 is the "true" I assume being echoed out at the end? >> Or is that still commented out? >> Try commenting out the print_r? >> >> On 15 April 2016 at 08:47, Naveed Hashmi < >> Naveed.Hashmi at bristol.ac.uk> wrote: >> >>> When clicking 'play', the error box displays, but the response now shows >>> the following :- >>> >>> {"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":"

>> style=\"font-family: 'Open Sans', sans-serif; background-color: rgb(255, >>> 255, 255);\">bullets

\n"}}}1 >>> >>> The '1' at the end looks out of place? >>> >>> Thanks, >>> >>> Naveed >>> >>> >>> On 14 April 2016 at 16:45, Pat L (pgogy) < >>> info at pgogywebstuff.com> wrote: >>> >>>> Sorry >>>> By console i mean the chrome dev console on the network tab >>>> >>>> >>>> -------- Original message -------- >>>> From: Naveed Hashmi < >>>> Naveed.Hashmi at bristol.ac.uk> >>>> Date: 14/04/2016 16:30 (GMT+00:00) >>>> To: "Pat L (pgogy)" < info at pgogywebstuff.com> >>>> Cc: Xerte discussion list < >>>> xerte at lists.nottingham.ac.uk> >>>> Subject: Re: Error message when playing/publishing content of type Text >>>> >>>> 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 >>>>>> >>>>> >>>>> >>>> >>> >> > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete it. > > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > > > _______________________________________________ > Xerte mailing listXerte at lists.nottingham.ac.ukhttp://lists.nottingham.ac.uk/mailman/listinfo/xerte > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rolaine.stoddard at yahoo.com Fri Apr 15 16:12:59 2016 From: rolaine.stoddard at yahoo.com (Rolaine Stoddard) Date: Fri, 15 Apr 2016 15:12:59 +0000 (UTC) Subject: [Xerte] delaying activation of next screen button References: <449831279.1209389.1460733179142.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <449831279.1209389.1460733179142.JavaMail.yahoo@mail.yahoo.com> I'm developing a training course for local government officials across New York State.? A weird requirement to getting my course approved by the state government for me to teach it to them is that it has to ensure that readers do not gain ability to advance to the next screen until AFTER they have viewed the current screen for a certain number of seconds. How do I set the next button to activate only AFTER the narration sound clip has completed?Is there a way to insert code to update some custom tables in a separate, mysql database at the same time? Please advise.? I'm stumped.Rolaine StoddardHeal Thy Biz Online -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at pgogywebstuff.com Fri Apr 15 20:20:18 2016 From: info at pgogywebstuff.com (Pat L (pgogy)) Date: Fri, 15 Apr 2016 20:20:18 +0100 Subject: [Xerte] Re: delaying activation of next screen button Message-ID: HelloDo you want it to happen to every single module you create? Or a select few?ThanksPat -------- Original message -------- From: Rolaine Stoddard Date: 15/04/2016 16:12 (GMT+00:00) To: xerte at lists.nottingham.ac.uk Subject: [Xerte] delaying activation of next screen button I'm developing a training course for local government officials across New York State.? A weird requirement to getting my course approved by the state government for me to teach it to them is that it has to ensure that readers do not gain ability to advance to the next screen until AFTER they have viewed the current screen for a certain number of seconds. How do I set the next button to activate only AFTER the narration sound clip has completed?Is there a way to insert code to update some custom tables in a separate, mysql database at the same time? Please advise.? I'm stumped.Rolaine StoddardHeal Thy Biz Online This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rolaine.stoddard at yahoo.com Sat Apr 16 17:36:54 2016 From: rolaine.stoddard at yahoo.com (Rolaine Stoddard) Date: Sat, 16 Apr 2016 16:36:54 +0000 (UTC) Subject: [Xerte] Re: Xerte Digest, Vol 244, Issue 15 In-Reply-To: References: Message-ID: <319046558.1839661.1460824614987.JavaMail.yahoo@mail.yahoo.com> pretty much every module I create. ?It won't make a difference if the ones that don't need this function still have it. From: "xerte-request at lists.nottingham.ac.uk" To: xerte at lists.nottingham.ac.uk Sent: Saturday, April 16, 2016 7:00 AM Subject: Xerte Digest, Vol 244, Issue 15 Send Xerte mailing list submissions to ??? xerte at lists.nottingham.ac.uk To subscribe or unsubscribe via the World Wide Web, visit ??? http://lists.nottingham.ac.uk/mailman/listinfo/xerte or, via email, send a message with subject or body 'help' to ??? xerte-request at lists.nottingham.ac.uk You can reach the person managing the list at ??? xerte-owner at lists.nottingham.ac.uk When replying, please edit your Subject line so it is more specific than "Re: Contents of Xerte digest..." Today's Topics: ? 1. delaying activation of next screen button (Rolaine Stoddard) ? 2. Re: delaying activation of next screen button (Pat L (pgogy)) ---------------------------------------------------------------------- Message: 1 Date: Fri, 15 Apr 2016 15:12:59 +0000 (UTC) From: Rolaine Stoddard To: "xerte at lists.nottingham.ac.uk" Subject: [Xerte] delaying activation of next screen button Message-ID: ??? <449831279.1209389.1460733179142.JavaMail.yahoo at mail.yahoo.com> Content-Type: text/plain; charset="utf-8" I'm developing a training course for local government officials across New York State.? A weird requirement to getting my course approved by the state government for me to teach it to them is that it has to ensure that readers do not gain ability to advance to the next screen until AFTER they have viewed the current screen for a certain number of seconds. How do I set the next button to activate only AFTER the narration sound clip has completed?Is there a way to insert code to update some custom tables in a separate, mysql database at the same time? Please advise.? I'm stumped.Rolaine StoddardHeal Thy Biz Online -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ Message: 2 Date: Fri, 15 Apr 2016 20:20:18 +0100 From: "Pat L (pgogy)" To: Rolaine Stoddard , Xerte discussion ??? list??? Subject: [Xerte] Re: delaying activation of next screen button Message-ID: Content-Type: text/plain; charset="utf-8" HelloDo you want it to happen to every single module you create? Or a select few?ThanksPat -------- Original message -------- From: Rolaine Stoddard Date: 15/04/2016? 16:12? (GMT+00:00) To: xerte at lists.nottingham.ac.uk Subject: [Xerte] delaying activation of next screen button I'm developing a training course for local government officials across New York State.? A weird requirement to getting my course approved by the state government for me to teach it to them is that it has to ensure that readers do not gain ability to advance to the next screen until AFTER they have viewed the current screen for a certain number of seconds. How do I set the next button to activate only AFTER the narration sound clip has completed?Is there a way to insert code to update some custom tables in a separate, mysql database at the same time? Please advise.? I'm stumped.Rolaine StoddardHeal Thy Biz Online This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment.? Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte End of Xerte Digest, Vol 244, Issue 15 ************************************** This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment.? Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Naveed.Hashmi at bristol.ac.uk Mon Apr 18 12:17:39 2016 From: Naveed.Hashmi at bristol.ac.uk (Naveed Hashmi) Date: Mon, 18 Apr 2016 12:17:39 +0100 Subject: [Xerte] Re: Error message when playing/publishing content of type Text In-Reply-To: <5710C66C.5080006@tor.nl> References: <5710C66C.5080006@tor.nl> Message-ID: Hi Tom, Many thanks for your (and Pat's) help with this. For the list: our apache ssl_error_log showed the following error whenever playing the problem LO's .. Call to undefined function dom_import_simplexml() in /var/www/html/editor/upload.php on line 105 We run our xerte install on CentOS which does not include the extension php-xml by default (i.e. the minimum PHP package), by executing 'yum install php-xml'. we resolved the problem :) I suggest the v3 documentation mentions the requirement for php-xml or the installer code be updated to check for this and prompts if missing. Naveed On 15 April 2016 at 11:46, Tom Reijnders wrote: > Can you please place this version of upload.php in the editor folder. It's > the development version with debugging statements added. > > Then, please make sure $development is set to true, and after trying to > saving data, look at what is in the debug.log file, and report back please. > > Tom > > Op 15-4-2016 om 12:20 schreef Naveed Hashmi: > > Hi Pat, > > Do you mean /editor/upload.php? > > See attached, this is how the upload.php looks at the moment. > > Thanks for your help, > > Naveed > > --------------- > From Pat ... > How much of your editor.php is commented out, as make_refs_local seems > to be returning something which looks ok to me > (I am running out of ideas, sorry) > > On 15 April 2016 at 10:23, Naveed Hashmi > wrote: > >> This is correct, the 1 is the "true" being echoed out at the end, i.e: "echo >> true;" (setting to this 'false' removes the '1'). >> I've commented out the print_r, i.e. "//print_r($relreffedjsonstr);" and >> the dialogue box now shows "This project does not contain any pages." >> >> See attached pic, results of chrome console when enabling/disabling the >> print_r. >> >> Thanks, >> >> Naveed >> >> ---------------------------------------- >> From Pat: >> >> The 1 is the "true" I assume being echoed out at the end? >> Or is that still commented out? >> Try commenting out the print_r? >> >> On 15 April 2016 at 08:47, Naveed Hashmi < >> Naveed.Hashmi at bristol.ac.uk> wrote: >> >>> When clicking 'play', the error box displays, but the response now shows >>> the following :- >>> >>> {"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":"

>> style=\"font-family: 'Open Sans', sans-serif; background-color: rgb(255, >>> 255, 255);\">bullets

\n"}}}1 >>> >>> The '1' at the end looks out of place? >>> >>> Thanks, >>> >>> Naveed >>> >>> >>> On 14 April 2016 at 16:45, Pat L (pgogy) < >>> info at pgogywebstuff.com> wrote: >>> >>>> Sorry >>>> By console i mean the chrome dev console on the network tab >>>> >>>> >>>> -------- Original message -------- >>>> From: Naveed Hashmi < >>>> Naveed.Hashmi at bristol.ac.uk> >>>> Date: 14/04/2016 16:30 (GMT+00:00) >>>> To: "Pat L (pgogy)" < info at pgogywebstuff.com> >>>> Cc: Xerte discussion list < >>>> xerte at lists.nottingham.ac.uk> >>>> Subject: Re: Error message when playing/publishing content of type Text >>>> >>>> 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 >>>>>> >>>>> >>>>> >>>> >>> >> > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete it. > > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > > > _______________________________________________ > Xerte mailing listXerte at lists.nottingham.ac.ukhttp://lists.nottingham.ac.uk/mailman/listinfo/xerte > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at pgogywebstuff.com Mon Apr 18 14:40:14 2016 From: info at pgogywebstuff.com (Pat Lockley (Pgogy)) Date: Mon, 18 Apr 2016 09:40:14 -0400 Subject: [Xerte] Re: Xerte Digest, Vol 244, Issue 15 In-Reply-To: <319046558.1839661.1460824614987.JavaMail.yahoo@mail.yahoo.com> References: <319046558.1839661.1460824614987.JavaMail.yahoo@mail.yahoo.com> Message-ID: <066b7c6a1813027335732157f10566dd@pgogywebstuff.com> You could probably add some JS to modify the next button to do this There isn't a direct way of doing it On 2016-04-16 12:36, Rolaine Stoddard wrote: > pretty much every module I create. It won't make a difference if the > ones that don't need this function still have it. > > ------------------------- > FROM: "xerte-request at lists.nottingham.ac.uk" > > TO: xerte at lists.nottingham.ac.uk > SENT: Saturday, April 16, 2016 7:00 AM > SUBJECT: Xerte Digest, Vol 244, Issue 15 > > Send Xerte mailing list submissions to > xerte at lists.nottingham.ac.uk > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > or, via email, send a message with subject or body 'help' to > xerte-request at lists.nottingham.ac.uk > > You can reach the person managing the list at > xerte-owner at lists.nottingham.ac.uk > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Xerte digest..." > > Today's Topics: > > 1. delaying activation of next screen button (Rolaine Stoddard) > 2. Re: delaying activation of next screen button (Pat L (pgogy)) > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 15 Apr 2016 15:12:59 +0000 (UTC) > From: Rolaine Stoddard > To: "xerte at lists.nottingham.ac.uk" > Subject: [Xerte] delaying activation of next screen button > Message-ID: > <449831279.1209389.1460733179142.JavaMail.yahoo at mail.yahoo.com> > Content-Type: text/plain; charset="utf-8" > > I'm developing a training course for local government officials across > New York State.? A weird requirement to getting my course approved by > the state government for me to teach it to them is that it has to > ensure that readers do not gain ability to advance to the next screen > until AFTER they have viewed the current screen for a certain number > of seconds. > How do I set the next button to activate only AFTER the narration > sound clip has completed?Is there a way to insert code to update some > custom tables in a separate, mysql database at the same time? > Please advise.? I'm stumped.Rolaine StoddardHeal Thy Biz Online > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > Message: 2 > Date: Fri, 15 Apr 2016 20:20:18 +0100 > From: "Pat L (pgogy)" > To: Rolaine Stoddard , Xerte discussion > list > Subject: [Xerte] Re: delaying activation of next screen button > Message-ID: > Content-Type: text/plain; charset="utf-8" > > HelloDo you want it to happen to every single module you create? Or a > select few?ThanksPat > > -------- Original message -------- > From: Rolaine Stoddard > Date: 15/04/2016 16:12 (GMT+00:00) > To: xerte at lists.nottingham.ac.uk > Subject: [Xerte] delaying activation of next screen button > > I'm developing a training course for local government officials across > New York State.? A weird requirement to getting my course approved by > the state government for me to teach it to them is that it has to > ensure that readers do not gain ability to advance to the next screen > until AFTER they have viewed the current screen for a certain number > of seconds. > How do I set the next button to activate only AFTER the narration > sound clip has completed?Is there a way to insert code to update some > custom tables in a separate, mysql database at the same time? > Please advise.? I'm stumped.Rolaine StoddardHeal Thy Biz Online > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete > it. > > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > End of Xerte Digest, Vol 244, Issue 15 > ************************************** > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete > it. > > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete > it. > > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte -- Pgogy Webstuff pgogywebstuff.com From Julian.Tenney at nottingham.ac.uk Mon Apr 18 14:53:28 2016 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 18 Apr 2016 13:53:28 +0000 Subject: [Xerte] Re: Xerte Digest, Vol 244, Issue 15 In-Reply-To: <066b7c6a1813027335732157f10566dd@pgogywebstuff.com> References: <319046558.1839661.1460824614987.JavaMail.yahoo@mail.yahoo.com> <066b7c6a1813027335732157f10566dd@pgogywebstuff.com> Message-ID: <5C33B277BFD6E9458C6D394195F98CF604785D5F@UiWexMBX07.ad.nottingham.ac.uk> I've been asked to do the same thing in the past and refused. If you're training is so boring that you need to turn off the navigation so that people participate in it you need to revisit the training. -----Original Message----- From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley (Pgogy) Sent: 18 April 2016 14:40 To: Xerte discussion list Subject: [Xerte] Re: Xerte Digest, Vol 244, Issue 15 You could probably add some JS to modify the next button to do this There isn't a direct way of doing it On 2016-04-16 12:36, Rolaine Stoddard wrote: > pretty much every module I create. It won't make a difference if the > ones that don't need this function still have it. > > ------------------------- > FROM: "xerte-request at lists.nottingham.ac.uk" > > TO: xerte at lists.nottingham.ac.uk > SENT: Saturday, April 16, 2016 7:00 AM > SUBJECT: Xerte Digest, Vol 244, Issue 15 > > Send Xerte mailing list submissions to > xerte at lists.nottingham.ac.uk > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > or, via email, send a message with subject or body 'help' to > xerte-request at lists.nottingham.ac.uk > > You can reach the person managing the list at > xerte-owner at lists.nottingham.ac.uk > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Xerte digest..." > > Today's Topics: > > 1. delaying activation of next screen button (Rolaine Stoddard) > 2. Re: delaying activation of next screen button (Pat L (pgogy)) > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 15 Apr 2016 15:12:59 +0000 (UTC) > From: Rolaine Stoddard > To: "xerte at lists.nottingham.ac.uk" > Subject: [Xerte] delaying activation of next screen button > Message-ID: > <449831279.1209389.1460733179142.JavaMail.yahoo at mail.yahoo.com> > Content-Type: text/plain; charset="utf-8" > > I'm developing a training course for local government officials across > New York State.? A weird requirement to getting my course approved by > the state government for me to teach it to them is that it has to > ensure that readers do not gain ability to advance to the next screen > until AFTER they have viewed the current screen for a certain number > of seconds. > How do I set the next button to activate only AFTER the narration > sound clip has completed?Is there a way to insert code to update some > custom tables in a separate, mysql database at the same time? > Please advise.? I'm stumped.Rolaine StoddardHeal Thy Biz Online > -------------- next part -------------- An HTML attachment was > scrubbed... > URL: > e6975a/attachment-0001.html> > > ------------------------------ > > Message: 2 > Date: Fri, 15 Apr 2016 20:20:18 +0100 > From: "Pat L (pgogy)" > To: Rolaine Stoddard , Xerte discussion > list > Subject: [Xerte] Re: delaying activation of next screen button > Message-ID: > Content-Type: text/plain; charset="utf-8" > > HelloDo you want it to happen to every single module you create? Or a > select few?ThanksPat > > -------- Original message -------- > From: Rolaine Stoddard > Date: 15/04/2016 16:12 (GMT+00:00) > To: xerte at lists.nottingham.ac.uk > Subject: [Xerte] delaying activation of next screen button > > I'm developing a training course for local government officials across > New York State.? A weird requirement to getting my course approved by > the state government for me to teach it to them is that it has to > ensure that readers do not gain ability to advance to the next screen > until AFTER they have viewed the current screen for a certain number > of seconds. > How do I set the next button to activate only AFTER the narration > sound clip has completed?Is there a way to insert code to update some > custom tables in a separate, mysql database at the same time? > Please advise.? I'm stumped.Rolaine StoddardHeal Thy Biz Online > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete > it. > > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > -------------- next part -------------- An HTML attachment was > scrubbed... > URL: > adf644/attachment-0001.html> > > ------------------------------ > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > End of Xerte Digest, Vol 244, Issue 15 > ************************************** > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete > it. > > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete > it. > > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte -- Pgogy Webstuff pgogywebstuff.com _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte From Oliver.Haslam at uwe.ac.uk Thu Apr 21 11:16:33 2016 From: Oliver.Haslam at uwe.ac.uk (Oliver Haslam) Date: Thu, 21 Apr 2016 10:16:33 +0000 Subject: [Xerte] covert LO from Xerte template to Bootstrap template? Message-ID: Hi Is there a straightforward way to convert an existing LO made with the ?Xerte Online Toolkits? template into an LO based on the ?Bootstrap Template?? Or would I need to start again and remake it? Thanks Oli _____________________________ Oliver Haslam MA, PGCert ODE (Open) Learning Technologist UWE Associate Teaching & Learning Fellow Learning Innovation Unit Faculty of Environment & Technology University of the West of England 0117 32 88215 _____________________________ From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Naveed Hashmi Sent: 18 April 2016 12:18 To: Tom Reijnders Cc: Xerte discussion list Subject: [Xerte] Re: Error message when playing/publishing content of type Text Hi Tom, Many thanks for your (and Pat's) help with this. For the list: our apache ssl_error_log showed the following error whenever playing the problem LO's .. Call to undefined function dom_import_simplexml() in /var/www/html/editor/upload.php on line 105 We run our xerte install on CentOS which does not include the extension php-xml by default (i.e. the minimum PHP package), by executing 'yum install php-xml'. we resolved the problem :) I suggest the v3 documentation mentions the requirement for php-xml or the installer code be updated to check for this and prompts if missing. Naveed On 15 April 2016 at 11:46, Tom Reijnders > wrote: Can you please place this version of upload.php in the editor folder. It's the development version with debugging statements added. Then, please make sure $development is set to true, and after trying to saving data, look at what is in the debug.log file, and report back please. Tom Op 15-4-2016 om 12:20 schreef Naveed Hashmi: Hi Pat, Do you mean /editor/upload.php? See attached, this is how the upload.php looks at the moment. Thanks for your help, Naveed --------------- From Pat ... How much of your editor.php is commented out, as make_refs_local seems to be returning something which looks ok to me (I am running out of ideas, sorry) On 15 April 2016 at 10:23, Naveed Hashmi > wrote: This is correct, the 1 is the "true" being echoed out at the end, i.e: "echo true;" (setting to this 'false' removes the '1'). I've commented out the print_r, i.e. "//print_r($relreffedjsonstr);" and the dialogue box now shows "This project does not contain any pages." See attached pic, results of chrome console when enabling/disabling the print_r. Thanks, Naveed ---------------------------------------- From Pat: The 1 is the "true" I assume being echoed out at the end? Or is that still commented out? Try commenting out the print_r? On 15 April 2016 at 08:47, Naveed Hashmi > wrote: When clicking 'play', the error box displays, but the response now shows the following :- {"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":"

bullets

\n"}}}1 The '1' at the end looks out of place? Thanks, Naveed On 14 April 2016 at 16:45, Pat L (pgogy) > wrote: Sorry By console i mean the chrome dev console on the network tab -------- Original message -------- From: Naveed Hashmi > Date: 14/04/2016 16:30 (GMT+00:00) To: "Pat L (pgogy)" > Cc: Xerte discussion list > Subject: Re: Error message when playing/publishing content of type Text 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) > wrote: Do you see anything in console? -------- Original message -------- From: Naveed Hashmi > Date: 14/04/2016 16:14 (GMT+00:00) To: Xerte discussion list > Cc: "Pat Lockley (Pgogy)" > 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) > 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 This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Apr 21 11:22:46 2016 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 21 Apr 2016 10:22:46 +0000 Subject: [Xerte] Re: covert LO from Xerte template to Bootstrap template? In-Reply-To: References: Message-ID: <5C33B277BFD6E9458C6D394195F98CF60478835D@UiWexMBX07.ad.nottingham.ac.uk> There?s no automagic way, no, sorry. You can embed one in the other , but I don?t think that?s what you mean From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Oliver Haslam Sent: 21 April 2016 11:17 To: Xerte discussion list Subject: [Xerte] covert LO from Xerte template to Bootstrap template? Hi Is there a straightforward way to convert an existing LO made with the ?Xerte Online Toolkits? template into an LO based on the ?Bootstrap Template?? Or would I need to start again and remake it? Thanks Oli _____________________________ Oliver Haslam MA, PGCert ODE (Open) Learning Technologist UWE Associate Teaching & Learning Fellow Learning Innovation Unit Faculty of Environment & Technology University of the West of England 0117 32 88215 _____________________________ From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Naveed Hashmi Sent: 18 April 2016 12:18 To: Tom Reijnders Cc: Xerte discussion list Subject: [Xerte] Re: Error message when playing/publishing content of type Text Hi Tom, Many thanks for your (and Pat's) help with this. For the list: our apache ssl_error_log showed the following error whenever playing the problem LO's .. Call to undefined function dom_import_simplexml() in /var/www/html/editor/upload.php on line 105 We run our xerte install on CentOS which does not include the extension php-xml by default (i.e. the minimum PHP package), by executing 'yum install php-xml'. we resolved the problem :) I suggest the v3 documentation mentions the requirement for php-xml or the installer code be updated to check for this and prompts if missing. Naveed On 15 April 2016 at 11:46, Tom Reijnders > wrote: Can you please place this version of upload.php in the editor folder. It's the development version with debugging statements added. Then, please make sure $development is set to true, and after trying to saving data, look at what is in the debug.log file, and report back please. Tom Op 15-4-2016 om 12:20 schreef Naveed Hashmi: Hi Pat, Do you mean /editor/upload.php? See attached, this is how the upload.php looks at the moment. Thanks for your help, Naveed --------------- From Pat ... How much of your editor.php is commented out, as make_refs_local seems to be returning something which looks ok to me (I am running out of ideas, sorry) On 15 April 2016 at 10:23, Naveed Hashmi > wrote: This is correct, the 1 is the "true" being echoed out at the end, i.e: "echo true;" (setting to this 'false' removes the '1'). I've commented out the print_r, i.e. "//print_r($relreffedjsonstr);" and the dialogue box now shows "This project does not contain any pages." See attached pic, results of chrome console when enabling/disabling the print_r. Thanks, Naveed ---------------------------------------- From Pat: The 1 is the "true" I assume being echoed out at the end? Or is that still commented out? Try commenting out the print_r? On 15 April 2016 at 08:47, Naveed Hashmi > wrote: When clicking 'play', the error box displays, but the response now shows the following :- {"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":"

bullets

\n"}}}1 The '1' at the end looks out of place? Thanks, Naveed On 14 April 2016 at 16:45, Pat L (pgogy) > wrote: Sorry By console i mean the chrome dev console on the network tab -------- Original message -------- From: Naveed Hashmi > Date: 14/04/2016 16:30 (GMT+00:00) To: "Pat L (pgogy)" > Cc: Xerte discussion list > Subject: Re: Error message when playing/publishing content of type Text 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) > wrote: Do you see anything in console? -------- Original message -------- From: Naveed Hashmi > Date: 14/04/2016 16:14 (GMT+00:00) To: Xerte discussion list > Cc: "Pat Lockley (Pgogy)" > 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) > 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 This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at pgogywebstuff.com Thu Apr 21 11:31:40 2016 From: info at pgogywebstuff.com (Pat Lockley (Pgogy)) Date: Thu, 21 Apr 2016 06:31:40 -0400 Subject: [Xerte] Re: covert LO from Xerte template to Bootstrap template? In-Reply-To: <5C33B277BFD6E9458C6D394195F98CF60478835D@UiWexMBX07.ad.nottingham.ac.uk> References: <5C33B277BFD6E9458C6D394195F98CF60478835D@UiWexMBX07.ad.nottingham.ac.uk> Message-ID: <08e39fcf31a96c0e000841d8ead1a4a2@pgogywebstuff.com> different page types? On 2016-04-21 06:22, Julian Tenney wrote: > There?s no automagic way, no, sorry. > > You can embed one in the other , but I don?t think that?s what you > mean > > FROM: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] ON BEHALF OF Oliver > Haslam > SENT: 21 April 2016 11:17 > TO: Xerte discussion list > SUBJECT: [Xerte] covert LO from Xerte template to Bootstrap template? > > Hi > > Is there a straightforward way to convert an existing LO made with the > ?Xerte Online Toolkits? template into an LO based on the > ?Bootstrap Template?? > > Or would I need to start again and remake it? > > Thanks > > Oli > > _____________________________ > > Oliver Haslam MA, PGCert ODE (Open) > > Learning Technologist > > UWE Associate Teaching & Learning Fellow > Learning Innovation Unit [1] > > Faculty of Environment & Technology > > University of the West of England > > 0117 32 88215 > > _____________________________ > > FROM: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] ON BEHALF OF Naveed > Hashmi > SENT: 18 April 2016 12:18 > TO: Tom Reijnders > CC: Xerte discussion list > SUBJECT: [Xerte] Re: Error message when playing/publishing content of > type Text > > Hi Tom, > > Many thanks for your (and Pat's) help with this. > > For the list: our apache ssl_error_log showed the following error > whenever playing the problem LO's .. > > Call to undefined function dom_import_simplexml() in > /var/www/html/editor/upload.php on line 105 > > We run our xerte install on CentOS which does not include the > extension php-xml by default (i.e. the minimum PHP package), by > executing 'yum install php-xml'. we resolved the problem :) > > I suggest the v3 documentation mentions the requirement for php-xml or > the installer code be updated to check for this and prompts if > missing. > > Naveed > > On 15 April 2016 at 11:46, Tom Reijnders wrote: > > Can you please place this version of upload.php in the editor folder. > It's the development version with debugging statements added. > > Then, please make sure $development is set to true, and after trying > to saving data, look at what is in the debug.log file, and report back > please. > > Tom > > Op 15-4-2016 om 12:20 schreef Naveed Hashmi: > >> Hi Pat, >> >> Do you mean /editor/upload.php? >> >> See attached, this is how the upload.php looks at the moment. >> >> Thanks for your help, >> >> Naveed >> >> --------------- >> >> From Pat ... >> >> How much of your editor.php is commented out, as make_refs_local >> seems >> >> to be returning something which looks ok to me >> >> (I am running out of ideas, sorry) >> >> On 15 April 2016 at 10:23, Naveed Hashmi >> wrote: >> >> This is correct, the 1 is the "true" being echoed out at the end, >> i.e: "echo true;" (setting to this 'false' removes the '1'). >> >> I've commented out the print_r, i.e. "//print_r($relreffedjsonstr);" >> and the dialogue box now shows "This project does not contain any >> pages." >> >> See attached pic, results of chrome console when enabling/disabling >> the print_r. >> >> Thanks, >> >> Naveed >> >> ---------------------------------------- >> >> From Pat: >> >> The 1 is the "true" I assume being echoed out at the end? >> >> Or is that still commented out? >> >> Try commenting out the print_r? >> >> On 15 April 2016 at 08:47, Naveed Hashmi >> wrote: >> >> When clicking 'play', the error box displays, but the response now >> shows the following :- >> >> > {"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":"

> style=\"font-family: 'Open Sans', sans-serif; background-color: >> rgb(255, 255, 255);\">bullets

\n"}}}1 >> >> The '1' at the end looks out of place? >> >> Thanks, >> >> Naveed >> >> On 14 April 2016 at 16:45, Pat L (pgogy) >> wrote: >> >> Sorry >> >> By console i mean the chrome dev console on the network tab >> >> -------- Original message -------- >> From: Naveed Hashmi >> Date: 14/04/2016 16:30 (GMT+00:00) >> To: "Pat L (pgogy)" >> >> Cc: Xerte discussion list >> Subject: Re: Error message when playing/publishing content of type >> Text >> >> 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) >> wrote: >> >> Do you see anything in console? >> >> -------- Original message -------- >> From: Naveed Hashmi >> Date: 14/04/2016 16:14 (GMT+00:00) >> To: Xerte discussion list >> Cc: "Pat Lockley (Pgogy)" >> 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) >> 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 >> >> This message and any attachment are intended solely for the >> addressee >> >> and may contain confidential information. If you have received this >> >> message in error, please send it back to me, and immediately delete >> it. >> >> Please do not use, copy or disclose the information contained in >> this >> >> message or in any attachment. Any views or opinions expressed by >> the >> >> author of this email do not necessarily reflect the views of the >> >> University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> >> attachment may still contain software viruses which could damage >> your >> >> computer system, you are advised to perform your own checks. Email >> >> communications with the University of Nottingham may be monitored as >> >> permitted by UK legislation. >> >> _______________________________________________ >> >> Xerte mailing list >> >> Xerte at lists.nottingham.ac.uk >> >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee > > and may contain confidential information. If you have received this > > message in error, please send it back to me, and immediately delete > it. > > Please do not use, copy or disclose the information contained in this > > message or in any attachment. Any views or opinions expressed by the > > author of this email do not necessarily reflect the views of the > > University of Nottingham. > > This message has been checked for viruses but the contents of an > > attachment may still contain software viruses which could damage your > > computer system, you are advised to perform your own checks. Email > > communications with the University of Nottingham may be monitored as > > permitted by UK legislation. > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete > it. > > Please do not use, copy or disclose the information contained in this > message or in any attachment. Any views or opinions expressed by the > author of this email do not necessarily reflect the views of the > University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system, you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > > > Links: > ------ > [1] https://share.uwe.ac.uk/sites/fet/liu/Pages/Home.aspx > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte -- Pgogy Webstuff pgogywebstuff.com From Oliver.Haslam at uwe.ac.uk Thu Apr 21 11:32:38 2016 From: Oliver.Haslam at uwe.ac.uk (Oliver Haslam) Date: Thu, 21 Apr 2016 10:32:38 +0000 Subject: [Xerte] Re: covert LO from Xerte template to Bootstrap template? In-Reply-To: <5C33B277BFD6E9458C6D394195F98CF60478835D@UiWexMBX07.ad.nottingham.ac.uk> References: <5C33B277BFD6E9458C6D394195F98CF60478835D@UiWexMBX07.ad.nottingham.ac.uk> Message-ID: Thanks, Julian. That?s useful to know. I?ll advise folk to think carefully about which template they want before starting. Cheers _____________________________ Oliver Haslam MA, PGCert ODE (Open) Learning Technologist UWE Associate Teaching & Learning Fellow Learning Innovation Unit Faculty of Environment & Technology University of the West of England 0117 32 88215 _____________________________ From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 April 2016 11:23 To: Xerte discussion list Subject: [Xerte] Re: covert LO from Xerte template to Bootstrap template? There?s no automagic way, no, sorry. You can embed one in the other , but I don?t think that?s what you mean From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Oliver Haslam Sent: 21 April 2016 11:17 To: Xerte discussion list Subject: [Xerte] covert LO from Xerte template to Bootstrap template? Hi Is there a straightforward way to convert an existing LO made with the ?Xerte Online Toolkits? template into an LO based on the ?Bootstrap Template?? Or would I need to start again and remake it? Thanks Oli _____________________________ Oliver Haslam MA, PGCert ODE (Open) Learning Technologist UWE Associate Teaching & Learning Fellow Learning Innovation Unit Faculty of Environment & Technology University of the West of England 0117 32 88215 _____________________________ From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Naveed Hashmi Sent: 18 April 2016 12:18 To: Tom Reijnders Cc: Xerte discussion list Subject: [Xerte] Re: Error message when playing/publishing content of type Text Hi Tom, Many thanks for your (and Pat's) help with this. For the list: our apache ssl_error_log showed the following error whenever playing the problem LO's .. Call to undefined function dom_import_simplexml() in /var/www/html/editor/upload.php on line 105 We run our xerte install on CentOS which does not include the extension php-xml by default (i.e. the minimum PHP package), by executing 'yum install php-xml'. we resolved the problem :) I suggest the v3 documentation mentions the requirement for php-xml or the installer code be updated to check for this and prompts if missing. Naveed On 15 April 2016 at 11:46, Tom Reijnders > wrote: Can you please place this version of upload.php in the editor folder. It's the development version with debugging statements added. Then, please make sure $development is set to true, and after trying to saving data, look at what is in the debug.log file, and report back please. Tom Op 15-4-2016 om 12:20 schreef Naveed Hashmi: Hi Pat, Do you mean /editor/upload.php? See attached, this is how the upload.php looks at the moment. Thanks for your help, Naveed --------------- From Pat ... How much of your editor.php is commented out, as make_refs_local seems to be returning something which looks ok to me (I am running out of ideas, sorry) On 15 April 2016 at 10:23, Naveed Hashmi > wrote: This is correct, the 1 is the "true" being echoed out at the end, i.e: "echo true;" (setting to this 'false' removes the '1'). I've commented out the print_r, i.e. "//print_r($relreffedjsonstr);" and the dialogue box now shows "This project does not contain any pages." See attached pic, results of chrome console when enabling/disabling the print_r. Thanks, Naveed ---------------------------------------- From Pat: The 1 is the "true" I assume being echoed out at the end? Or is that still commented out? Try commenting out the print_r? On 15 April 2016 at 08:47, Naveed Hashmi > wrote: When clicking 'play', the error box displays, but the response now shows the following :- {"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":"

bullets

\n"}}}1 The '1' at the end looks out of place? Thanks, Naveed On 14 April 2016 at 16:45, Pat L (pgogy) > wrote: Sorry By console i mean the chrome dev console on the network tab -------- Original message -------- From: Naveed Hashmi > Date: 14/04/2016 16:30 (GMT+00:00) To: "Pat L (pgogy)" > Cc: Xerte discussion list > Subject: Re: Error message when playing/publishing content of type Text 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) > wrote: Do you see anything in console? -------- Original message -------- From: Naveed Hashmi > Date: 14/04/2016 16:14 (GMT+00:00) To: Xerte discussion list > Cc: "Pat Lockley (Pgogy)" > 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) > 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 This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Wed Apr 27 16:58:51 2016 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Wed, 27 Apr 2016 15:58:51 +0000 Subject: [Xerte] Change LO with URL parameters Message-ID: Someone asked at the developer day (Inge?) about the different parameters that can be added to Xerte URLs to change how the LO displays. Here's a list of the current ones: Change display mode set in editor: display=fixed/default/full/fill or specify the dimensions in pixels (width,height) e.g. display=600,600 For example: http://www.nottingham.ac.uk/toolkits/play_8203?display=600,600 Hide the header/footer bars: hide=top,bottom,both,none For example: http://www.nottingham.ac.uk/toolkits/play_8203?hide=top Change the interface used (not particularly useful now but was useful in past for testing how an old project would look if changed to HTML interface) engine=flash,html For example: http://www.nottingham.ac.uk/toolkits/play_8203&engine=flash Use more than one parameter at a time by using this format: http://www.nottingham.ac.uk/toolkits/play_8203?display=600,600&hide=top Fay -------------- next part -------------- An HTML attachment was scrubbed... URL: