[Xerte] Re: export function failure in XOT, no zip generated

Laurent MATHIEU laurent.mathieu at scassi.com
Wed Aug 22 09:01:11 BST 2012


Hello Paul
Thanks for your help, it's much better that way.

KR,
/L

-----Message d'origine-----
De : xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] De la part de Paul Swanson
Envoyé : mardi 21 août 2012 18:14
À : Xerte discussion list
Objet : [Xerte] Re: export function failure in XOT, no zip generated

The HTML entity for the & character is & or & -- you might try either of those. Sometimes it's just easier to use ' and '.

Paul Swanson
Internal Business Systems Analyst
Internal Business Intelligence
Harland Financial Solutions
(800) 274-7280 Ext. 2462
Paul.Swanson at harlandfs.com

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Laurent MATHIEU
Sent: Tuesday, August 21, 2012 8:59 AM
To: Xerte discussion list
Subject: [Xerte] Re: export function failure in XOT, no zip generated

Hi Pat,

Thanks, this indeed helped in shedding some light on the error. 
I have made a few more tests and it seems that the export function doesn't like the '&' character. If you have such character in your XOT project's content, the export may fails with this kind of error:

Warning: simplexml_load_file(): file:///C:/xampp/htdocs/xertetoolkits/USER-FILES/5-guest2-Nottingham/template.xml:1: parser error : EntityRef: expecting ';' in C:\xampp\htdocs\xertetoolkits\website_code\php\xmlInspector.php on line 26

Warning: simplexml_load_file(): <li> Stratégiques : <i>ERP, R&D, CRM, …</i></li> in C:\xampp\htdocs\xertetoolkits\website_code\php\xmlInspector.php on line 26

Warning: simplexml_load_file(): ^ in C:\xampp\htdocs\xertetoolkits\website_code\php\xmlInspector.php on line 26

Fatal error: Call to a member function xpath() on a non-object in C:\xampp\htdocs\xertetoolkits\website_code\php\xmlInspector.php on line 28


In the above example, I used the term "R&D". Any solution to avoid this symptom when using the character in question?

Much appreciate your help on this.

Thanks and regards,
/L

-----Message d'origine-----
De : xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] De la part de Pat Lockley Envoyé : mardi 21 août 2012 16:02 À : Xerte discussion list Objet : [Xerte] Re: export function failure in XOT, no zip generated

I would suggest editting config.php on your localhost.

Set development to be true

then try again

On Tue, Aug 21, 2012 at 2:59 PM, Laurent MATHIEU <laurent.mathieu at scassi.com> wrote:
> It appears just a second after I select a link from the export tab.
> I made some cosmetic changes in php.ini, just to change two upload size triggers. However I don't know where to look for the export problem.
>
> Thanks,
> /L
>
> -----Message d'origine-----
> De : xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] De la part de Pat 
> Lockley Envoyé : mardi 21 août 2012 15:23 À : Xerte discussion list 
> Objet : [Xerte] Re: export function failure in XOT, no zip generated
>
> it sounds like the php is dying - how long does it take for the blank page to appear?
>
> Are you happy to edit php.ini on the localhost?
>
> On Tue, Aug 21, 2012 at 2:20 PM, Laurent MATHIEU <laurent.mathieu at scassi.com> wrote:
>> Hello,
>>
>>
>>
>> I am having troubles to export two of my projects from XOT 1.8.
>> Although the export perfectly works for the others, those two ones 
>> just cannot be exported at all, whatever the format is (SCORM or not).
>>
>>
>>
>> I have no error messages, the ZIP archive is basically not created by 
>> the export function. I just get a blank page as the outcome from the 
>> generated
>> URL:
>> localhost/xertetoolkits/website_code/php/scorm/export.php?scorm=false
>> &
>> template_id=5
>>
>>
>>
>> I already attempted the following with no better results:
>>
>> -          Restart my system
>>
>> -          Create a duplicate with a different name, then try to download it
>>
>> -          Launch the export with admin rights
>>
>> -          Try from multiple web browsers: IE, Firefox, Chrome, Lynx.
>>
>>
>>
>> Sounds like a bug, isn't it?
>>
>>
>>
>> Has anyone else ever encountered such problem?
>>
>> If so, do you know any fix/workaround for this situation? Maybe there 
>> is a way to manually create the archive.
>>
>>
>>
>> Thanks in advance for your attention in any assistance you might be 
>> able to offer to me.
>>
>>
>>
>> Kind regards,
>>
>> Laurent
>>
>>
>>
>>
>> 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.
>>
>>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte


More information about the Xerte mailing list