The redirect was happening before the code was added.
Thanks for the help. I do wonder if the way my host structures directories plays a role.
My FTP client sees html_public/forecast/
But using the web file manager for the host shows home/wilsonsw/html_public/forecast/ (something like that). But even if I use those in config etc, makes no difference to the behaviour. I do have another web host I may try at the weekend.
Hello,
I have been watching this WxSim comparator script for several days, the truth is that I liked it a lot. I would like to have it on my website.
I am trying to follow the instructions but being Spanish it is a bit difficult for me to follow the instructions in English. I am translating it and I try to understand, but I see that I do not clarify. I have started a couple of times but I do not see any data, only the empty table appears. I think the problem may come from the file testtags.php
Can somebody help me?
In case someone could help me, next I indicate the place where I have the files:
I found that your fc-temps.txt had some bad data in it, almost as if fc-LogTemps.php had never been run. I ran fc-LogTemps.php from here and now it has a high temp in it
30.1,23/08/2018 3:14 pm
and when you run fc-LogTemps.php to get the overnight low, there will be another temp between those two commas. If you’re going to use fc-LogTemps.php to capture the temps, you need to set up a cron to run it twice each day. I tried to explain that in the readme file.
Lets get that all done then we’ll see how things are working.
Right now your fc-temps.txt has this in it which is an incorrect format.
$TheMax = " 0:17"; // time this occurred
$TheMin = " 2:06"; // time this occurred
I don’t know how that would get in there. I think it will be best if you just plan to use testtags.php for the temps and forget about fc-LogTemps.php for now. If you simply delete the fc-temps.txt and fc-LogTemps.php files from your server, the comparison script will use testtags.php temps instead.
from what I gather, I think the files do not locate the file testtags.php
I attached the fc-config file, in case you can check, if I have a bad route … I have attached the fc-config file so that I can review it, (I attach it in txt format because it does not let me attach as .php)
the file testtags. php is observed like this at the moment:
<? php
$maxtempyest = 30.2; // today's maximum temperature
$mintempovernight = 19.2; // today's minimum temperature
?>
The new file has a different job, but it proves that testtags.php is causing us problems. Please take a copy of the testtags.php that is on your server and attach a copy here with the .txt extension.