Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

My portal will not work properly with Mozilla browsers. Instead of

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » DU Groups » Computers & Internet » Computer Help and Support Group Donate to DU
 
alfredo Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Aug-08-08 05:40 PM
Original message
My portal will not work properly with Mozilla browsers. Instead of
opening, it downloads the file to my desktop.

You have chosen to download portalscript.html which is a HyperText from homepage.mac

It then ask what I want to do with it. If I put it in DU and click it, and the same thing happens.

Here's the URL


http://homepage.mac.com/alfredo_tomato/portalscript.html

It used to be my home page in Mozilla, firefox and others, but now it, and Shiira (webkit) download it to my desktop. Could it be because it is old, non compliant html, or is it the name containing "script"?
Printer Friendly | Permalink |  | Top
DaveJ Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Aug-08-08 08:44 PM
Response to Original message
1. Wierd problem, not sure...
Yeah I see it happening. I doubt it has anything to do with the name of the html file with the word 'script' in it. Do you know if this is happening to other people with mac homepages?

I'd sign up for a trial account and test it, but they ask for a credit card number.

Seems like a bug in either the browser or the development environment.

One possibility is... I noticed in the source for your homepage, it has the tag:
<meta name="portal" content="links" />

Whereas most pages say:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Content is most often text/html and not links.

Is there any way to change the "page type" or anything like that from your Mac Homepage maker???


Printer Friendly | Permalink |  | Top
 
alfredo Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Aug-08-08 11:17 PM
Response to Reply #1
3. My other .mac page works fine.
It's passes W3C, but the one that doesn't verify is the one that is causing me trouble. Both work fine on Safari.

This one should work.
http://homepage.mac.com/alfredo_tomato/Wheatpaste.html
Printer Friendly | Permalink |  | Top
 
charlie Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Aug-08-08 09:42 PM
Response to Original message
2. For whatever reason
your server is sending the incorrect mime type in its response header. Instead of "text/html", the page is served as "application/octet-stream", which a browser will regard as an executable and try to download. You can view what I'm talking about by plugging the page URL into either of these services:

http://www.rexswain.com/httpview.html
http://web-sniffer.net

and checking the value in the "Content-type" field.

I don't know what sort of interface to the server you have at homepage.mac.com or the extent of control it allows you, but I'm pretty sure that's where your trouble lies. You might want to look for an option that let's you designate whether a file you upload is binary or text.
Printer Friendly | Permalink |  | Top
 
alfredo Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Aug-08-08 11:20 PM
Response to Reply #2
4. It needs to be rewritten. The code is about ten years old.
It was all hand coded in HTML 3 or 4. The code won't validate. I have a feeling Firefox is pretty choosy about the code.
Printer Friendly | Permalink |  | Top
 
charlie Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Aug-08-08 11:37 PM
Response to Reply #4
5. It's not the HTML
Any browser will render it without trouble. It's your server. Your server sends an advance message to the browser (the response header) for the portalscript page that says "application incoming", so your browser opts to download instead of rendering. For the wheatpaste page, the server says "here comes text", which is the correct response for HTML.

Try deleting the portal page off the server and reuploading it, while keeping an eye on whatever options the mac.com interface offers. You want to make sure it's planted on the server as text, not a binary.
Printer Friendly | Permalink |  | Top
 
alfredo Donating Member (1000+ posts) Send PM | Profile | Ignore Sat Aug-09-08 12:31 AM
Response to Reply #5
6. That fixed it. Thank you!!!
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Mon May 06th 2024, 02:24 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Computer Help and Support Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC