Page 1 of 1

No automatic lines upload from client

Posted: Sat Nov 20, 2021 12:53 pm
by Savard
The lines upload from the GM client worked fine in older versions (3.2.6), but in 3.3 the GM is not asked whether or not the file should be uploaded. The UploadSTHSClient.php is there and the "Download Lines Files" setting is on in STHS. What could be wrong?

Re: No automatic lines upload from client

Posted: Sat Nov 20, 2021 3:47 pm
by Savard
I replaced the UploadSTHSClient.php file with a current one (from a 3.3.0 output), and now with older clients I get an upload error...

Re: No automatic lines upload from client

Posted: Sun Nov 21, 2021 7:32 am
by Savard
Update: I managed to have 3.3 attempt the upload by switching in the "force upload" option in the sim. I do get an error though when the file is uploaded ("Upload failed"). However when I check the linesupload folder it looks like the upload actually worked fine.

Re: No automatic lines upload from client

Posted: Sun Nov 21, 2021 9:38 pm
by SimonT
In 3.3, the "Force Lines File upload by HTTP after Save" is mandatory for the automatic upload to work.

Re: No automatic lines upload from client

Posted: Mon Nov 22, 2021 3:48 am
by Savard
Ah OK. Still one issue remains: I (and all others, at least those on 3.3) get an error "Upload Failed", while in fact the upload worked well.

Re: No automatic lines upload from client

Posted: Mon Nov 22, 2021 9:58 am
by SimonT
Give me your league URL and I'll check it out.

Re: No automatic lines upload from client

Posted: Mon Nov 22, 2021 10:25 am
by Savard
ultimatehockeyleague.net

Thank you!

Re: No automatic lines upload from client

Posted: Mon Nov 22, 2021 4:51 pm
by SimonT
You are not using the STHS dynamic website. You're on your own. (Source : viewtopic.php?t=14699)

Re: No automatic lines upload from client

Posted: Mon Nov 22, 2021 11:47 pm
by Savard
Fair enough.

In case anyone else has this problem: the client now needs the (updated) Cookie.php and STHSSettting.php files on the website to properly work.