Author Topic: Problem getting Wdisplay html 5&7 going after reinstall  (Read 444 times)

0 Members and 1 Guest are viewing this topic.

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 237
    • Vermilion weather
Problem getting Wdisplay html 5&7 going after reinstall
« on: April 20, 2024, 01:57:15 PM »
Had a major crash last week on my weather computer and User Account files got corrupted and couldn't get in and wound up just getting new cpu since old one was pushing 10 years.
Reinstalled Wdisplay and have almost everything back up to speed except creating wx5.html and wx7.html in the Internet File & Creation folder. Go thru the process on both pages but it just won't create the files in my Wdisplay folder and of course won't upload them then to my server. Been a good 15+ years since I set all this up and can't find any notes I might have made of the process back then. The pic shows it's working but it's not.
Thanks for any help.
 [ You are not allowed to view attachments ]
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline hcorrin

  • Contributor
  • ***
  • Posts: 134
    • Ballaugh Weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #1 on: April 21, 2024, 12:13:22 PM »
In #26 you have to setup 4 for 5 and above to create and upload

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 237
    • Vermilion weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #2 on: April 21, 2024, 03:58:08 PM »
In #26 you have to setup 4 for 5 and above to create and upload

Did that but none of them (4-5 or 7) show in the C:/wdisplay/webfiles folder that is designated.
I've gone over step by step the instructions from here ... https://discourse.weather-watch.com/t/customise-internet-and-file-creation-setup/53271 but it just doesn't create the files in the folder.
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline hcorrin

  • Contributor
  • ***
  • Posts: 134
    • Ballaugh Weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #3 on: April 21, 2024, 06:47:52 PM »
I take it you have checked the Wxlocal 4 to 7 are in the webfiles folder as they are needed to create the wx4 to wx7 files
« Last Edit: April 21, 2024, 06:50:19 PM by hcorrin »

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 237
    • Vermilion weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #4 on: April 21, 2024, 11:21:38 PM »
I take it you have checked the Wxlocal 4 to 7 are in the webfiles folder as they are needed to create the wx4 to wx7 files

No they are not. I did a full install with latest version. If someone can give me the wxlocal5 and wxlocal7.html file that I can paste into webfiles folder I'd appreciate it.
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline swright1957

  • Member
  • *
  • Posts: 49
    • Wakefield Way PWS
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #5 on: April 22, 2024, 04:00:33 AM »
I Thought that they are the ones you create yourself for tags that you need, as that's what I have done with mine.
I use wx32 -37 on my site
"anything's possible with the weather"
www.hytheweather.co.uk/signaturebanner.gif

Offline hcorrin

  • Contributor
  • ***
  • Posts: 134
    • Ballaugh Weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #6 on: April 22, 2024, 04:11:59 AM »
Yes that is correct swright1957
I cannot remember if wxlocal is in the full install if you have got that file in the webfiles folder copy it and rename with the number on the end and put the tags in it from the tagslist.txt for your website suggest you download the Wx0-7 from your website folder to help with tags you need
I have to assume you never backed up WD off pc and you cannot manually access the files on the old hard drive
« Last Edit: April 22, 2024, 04:19:19 AM by hcorrin »

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 237
    • Vermilion weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #7 on: April 22, 2024, 08:50:52 AM »
Yes that is correct swright1957
I cannot remember if wxlocal is in the full install if you have got that file in the webfiles folder copy it and rename with the number on the end and put the tags in it from the tagslist.txt for your website suggest you download the Wx0-7 from your website folder to help with tags you need
I have to assume you never backed up WD off pc and you cannot manually access the files on the old hard drive
As I stated above, I did do a full install as my user account on the cpu was corrupted when it crashed and I had no access to my backup or any wdisplay files. That's why if someone has the template for wx5 and 7 I could paste them into my wdisplay/webfiles folder to see if I could "create" them thru the Customise Internet And File Creation Setup. Also noticed my testtags have not updated as well since crash.
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline swright1957

  • Member
  • *
  • Posts: 49
    • Wakefield Way PWS
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #8 on: April 22, 2024, 10:03:34 AM »
So what is your WX5 and 7 then and you must be able to recreate them again using the custom pages and the tags that you require?

"anything's possible with the weather"
www.hytheweather.co.uk/signaturebanner.gif

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 237
    • Vermilion weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #9 on: April 22, 2024, 03:23:41 PM »
Wx7 was part of my Spaceweather page - https://vermilionweather.com/wx7.php
Wx5 ran my Current and Recent stats page  - https://vermilionweather.com/wx5.php
I ftp th to the server as .html then run a cron job to convert to .php file.
« Last Edit: April 22, 2024, 04:03:31 PM by rrrick8 »
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline hcorrin

  • Contributor
  • ***
  • Posts: 134
    • Ballaugh Weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #10 on: April 22, 2024, 05:32:53 PM »
using view source in edge browser i got the info of you html files wx,wx2,wx3,wx4,wx5,wx6 and wx7 copied into notepad++ and saved then copied 5-7 and renamed the copies as wxlocal5.html, wxlocal6.html and wxlocal7.html have put the right tags in wxlocal7 have attached a zip with all wx plus 3 wxlocal  and testtags.txt which your missing you will need to find the the right tags for the values currently in wxlocal5
hope this is of some use
« Last Edit: April 22, 2024, 05:57:03 PM by hcorrin »

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 237
    • Vermilion weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #11 on: April 22, 2024, 06:03:22 PM »
