Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: incrediBILL
Here's the problem: Until the switch to WinXP, I never had a problem viewing my SHTML pages while offline (on my local computer) using IE6; the "include" parts of the page would simply not display but the rest of the page would. Now, IE6 refuses to display the page at all. In Arachnophilia, I receive an error message that IE can't find the file (which Arachnophilia converts into a temporary file while I'm working on it). In SuperEdi, IE will not even open. If I try to open an SHTML file directly from an open IE browser page (locally), the open page simply flickers. And If I try to open an SHTML file from Windows Explorer, an error message says, "Windows cannot find the file." Somewhere in all my fiddling with settings, I managed to get an IE browser page to display an SHTML file--but it displayed the CODE and not the "webpage." I can't remember now how I got IE to do that. No problems viewing SHTML pages once they are uploaded to the web.
Interestingly, my Netscape 7.0 browser can open these SHTML files perfectly while I am offline, displaying them in their entirety except for the "includes." This leads me to believe that this is a combination WinXP/IE6 problem. I have the security settings in WinXP IE6 set as they were under Win98. I've disabled the Windows Firewall just in case that might be a factor. I have associated the SHTML file type with Internet Explorer. I am now at a loss! Anyone have a solution or a suggestion? TIA.
Check the icon when viewing the file with Explorer.
Try right-click¦open with then select IE.
Alternatively, try Explorer¦Tools¦Folder Options¦File Types.
Alternatively, if you're comfortable editing the registry by hand, that should be easy too.
Also, I d/l the new Firefox. It, as well as Netscape 7.0, will launch as Arachnophilia's browser viewer just fine whether I want to view SHTML or HTML; it's just IE that's a problem in Arachnophilia. In SuperEdi, none of the three browsers will open SHTML, but plain old HTML files will open. This was not an issue under Win98 (although I can't say for Firefox), so I'm thinking XP is the bottom-line culprit.
Have browsed some XP forums but not had any luck on this issue.
Am still open to suggestions.
I used to sell a CD of my site: 2000 pages of shtml. Due to sp2, I had to change the whole thing to .html pages again which was a major PITA seeing as my site continues to be .shtml
This, by the way, was the one big thing that pushed me to switch to FF and I've never looked back. I strongly suggest you do the same.
You said you had to switch your site from SHTML to HTML because of SP2. Did your SHTML site display on the web to SP2 users, or was it only the CD that was a problem? If this is really an issue with anyone using SP2, then I should think about either converting the site back to HTML or using another trick I read about somewhere in this forum. Can't remember offhand what it is, but it allows you to use SHTML through another layer (I know I'm not describing this correctly, but some of you will know what I mean).
For my own viewing, I agree that I should simply switch to FF or another browser. It's just that this quirk with IE and XP is driving me buggy AND I'm now concerned about visitors to my site--even though I've received no complaints that people can't see my SHTML pages.
If you search G for "local security shtml sp2" or something similar, you'll find what you want.
When you get the html source as you described, try refreshing it. That seemed to work for me. Not that it's a solution, mind...
This is a problem that I had 2 years back and I think I solved it by fiddling with internet options (such as checking the "allow scripts to run locally" or some such option...I have windows in italian so I don't know what it is in English) but just for so long as I could sort out my site CD...then I ran as fast as my legs could carry me to FF.
If you are developing sites stored on your machine, I would stronly recommend installing a local server. Although IIS is available for Windows XP, I would recommend Apache 2.x instead:
You just add entries in your hosts file and create virtual hosts for each site you are running locally.
(At the time of writing, Apache 2.0.55 is the latest version available as a binary for Windows, although Apache 2.2 has been released.)
For the CD projects, you might want to check out the Server2Go [server2go-web.de] project linked in that thread.
Part of the answer was enabling the IE Internet Option feature, "Allow active content to run in files on My Computer." (How did I miss seeing this option before?) Enabling this allowed my SHTML pages to display in the SuperEdi text editor, but they still wouldn't display in Arachnophilia 5.2. THAT answer lay within the Arachnophilia program itself, in addition to enabling the "active content" feature described above. Arachnophilia has a feature to configure browsers, and I had to DISable an option to "Jump to doc pos (may fail embedded scripts)."
Whew. Now I can get some sleep. Thanks, again, folks.