Page 1 of 1

"Undefined" in Menu Titles

PostPosted: Sun Jul 01, 2018 11:07 am
by ChrisDavies
Hi,

The software is brilliant and we are making so great tours, hosting on Amazon s3 and embedding with an iFrame into websites.

But, for some reason that we cannot figure out, the titles in all of our menus are now displaying "Undefined" instead of the title. Can anyone help us to understand our mistake?

https://s3.eu-west-2.amazonaws.com/barr ... index.html

Many thanks

Chris

Re: "Undefined" in Menu Titles

PostPosted: Mon Jul 02, 2018 10:32 am
by bdd
The messages that should be displayed are in the file :
https://s3.eu-west-2.amazonaws.com/barr ... ges_en.xml

This file can't be displayed in the browser. The browser downloads it instead of displaying it.
So I think that the issue comes from a bad setting on your Amazon s3 .

You should see if you are in "static web hosting" mode.
http://www.mattzeunert.com/2012/12/19/h ... on-s3.html

Gérald

Re: "Undefined" in Menu Titles

PostPosted: Tue Jul 03, 2018 4:53 pm
by ChrisDavies
Thanks,

The bucket is set up to be a website and all the files have public access.

Here's the details for this file attached

Re: "Undefined" in Menu Titles

PostPosted: Wed Jul 04, 2018 8:06 am
by bdd
Can you verify the content type of the different XML files of your project ?
https://docs.aws.amazon.com/AmazonS3/la ... adata.html

Gérald

Re: "Undefined" in Menu Titles

PostPosted: Wed Jul 04, 2018 5:09 pm
by ChrisDavies
Hi,

I've just looked and they are all "binary/octet-stream"

Re: "Undefined" in Menu Titles

PostPosted: Wed Jul 04, 2018 6:25 pm
by ChrisDavies
Interesting, when I use developer tools in Chrome and inspect the element, here's the result (attached).

It's like it is already written in the html and not just an Amazon error?

Re: "Undefined" in Menu Titles

PostPosted: Thu Jul 05, 2018 7:38 am
by bdd
ChrisDavies wrote:Hi,

I've just looked and they are all "binary/octet-stream"


You should change them to "text/html" for the XML files.

Gérald

Re: "Undefined" in Menu Titles

PostPosted: Thu Jul 05, 2018 7:41 am
by bdd
ChrisDavies wrote:Interesting, when I use developer tools in Chrome and inspect the element, here's the result (attached).

It's like it is already written in the html and not just an Amazon error?


What you see in the "Elements" tab is not the source of the HTML file, but the elements that are displayed.
Those elements are generated dynamically using the XML files and the Kolor scripts .

Gérald

Re: "Undefined" in Menu Titles

PostPosted: Thu Jul 05, 2018 9:21 pm
by ChrisDavies
These are the only options....

Text/plain
Text/rtf

Re: "Undefined" in Menu Titles

PostPosted: Mon Jul 30, 2018 9:25 am
by benji33
You can add your own metadata with specific MIME type with the Add Metadata entry.

Re: "Undefined" in Menu Titles  [SOLVED]

PostPosted: Mon Jul 30, 2018 1:31 pm
by ChrisDavies
We located the problem to uploading via browser. Not all files were being copied across correctly. We have resolved this issue by using CyberDuck, an application that uses FTP to upload into Amazon S3. We just have to go in afterwards and set all files to public.