Thanks a bunch. Will unzip and see what I can do this evening.
Just got out of dentist office.  The visit there has been easier than fixing this computer crash outfall.  ](*,)
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 237
    • Vermilion weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #12 on: Yesterday at 10:52:48 AM »
Well, making some progress. Snag now is testtags are not being fully converted on my wx5.html page.
I'm uploading testtags.php just fine but my converted wxlocal5.html file being uploaded is only converting the top 2 lines of the testtags. The Date & Time and current conditions. All others are not being converted prior to being uploaded to server.
Here is what is happening on the page and my code for the wxlocal5.html
Appreciate any help. My wx7.html page is working fine now and converted everything that was designated.

 [ You are not allowed to view attachments ]

Code: [Select]
<center> <h3><u>-Current / Recent Stats as of %date% %time%-</u></h3> </center>
       
      <table width="99%" cellpadding="0" cellspacing="0">

<tr class="table-top">
<td>TIME</td>
<td>TEMP</td>
<td>WIND SPD</td>
<td>WIND GUST</td>
<td>WIND DIR</td>
<td>HUMIDITY</td>
<td>PRESSURE</td>
<td>RAIN</td>
</tr>

<tr class="column-light">
<td>Current</td>
<td>%temp% &deg;F</td>
<td>%avgspd%</td>
<td>%gstspd%</td>
<td>%dirlabel%</td>
<td>%hum%</td>
<td>%baro%</td>
<td>%dayrn%</td>
</tr>

<tr class="column-dark">
<td>5 minutes ago</td>
<td>%temp5minuteago% &deg;F</td>
<td>%wind5minuteago%</td>
<td>%gust5minuteago%</td>
<td>%dir5minuteago%</td>
<td>%hum5minuteago%</td>
<td>%baro5minuteago%</td>
<td>%rain5minuteago%</td>
</tr>

<tr class="column-light">
<td>10 minutes ago</td>
<td>%temp10minuteago% &deg;F</td>
<td>%wind10minuteago%</td>
<td>%gust10minuteago%</td>
<td>%dir10minuteago%</td>
<td>%hum10minuteago%</td>
<td>%baro10minuteago%</td>
<td>%rain10minuteago%</td>
</tr>

<tr class="column-dark">
<td>15 minutes ago</td>
<td>%temp15minuteago% &deg;F</td>
<td>%wind15minuteago%</td>
<td>%gust15minuteago%</td>
<td>%dir15minuteago%</td>
<td>%hum15minuteago%</td>
<td>%baro15minuteago%</td>
<td>%rain15minuteago%</td>
</tr>

<tr class="column-light">
<td>20 minutes ago</td>
<td>%temp20minuteago% &deg;F</td>
<td>%wind20minuteago%</td>
<td>%gust20minuteago%</td>
<td>%dir20minuteago%</td>
<td>%hum20minuteago%</td>
<td>%baro20minuteago%</td>
<td>%rain20minuteago%</td>
</tr>

<tr class="column-dark">
<td>30 minutes ago</td>
<td>%temp30minuteago% &deg;F</td>
<td>%wind30minuteago%</td>
<td>%gust30minuteago%</td>
<td>%dir30minuteago%</td>
<td>%hum30minuteago%</td>
<td>%baro30minuteago%</td>
<td>%rain30minuteago%</td>
</tr>
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline hcorrin

  • Contributor
  • ***
  • Posts: 134
    • Ballaugh Weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #13 on: Yesterday at 11:59:53 AM »
The wx5.html on you website https://vermilionweather.com/wx5.html suggests the file is not being uploaded what is happening with the wx5.html in you WD webfiles folder
I will test those tags on my test file and see what happens and let you know but it will be evening my time after I have sorted my father tea need my laptop to do it

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 237
    • Vermilion weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #14 on: Yesterday at 01:18:02 PM »
Yes the wx5.html file is updating in both my webfiles folder on CPU and on the server. I can tell that also by the time and current data updating every 5 minutes on the webpage. Also, I convert the wx5.html file to wx5.php via cron job and that is the webpage. https://vermilionweather.com/wx5.php
« Last Edit: Yesterday at 01:22:06 PM by rrrick8 »
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline hcorrin

  • Contributor
  • ***
  • Posts: 134
    • Ballaugh Weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #15 on: Yesterday at 06:07:49 PM »
spent ages trying to get this to work but still loosing, I suspect it the way the wxlocal5.html is formatted the tags do work as they are found in the testtags.txt that creates the testtags.php

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 237
    • Vermilion weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #16 on: Yesterday at 06:30:09 PM »
spent ages trying to get this to work but still loosing, I suspect it the way the wxlocal5.html is formatted the tags do work as they are found in the testtags.txt that creates the testtags.php

Welcome to my world. Been working on this for 3 weeks now and just confounded as to the fix.
Thank you for your efforts.
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 237
    • Vermilion weather
Re: Problem getting Wdisplay html 5&7 going after reinstall
« Reply #17 on: Yesterday at 10:58:38 PM »
Got it!
Was using the wrong tags in the Current row. Was using tags from Current section of testtags i.e. %temp% when I should have been using tags from the trends section of testtags like %temp0minuteago%.

Still got to change a few tags in the section below that but I now see a light shining brightly at the end of the tunnel of this recovery..
https://vermilionweather.com/wx5.php
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5