[Xerte-dev] Re: 2 odd issues user-files contents and export - Tom?
Tom Reijnders
reijnders at tor.nl
Mon Oct 1 14:34:09 BST 2012
Yes, it is a simplexml load error. It can't handle the '&' signs in the
urls. I am busy fixing this in the wizard, but it's not ready yet.
Tom
Op 1-10-2012 15:29, Ron Mitchell schreef:
>
> Thanks Tom
>
> I've sent you the long list of errors offlist - seems like it might be
> a simplexml_load issue?
>
> Cheers
>
> Ron
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom
> Reijnders
> *Sent:* 01 October 2012 14:08
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and export
> - Tom?
>
> Yes, export will copy data.xml to template.xml and after finishing
> with the export, the file should be deleted.
>
> This indicates that php crashes somewhere during export.
>
> I'll see if I can see something in the code. A while back I added some
> _debug statements to export.php, can you afford to switch on developer
> mode in config.php? There should be a debug.log file in folder /tmp
> that might give us a clue of what is going on. But be carefull, full
> php error reporting will be switched on. Don't do it in a production
> installation!
>
> Tom
>
> Op 1-10-2012 14:32, Ron Mitchell schreef:
>
> Just a quick update - it's upon attempting to export that
> template.xml is getting written back to the user-files folder for
> this project - any ideas how/why?
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
> *Ron Mitchell
> *Sent:* 01 October 2012 13:15
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and
> export - Tom?
>
> Thanks for the responses Julian/Tom
>
> 1. Not sure why this has happened in a few places but not a major
> problem if it's not happening all the time.
>
> 2. a. nothing relevant in the error logs so I guess it's not
> escaping causing the problem
>
> b. Full archive doesn't work for this project either - just a
> blank window when trying to export this particular project
>
> Curiously despite deleting it template.xml keeps getting written
> back to the project folder in use-files so there's data.xml,
> preview.xml and template.xml can't see why or where that is
> happening but wonder if it's linked to the problem?
>
> Cheers
>
> Ron
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
> *Tom Reijnders
> *Sent:* 01 October 2012 09:36
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and
> export - Tom?
>
> 1. The only instance where I expect models etc in the user-files,
> is when importing a learning object that does not have a
> corresponding template in the installation.
>
> 2. You can verify whther escaping is the culprit in two ways
> a. You should see a fatal php error from SimpleXML.load in the log
> files
> b. Full archive export should work (as it doesn't try to read the
> data.xml)
>
> Tom
>
> Op 1-10-2012 10:29, Ron Mitchell schreef:
>
> Hi all
>
> this might be a question for Tom unless others have see either
> of these issues too....
>
> 1. I've notice that some projects in the user-files folder get
> populated with folders and files that shouldn't be there e.g.
> common, languages, models etc. I haven't been able to identify
> exactly what causes this. Anyone seen this and/or got any idea
> re cause/solution?
>
> 2. The example of the page 560 LO we've shared and developed
> on the 1.8 test install won't export - I just get a blank
> window when clicking export but other LO's do export. So I've
> been testing this with a copy and if I replace data.xml and
> preview.xml with xml from a simple LO the project exports. I'm
> wondering if there's a particular page type causing the
> problem or if this is related to the Issue Tom mentioned about
> html escaping e.g. there are lots of < in the xml.
>
> Cheers
>
> Ron
>
> 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-dev mailing list
>
> Xerte-dev at lists.nottingham.ac.uk <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> 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.
>
>
>
> --
>
> --
>
>
>
> Tom Reijnders
>
> TOR Informatica
>
> Chopinlaan 27
>
> 5242HM Rosmalen
>
> Tel: 073 5226191
>
> Fax: 073 5226196
>
>
>
>
>
>
> _______________________________________________
>
> Xerte-dev mailing list
>
> Xerte-dev at lists.nottingham.ac.uk <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> 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.
>
>
>
>
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> 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.
>
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121001/e6eec0e5/attachment-0001.html>
More information about the Xerte-dev
mailing list