[Xerte] Re: re HTML5 Export - Chrome issue?
Tom Reijnders
reijnders at tor.nl
Tue Apr 30 18:19:28 BST 2013
No, no webserever, so no localhost...
Op 30-4-2013 18:48, Pat @ Pgogy schreef:
> Is it not a localhost thing?
>
> On 30 Apr 2013, at 16:50, Tom Reijnders <reijnders at tor.nl> wrote:
>
>> The error suggests that you're trying to open the index.htm from disk. Like, by double-clicking the index.htm file. That's not working for me either in Chrome. Chrome refuses to load the template.xml, because of that.
>>
>> Search google for 'Origin null is not allowed by Access-Control-Allow-Origin' and you see, you're not the only one.
>>
>> You still can run the code locally in Chrome by providing a simple webserver like TinyWeb (http://www.ritlabs.com/en/products/tinyweb/)
>>
>> Tom
>>
>>
>> Op 30-4-2013 15:37, Roach, David 1 schreef:
>>> Hi Pat,
>>>
>>> No, I downloaded the deployment .zip and then unzipped inside the downloads folder which is inside my user area. I've checked permissions and I have full access to the folder documents.
>>> ________________________________________
>>> From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] on behalf of Pat @ Pgogy [xerte at pgogywebstuff.com]
>>> Sent: 30 April 2013 14:14
>>> To: Xerte discussion list
>>> Subject: [Xerte] Re: re HTML5 Export - Chrome issue?
>>>
>>> Are you opening it from inside a zip?
>>>
>>> On 30 Apr 2013, at 13:42, "Roach, David 1" <david.roach1 at ntu.ac.uk> wrote:
>>>
>>>> Hi Pat,
>>>>
>>>> I find the following in the Chrome console:
>>>>
>>>> XMLHttpRequest cannot load file:///C:/~/Downloads/html5project/template.xml. Origin null is not allowed by Access-Control-Allow-Origin. index.htm:1
>>>> 2 - Uncaught ReferenceError: windowResized is not defined index.htm:61
>>>> 24 - Uncaught ReferenceError: windowResized is not defined index.htm:61
>>>> onresize index.htm:61
>>>>
>>>> I hope this is useful - I'm sorry I'm not skilled enough to be able to offer any input.
>>>> Best wishes and many thanks for your help,
>>>>
>>>> David
>>>> ________________________________________
>>>> From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] on behalf of Pat @ Pgogy [xerte at pgogywebstuff.com]
>>>> Sent: 30 April 2013 10:23
>>>> To: Xerte discussion list
>>>> Subject: [Xerte] Re: re HTML5 Export - Chrome issue?
>>>>
>>>> Press f12 which will show a console
>>>>
>>>> Click on scripts
>>>>
>>>> Do you see any errors?
>>>>
>>>> On 30 Apr 2013, at 10:14, "Roach, David 1" <david.roach1 at ntu.ac.uk> wrote:
>>>>
>>>>> Thanks to Tom and others who helped with my previous query regarding the running of HTML5 exports.
>>>>>
>>>>> I am still facing the same issue with 'The project data has not loaded' error message when I run the index file of exported HTML5 LO. I couldn't understand why it wasn't working but this morning I've tried Firefox and IE - the LO runs fine. The issue seems to be with my default Google Chrome browser. It is set to allow sites to run Java. Could anyone offer any advice?
>>>>>
>>>>> Many thanks,
>>>>>
>>>>> David
>>>>> DISCLAIMER: This email is intended solely for the addressee. It may contain private and confidential information. If you are not the intended addressee, please take no action based on it nor show a copy to anyone. In this case, please reply to this email to highlight the error. Opinions and information in this email that do not relate to the official business of Nottingham Trent University shall be understood as neither given nor endorsed by the University. Nottingham Trent University has taken steps to ensure that this email and any attachments are virus-free, but we do advise that the recipient should check that the email and its attachments are actually virus free. This is in keeping with good computing practice.
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>> 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.
>>>> DISCLAIMER: This email is intended solely for the addressee. It may contain private and confidential information. If you are not the intended addressee, please take no action based on it nor show a copy to anyone. In this case, please reply to this email to highlight the error. Opinions and information in this email that do not relate to the official business of Nottingham Trent University shall be understood as neither given nor endorsed by the University. Nottingham Trent University has taken steps to ensure that this email and any attachments are virus-free, but we do advise that the recipient should check that the email and its attachments are actually virus free. This is in keeping with good computing practice.
>>>>
>>>> _______________________________________________
>>>> 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
>>> 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.
>>> DISCLAIMER: This email is intended solely for the addressee. It may contain private and confidential information. If you are not the intended addressee, please take no action based on it nor show a copy to anyone. In this case, please reply to this email to highlight the error. Opinions and information in this email that do not relate to the official business of Nottingham Trent University shall be understood as neither given nor endorsed by the University. Nottingham Trent University has taken steps to ensure that this email and any attachments are virus-free, but we do advise that the recipient should check that the email and its attachments are actually virus free. This is in keeping with good computing practice.
>>>
>>> _______________________________________________
>>> 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.
>> --
>> --
>>
>> Tom Reijnders
>> TOR Informatica
>> Chopinlaan 27
>> 5242HM Rosmalen
>> Tel: 073 5226191
>> Fax: 073 5226196
>>
>>
>> _______________________________________________
>> 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
> 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
More information about the Xerte
mailing list