More questions regarding Server oddities

Tim Selander selander at tkf.att.ne.jp
Fri Dec 25 08:27:49 EST 2015


I'm continuing to work on a .irev web page, with varying success.

On-Rev account, server sage, 
software:/usr/local/cpanel/cgi-sys/ireviam-engine  according to 
the tip Alex gave me earlier.

Brief description of page's function:
1) Load static .csv file from web server into a variable. This is 
a list of radio programs, the data is simply 3 items: Broadcast 
date, Program Title and Host.
2) Get today's date from the server.
3) Using the date, find today's program in variable vlist, show 
the broadcast date, the program Title, the Host.
4) Again using the date, fetch the appropriate mp3 filename from 
our web server and plug it into the audio tag's src.

Extremely simple, no css or formatting of any kind. Just trying 
to get the three items of data on the screen and load the audio 
player with the correct mp3.

Was working great, and I was plugging in test dates...

When suddenly it stopped reading in the csv file. The command is: 
put URL "http://pba.on-rev.com/ynh5list_UTF8.txt" into vlist
Instead of the data, vlist contains the html 404 page not found 
error.

But the file is there.

Copy and paste the url into the browser, and the text loads up. 
The csv file is in the very same directory as the .irev file 
(http://www.pba.on-rev.com/ynh5today.irev). Both are in the root 
of the public_html folder. But the {put URL 
"http://pba.on-rev.com/ynh5list_UTF8.txt" into vlist} command 
returns a 404 error.

Moved the csv file to two other web servers, On-Rev's deisel, and 
a Japanese web host I use.
put URL.... etc. using the Japanese web host also fails. (could 
not connect to server)
put URL.... etc. using deisel DOES WORK.

Thought maybe Safari was acting up, so tried Chrome and Firefox. 
Same problem.

I'm puzzled.
Suddently, "Put URL..." can't find the file, but the browser can.
(For what it's worth, also tried "Get URL...." with same results.
Not related to browser software
Non- on-rev web server fails
Sage on-rev server fails
Deisel on-rev server succeeds (for now?)

Could this be some kind of latency problem? Is some kind of 
'wait' period needed?

Long time HC scripter, not a professional programmer....

Any tips appreciated.

Tim Selander
Tokyo, Japan




More information about the use-livecode mailing list