As I said before, as a result of an update of WXSim, Tony’s scripts stopped working for me.
The tables are not activated
Trying to find the error, I have checked the fields of my tables and the “latest.csv”:
[http://kocher.es/latest.csv](http://kocher.es/latest.csv)
At first glance, everything is correct; the fields in the tables and views match those in the “latest.csv” file.
But, looking at the result of the file “latestwxsimsqlsave.txt”, I have discovered that a column (the last one) has appeared without a header; naturally, it can not be inserted in any table, since they do not have that type of field:
http://kocher.es/wxsimcsvmysql/latestwxsimsqlsave.txt
Average WBGT ??????????????????
deg C
1,5 5,7 2019-01-18_07:00_UTC
1,6 7,2 2019-01-18_08:00_UTC
2 7,1 2019-01-18_09:00_UTC
2,2 7,4 2019-01-18_10:00_UTC
2,5 7,8 2019-01-18_11:00_UTC
If the problem is that, you should try to fix it from the WXSim itself, or from the file “4wxsim_cron_csv_import-to-wxsim-table.php”
For now I have not found the solution