By layosh1 - Wednesday, April 24, 2013
|
It still doesn't work - http://familytrees.genopro.com/layosh1/ some pages throws errors, other pages are missing etc.:-(
EDIT:It works in Opera, IE or Firefox but in Chrome it throws this errors:
This page contains the following errors:error on line 10 at column 34: Unescaped '<' not allowed in attributes values But week ago it works...Strange:-/
|
By jcmorin - Thursday, April 25, 2013
|
I think the problem is not with the hosting but Google Chrome browser who report an html error... check this image to understand that meta description cannot have <br> or other html tag.
|
By layosh1 - Thursday, April 25, 2013
|
I wrote HTML tags in genopro file description: Then I generated Narrative report with Czech translation. In default.htm is this line: <meta name="description" content="@[WriteMetaDescriptionReport]@" /> It look like funcion WriteMetaDescriptionReport donť removes possible HTML tags.
|
By jcmorin - Thursday, April 25, 2013
|
Your far from alone, most of the reports are broken on Google Chrome, I'm not sure if it's the browser that got updated (because Chrome get update in silence all the time).
I'm trying to get in contact with Ron for a solution.
|
By genome - Thursday, April 25, 2013
|
I have started to take a look at this issue.
The first issue is that heading.htm is setting the description meta tag to the Document.Description rather than Document.Title for some reason lost in history and is not using the routine WriteMetaDescriptionReport that other pages do. So that is easily fixed but there are other issues in the other frames that I am still looking into.
|
By genome - Thursday, April 25, 2013
|
I have discovered a couple more 'problems' but I do not know why Chrome has suddenly started more strigent validation if the same reports worked before.
There is an error when generating a report using a non English version of Windows/VBScript. in English when a boolean value is converted to String then you get either True or False but if VBScript is localised then the text is that languages version of True / False e.g. Pravda / Lež in Czech So a couple of lines need to change in defauly.htm template var frameBorders = @[Report.Write LCase(Session("FrameBorders"))]@;var iconMenu = @[Report.Write LCase(Session("fUseIconMenu"))]@;need to be var frameBorders = @[Report.Write Util.IfElse(Session("FrameBorders"), "true","false")]@;var iconMenu = @[Report.Write Util.IfElse(Session("fUseIconMenu"), "true","false")]@;Chrome is also flagging up 'Extra content at the end of the document' in the index frame due to the Google analytics code added by the GenoPro server.  I am still trying to discover the reason for an error error on line 18 at column 54: xmlParseEntityRef: no name |
By genome - Thursday, April 25, 2013
|
I think the cause of
error on line 18 at column 54: xmlParseEntityRef: no name
is caused by the embedded javascript having the '&&' operator in it and for some reason Chrome now parses the page as XML and this is invalid. So I need to embed the scripts in CDATA tags to avoid this.
Will publish a revision shortly, but that does not help with all the previously published reports....
|
By jcmorin - Friday, April 26, 2013
|
Ok, I've found the problem, the server didn't returned the proper "content-type" and browser like chrome were correct to report error. It should be fine by now. If you still see error it's because of browser caching. Try again the in the incognito mode (ctrl+shift+N)
|