|
|
Customers GenoPro version: 2.5.3.9
Last Login: Sunday, July 25, 2021
Posts: 34,
Visits: 275
|
I'm trying to load my web report in to the latest version of Safari under Windows 10 (preparatory to loading it on to a MacBook using Safari). I'm using the latest Report Skin.
Safari starts to load - detail & heading frames seem to load ok - but then just sits there flashing trying to load the Index frame (even when I've asked the report to autohide that frame). If I select text coding as Unicode or Western European the Index frame seems to load (although the scroll bar is not active), but the navigation icons disappear in the heading and again Safari just sits there flashing and never completes the load.
Any suggestions?
|
|
|
Customers GenoPro version: 2.5.3.9
Last Login: Sunday, July 25, 2021
Posts: 34,
Visits: 275
|
Just tried to load with Opera and virtually the same happens. It flashes and flashes but doesn't stop unless you manually do so. The web report can then be viewed in part but it exhibits the same problems that I reported some while ago with Chrome - Index frame has no scrolling, trees can't be loaded in a sub-frame etc. It seems that the only browser that now works is Firefox. Surely this can't be right?!
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 1 minute ago
Posts: 3,423,
Visits: 26,470
|
Not sure what is happening without being able to investigate an example. However your post prompted me to take yet another look at the 'same origin' issue when viewing reports locally via the 'file:' protocol/URI scheme.
Turns out there is a simple fix! Just set postMessage 'target origin' to '*'. This could be construed as being insecure for a web-based report but should be absolutely fine for a local report. To implement this drop the attached 'default.htm' (Huh? can't attach file!!) into the 'Narrative Common/Code folder of the GenoPro 2016 skins folder. It will only affect reports run locally.
You can adjust already generated reports or other Narrative Report skins by editing default.htm file replacing line
$.cookie('origin', window.location.href);
with
$.cookie('origin', window.location.protocol == 'file:' ? '*' : window.location.href);
This is generally around line 22 for a generated report and line 29 for a skin.
Interested to know if this also fixes the Safari/Opera loading issue.
---- Sorry this forum is now stripping out line breaks and I can't add attachments!
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Edited: Wednesday, June 15, 2016 by
genome
|
|
|
Customers GenoPro version: 2.5.3.9
Last Login: Sunday, July 25, 2021
Posts: 34,
Visits: 275
|
I've done what you suggested, but now the Index frame is no longer scrollable in Firefox, nor can trees be opened in a sub-frame - just like the problems I reported with Chrome & Opera! Also, icons are not showing correctly. The error message given is "NS_ERROR_FAILURE:".
Safari can't find the file (/C:/................/*) to open! Opera no longer flashes when loading, but exhibits the same problems as Firefox now has - except that the icons display ok.
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 1 minute ago
Posts: 3,423,
Visits: 26,470
|
I am more than a bit puzzled as to why this change should produce such an effect. All it does is to allow inter frame communication using the 'postMessage' api when run in browser using the file protocol, i.e. allowing it to run in the same way as from a web server.
Have you tried running the report via a web server? e.g. from familytrees.genopro.com or locally using Mongoose? If so are the results different?
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Edited: Wednesday, June 15, 2016 by
genome
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 1 minute ago
Posts: 3,423,
Visits: 26,470
|
If you can also report back here on what errors if any are displayed on the browser's 'Developer Tools' console this may help me understand what is going on. With Chrome and maybe Opera it is accessed by pressing F12.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers GenoPro version: 2.5.3.9
Last Login: Sunday, July 25, 2021
Posts: 34,
Visits: 275
|
I've tried sending a detailed reply THREE times, but nothing is getting through! Can I email it to someone??
|
|
|
Customers GenoPro version: 2.5.3.9
Last Login: Sunday, July 25, 2021
Posts: 34,
Visits: 275
|
Here's a cut-down version of what I've been trying to send (I keep getting ServerErrorException messages):
CHROME:
On opening:
Uncaught Security Error
favicon.ico Failed to load resource
On selecting navigation icons:
Uncaught Security Error
On selecting HOME icon:
Uncaught Security Error
favicon.ico ERR_FILE_NOT_FOUND
On selecting HELP icon:
svgcheck.js ERR_FILE_NOT_FOUND
svgcheck.vbs ERR_FILE_NOT_FOUND
On opening a tree SVG (they now load which previously they didn't):
SVG's SMIL animations are deprecated and will be removed. Please use CSS animations or Web animations instead.
OPERA:
On opening:
favicon.ico Failed to load resource
On trying to open a tree SVG:
SVG's SMIL animations are deprecated and will be removed. Please use CSS animations or Web animations instead.
genomap2.svg ERR_FILE_NOT_FOUND
SAFARI:
On opening, frames appear very briefly (if you don't blink!) and then:
Safari can't find the file:
No file exists at the address ..............
MONGOOSE:
Seems to work ok inside CHROME & FIREFOX, although there are error messages, e.g.:
favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found)
svgcheck.js 404 (Not Found)
but inside OPERA there are no scroll bars and inside SAFARI there are only partial tree SVGs with the message:
Error: A negative value for svg attribute "height" is not allowed
Hope this helps!
|