[Xerte-dev] Re: 2 odd issues user-files contents and export - Tom?
Pat Lockley
patrick.lockley at googlemail.com
Fri Oct 5 11:59:11 BST 2012
Hello,
Would a pre-export test help?
I thought about doing a quick filesize test warning might be useful
for people with PHP memory limits?
On Fri, Oct 5, 2012 at 11:54 AM, Tom Reijnders <reijnders at tor.nl> wrote:
> Ah, ok.
>
> This wizrd fixes it partly. You NEED to change the offending line (but you
> don't know which one...) In this case, it is only one. the url of the google
> maps page.
>
> Please can you try the following to confirm:
> - Open page with the new wizard
> - Add a space after the url
> - remove the space again (thes two actions will trigger the code changes)
> - Save, and try to export.
>
> Thanks!
>
> Tom
> Op 5-10-2012 11:25, Ron Mitchell schreef:
>
> Hi Tom
>
> assuming you mean /modules/xerte/engine/wizard.swf
>
> I replaced that, edited the LO, tried deployment and archive exports and
> same problem as before - blank window.
>
> Turned on developer mode temporarily and have attached the errors as well as
> data.xml
>
>
>
> Possibly worth pointing out that this project started as an export of the
> Notts page 560 LO so began life many years ago!
>
>
>
> HTH
>
> 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: 05 October 2012 10:02
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom?
>
>
>
> Ron,
>
> Can you please try this wizard.swf? You should load the LO in the wizrds and
> save it first, because the work is done in the wizard.
>
> If it is NOT working, could you please send me the data.xml?
>
> Tom
>
> Op 1-10-2012 15:41, Ron Mitchell schreef:
>
> Ok cheers - happy to test if and when you need that.
>
>
>
> 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:34
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom?
>
>
>
> 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] 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] 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
>
> 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
>
>
>
>
>
>
>
> _______________________________________________
>
> 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
>
>
>
>
>
>
> _______________________________________________
>
> 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
>
>
>
>
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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.
>
>
More information about the Xerte-dev
mailing list