Main > Help Me

Problems with tournamentstatus.html

(1/2) > >>

Hi, I've tried to setup the status updates to send to a HTML page on my site.

I copied all the files from the examples folder to the /status folder on my ftp server. I can even see text, but there is no info about the tournament.

As you can see, the upload is successful, but there is no data in the HTML.

The link is

Can someone please give me some feedback to why it does not work?

Thanks :)

After adding the tdstatus.txt to the /status folder, I get more info than before, but itīs not relevant, so what am I doing wrong?

I ran into this as well... I changed from JSON to Formula Variables, and then everything worked.

Corey Cooper:
Most likely the server-side script (statusListener-XXX.yyy, whichever you chose) is not permitted to write to the status file.  You'll have to either give the appropriate permissions to allow that to happen, or modify the statusListener and the TournamentStatus.js files to read/write the tdstatus.txt file in a different location, where permissions are more open.

For example, your server may have a /tmp folder where scripts are free to read/write.  You can modify the statusListener to write the file there.  You might be able to modify TournamentStatus.js to read it from there, but the server will probably not be configured to allow that.  In that case you might have to write another .php or .asp script that simply reads the tdstatus.txt file from the /tmp folder and returns it, like this:

--- Code: ---<?php
// Read the tdstatus.txt file and output it.

--- End code ---

You could save this script with a name like "reader.php", then change TournamentStatus.js like this:

--- Code: ---TDStatus = {
  // variables that control various features of the page
  // URL to the tdstatus.txt file
  URLStatus: "reader.php",

--- End code ---

Now statusListener writes to the /tmp folder, where permissions are open.  TournamentStatus.js no longer tries to read the file directly, because client browsers can't load files from /tmp, but instead goes to reader.php, which outputs the file back to the browser.

Ok, thanks guys, will try this after the main event today :)

BTW, is there anyway I can make sure that the setting below is always off?

"Show system print dialog"

I do not want to have this enabled, everytime I start the application I have to uncheck it.

Thanks againg for superb help :)


[0] Message Index

[#] Next page

Go to full version