GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Author It works great with IE but Firefox continually asks me what to do with the file (download, run etc) whenever the pane with the family tree diagram is opened.
Posted Friday, February 10, 2006 - Post #10195
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.3.9

Last Login: Sunday, April 15, 2012
Posts: 10, Visits: 70
Firstly - congratulations on the beta product and the excellent report generator. I have seen a number of posts relating to the SVG viewer with Firefox and unfortunately I don't seem to have had the same experience as others. It works great with IE but Firefox continually asks me what to do with the file (download, run etc) whenever the pane with the family tree diagram is opened. I'm using firefox 1.5.0.1 the latest version. its supposed ot have the SVG built in but it doesnt seem to work native or with the Adobe addin. Has anyone else had this problem - it's not just one PC either, I have several with the same problem. Any help would be appreciated.

Edited: Thursday, May 22, 2008 by GenoProSupport
Posted Friday, February 10, 2006 - Post #10200
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Translator
GenoPro version: 2.5.4.1

Last Login: Friday, October 10, 2014
Posts: 3,764, Visits: 18,791
Ron is the guru on this issue.  I remember him telling me about all the problems he encountered with SVG for various versions of browsers and operating systems... Since then, I forgot the specific details so I cannot give you a reply myself.



Edited: Friday, February 10, 2006 by GenoProSupport
Posted Friday, February 10, 2006 - Post #10201
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 2.5.4.1

Last Login: 7 hours ago
Posts: 2,054, Visits: 13,461
111774 (2/10/2006)
I have seen a number of posts relating to the SVG viewer with Firefox and unfortunately I don't seem to have had the same experience as others. It works great with IE but Firefox continually asks me what to do with the file (download, run etc) whenever the pane with the family tree diagram is opened. I'm using firefox 1.5.0.1 the latest version. its supposed ot have the SVG built in but it doesnt seem to work native or with the Adobe addin. Has anyone else had this problem - it's not just one PC either, I have several with the same problem. Any help would be appreciated.

Could you check that the Firefox built-in SVG plugin is enabled? To do this type about:config in the Firefox address bar and click the GO button. A list of the Firefox preference settings is displayed. Scroll down to the svg.enabled line and check it is on, i.e. 'true', if not double click the line to toggle it. Also the report must have been generated using GenoPro Beta 15 or above, preferably the latest Beta 15f.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Friday, February 10, 2006 by GenoProSupport
Posted Tuesday, February 14, 2006 - Post #10281
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.3.9

Last Login: Sunday, April 15, 2012
Posts: 10, Visits: 70
Ok - I have checked that Firefox SVG is enabled. This obviously happens by default on install. I have tried all options a) built in SVG (b) Adobe addin (c) both . The outcome seems the same it asks me what I want to do with the file or Firefox hangs. It doesn't seem consistent - I have on one occasion got a map diagram but it would not move or scale. I'm running XP SP2 plus latest patches. This of course may be a Firefox problem rather than Genopro!! I think I will try to find some other SVG application and see how Forefox behaves. I notice that the SVG files have the extension SVGZ - is it possible that Firefox will only deal with SVG extensions? which is why it asks what I want to do with the file?
Posted Tuesday, February 14, 2006 - Post #10283
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 2.5.4.1

