TETOAYTM - rebol voodoo in Internet Explorer
[1/4] from: jason:cunliffe:verizon at: 2-Sep-2002 21:36
Moral of the story => TETOAYTM
[The war song of LINGO programmers: "Test Early Test Often On All Your Target
Machines"]
So folks, I have been struggling for days unsuccessfully to get rebol file
upload over http working. And even with lots help from Andreas and everyone
[thanks!]... it has not been working. After testing all sort of server side
script issues, today I discovered a problem with my Internet Explorer.
I have been having trouble executing even the simplest rebol cgi test scripts on
a [client+server]system which has been working fine for a while.
Vanilla is running well and that's significant CGI app.
But a simple "hello world" from the browser has been crapping out in the
weirdest ways all day.
Sometimes it runs, sometimes it tries to download the script.
Tried all the permutations I could think of. I am unable to determine a pattern.
Then I tried the machine right next to me [almost identical to this one]
Bingo! none of these problems.. Now I get back to programming :-)
But what !~@#$ is going on?
Somehow it my system/IE has gone into shock. When the browser encounters a .r
script it cannot consistently decide what to do with it. Usually it just pops
open a file download requester.
But Netscape 4.5 is ok, responds normally.
I am running IE 6.0.2600.0000 on Win98se [ahem].
Q1: What has happened?
Q2: How do I fix it?
Q3: have you ever had this happen to you with rebol no windows before?
thanks
./Jason
[2/4] from: brett::codeconscious::com at: 3-Sep-2002 17:03
> Somehow it my system/IE has gone into shock. When the browser encounters a
.r
> script it cannot consistently decide what to do with it. Usually it just
pops
> open a file download requester.
> But Netscape 4.5 is ok, responds normally.
>
> I am running IE 6.0.2600.0000 on Win98se [ahem].
>
> Q1: What has happened?
> Q2: How do I fix it?
> Q3: have you ever had this happen to you with rebol no windows before?
I have no answers just some not-very-experienced ideas which you may have
already tried.
The good thing is you have something (2 somethings) to compare against.
Netscape works on the same machine as the non-working IE?
Compare the machine / browser configurations.
Are all going through proxy or not? Are you sure? :^)
Webserver and clients on the same lan or not? If not is there some sort of
load balancing system in place.
Cache settings.
Expiry (I'm not very experienced in this and I don't pretend to understand
fully)
- webserver
- cgi header eg. print "Pragma: no-cache"
- html meta eg. print {<META HTTP-EQUIV="Pragma" CONTENT="no-cache">}
You didn't load the REBOL plugin on this machine did you? (grabbing at
straws here)
What is the extension for your REBOL CGI script (.R or .CGI, etc)? If it is
.R, is it possible to change it, and if so, what happens if you change it to
.CGI say?
When you do eventually get to the bottom of it - please tell us what
happened. I want to dodge that nasty pothole if I have to venture down the
same road as you. :^)
Simple technology we have today ;^)
Regards,
Brett.
[3/4] from: jason:cunliffe:verizon at: 3-Sep-2002 0:38
Win98se IE6 Rebol/View
So I checked in Windows' file Explorer
menu => View => submenu => File options => registered file types
REBOL .r files are set as Content Type (MIME): text/x-rebol
Clicking "Edit" reveals
'Edit', 'View', 'open' and 'print' settings.
Somehow, the "View" action had been set to "rebol-link.exe"
I changed it back to rebol.exe adn everythign is fine now... phew!
IE, CGI, multipart/form upload - now all OK again :-)
I don't run IOS and do not know how this got there, or how the file types got
reset.
This has really wreaked havoc with my rebol CGI work. :-((
I am glad it is so easily fixed. I aplogize for the misleading noizy bandwidth.
Q: Are there other instances of rebol-link.exe scram,bling systems like this?
thanks
./Jason
[4/4] from: greggirwin:mindspring at: 3-Sep-2002 11:50
Jason, et al
<< Somehow, the "View" action had been set to "rebol-link.exe"
I changed it back to rebol.exe adn everythign is fine now... phew!
IE, CGI, multipart/form upload - now all OK again :-) >>
Please send this information to feedback! The newer releases of View are
called reobl-link.exe, rather than just rebol.exe, and now it appears this
may have an impact. Good find!
--Gregg