Last Login: 7 hours ago
Posts: 2,054, Visits: 13,461
This is puzzling me. When viewing a report from a local disc in Firefox it should open the uncompressed SVG files i.e. .svg not .svgz. The skin template genomap.htm contains the following lines
var agt=navigator.userAgent.toLowerCase();
is_ie=(agt.indexOf("msie")!=-1);
<%[
Report.WriteFormattedLn "var strFileSvg='{}';", strFileSvg

If Report.Parameters("fCompressSvg")="Y" Then
 Report.WriteLn "if (is_ie || document.location.href.indexOf('file://')==-1) strFileSvg = '../genomapsz/' + strFileSvg + 'z';"
End If

that should generate each genomapn.htm file with the lines
var agt=navigator.userAgent.toLowerCase();
is_ie=(agt.indexOf("msie")!=-1);
var strFileSvg='genomapn.svg';
if (is_ie || document.location.href.indexOf('file://')==-1) strFileSvg = '../genomapsz/' + strFileSvg + 'z';
that I think should mean that .svgz is only used for IE or when the URL doesn't contain file://. Could you add the line
alert('agent:'+agt+' href:'+document.location.href);
after
is_ie=(agt.indexOf("msie")!=-1);
in your skin template genomap.htm file and then generate the report, access the SVG and let me know what the alert dialog box contains?



'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Tuesday, February 14, 2006 - Post #10292
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
GenoPro version: 1.99b

Last Login: Saturday, March 25, 2006
Posts: 2, Visits: 15
Hi Ron, my experience has been the same. A locally hosted report displays the svg fine in firefox. However, when it is remotely hosted Firefox tries to save the .svgz file. When I added in

alert('agent:'+agt+' href:'+document.location.href);


I got this alert

agent:mozilla/5.0 (windows; u; windows nt 5.1; en-us; rv:1.8.0.1) gecko/20060111 firefox/1.5.0.1
href:http://lucasreunion.up.md/genomaps/genomap0.htm?x=-2860,y=-150,highlight=true

after which Firefox wishes to save the genomap0.svgz again

Ripp

Edited: Tuesday, February 14, 2006 by GenoProSupport

Posted Tuesday, February 14, 2006 - Post #10298
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 2.5.4.1

Last Login: 7 hours ago
Posts: 2,054, Visits: 13,461
114817 (2/14/2006)
Hi Ron, my experience has been the same. A locally hosted report displays the svg fine in firefox. However, when it is remotely hosted Firefox tries to save the .svgz file.

Ripp

Your problem is that your Apache Web Server is not correctly configured for serving .svgz pages. It is serving them with Content-Type: text/plain and without any Content-Encoding: header. Visit http://wiki.svg.org/index.php?title=Server_Configuration for instrutions on how it should be configured.

Alternatively you can try generating your report with just uncompressed .svg images that will be slower to download. To do this change the skin template file Config.xml parameter fCompressSvg="Y" to fCompressSvg="N" and then generate the report again.

Your Web Server may still need configuring for .svg pages.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Wednesday, February 15, 2006 - Post #10320
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
GenoPro version: 1.99b

Last Login: Saturday, March 25, 2006
Posts: 2, Visits: 15
Yes that helps me, Thanks
Posted Saturday, February 18, 2006 - Post #10343
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.5.3.9

Last Login: Sunday, April 15, 2012
Posts: 10, Visits: 70
Ron, OK - As requested I have entered the code in the skin template genomap.htm generated the report, ftp'd it up to the server and looked at it with Firefox (SVG enabled, Adobe add-in not selected i.e. it is set to use Firefox built in viewer to deal with SVG files.

Ok message box before the change was this - just asking what I should do with the file


Next I made the change and checked to see that it all still worked with Internet Explorer, the alert line I inserted produced this


After clicking OK, the tree diagram loaded fine into IE

Then I tried it with Firefox , this message appeared



On clicking OK then we came back to the "what do you want to do with htis fle" message as expected.

As I don't know enough to interpret the alert message fully I hope this helps.
- Mark
Posted Saturday, February 18, 2006 - Post #10345
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 2.5.4.1

Last Login: 7 hours ago
Posts: 2,054, Visits: 13,461
Looks like your problem is the same as Ripp, that is your web host, hydrogen, does not understand .svgz files and sends the file with incorrect HTTP header information. Adobe's SVG viewer ignores headers and looks at the data instead, whereas Firefox strictly adheres to the information it is given in the HTTP headers, and so doesn't know what to open it with, hence the prompt. If you are unable to reconfigure your server as per recommendations in http://wiki.svg.org/index.php?title=Server_Configuration, then follow my earlier suggestion to generate the report with just uncompressed SVG files. I can't be certain that this the problem without sight of the header information.
If you want to check this then headers can be captured by installing and using a Firefox extension, Live HTTP Headers.
You should remove the alert line from genomap.htm now. I only suggested that because I initially thought you were accessing the report from a local disc and not from a web server.Ermm



'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Saturday, February 18, 2006 by GenoProSupport


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse