Support for "PWS Dashboard" 2021-lts

Hi,

To put everything back together
I will continue to support the current 2021-lts release for as long as possible probably at least another 2 years.
As long as it doesn’t cost me any too much extra money.

New users:
Visit https://pwsdashboard.com/ for the download link

Donations:
There has never been a mandatory subscription for PWS_Dashboard.
All 32 34 48 donations for PWS_Dashboard are completely voluntary in my opinion.
Every donor who has used an e-mail address at “Paypal” has received a “Thank you” mail.
Make sure you use the “donation” in paypal. Do not choose “order” as I have to refund the amount.

Support:
If you have a problem with the current PWS_Dashboard:

[ul]
[li]Try the debug console first: . . . /pwsWD/PWS_module_test.php[/li]
[li]You may be able to solve the problem yourself with any error messages.[/li][/ul]

If you don’t find a solution:

  • Create a new topic in this forum, the subject has to describe the problem.
  • Always state the URL of the website, also in subsequent posts.
  • Use a screenshot, Use a screenshot, Use a screenshot, Use a screenshot, . . . .

Wim van der Kuil

Updated 2023-02-01 10:00 CEST


Now I hope to be able to post without all those checks every time I change soemthing

That’s an anti-spammer feature and you’ll find it will stop for you very soon

BUMP

  • Download-link for new users should be available again.

  • updated first post

Wim

Hello,

Support by me is limited from Thursday, November 24 to Tuesday, December 6
Very little to no internet,. restricted to a few hours / day. . Have to use an iPad.

Best regards,

Wim

Hello,

I am helping a friend with his website and have problems with installing PWS.
The old script that I used worked fine until PHP 8 so I needed to upgrade to PWS, I started with a clean sheet so nothing should be messed up with old stuff.

I am getting a error with the last step in the testing processes. Scrolling through this topic I installed the debug version of “startHere.php” and the following output is giving.

check 1   : $_SERVER["DOCUMENT_ROOT"]: result =  OK, server = www.luister-post-zutphen.nl

check 2.1 : Your current PHP version is  : 8.0.26

check 2.2 : CURL support: result =  OK

check 3.1 : file_exists: result =  OK

check 3.2 : chdir: result =  OK

check 3.3 : file_put_contents: result =  OK

check 3.4 : chmod: result =  OK

check 3.5 : unlink: result =  OK

check 4   : json support: result = OK

check 5   : load file from test site : result = ERRORload file from test site  failed, invalid data FATAL
 data retieved:  
Array
(
    [url] => https://pwsdashboard.com/startHere.txt
    [content_type] => text/plain
    [http_code] => 200
    [header_size] => 458
    [request_size] => 159
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.098869
    [namelookup_time] => 0.00115
    [connect_time] => 0.018277
    [pretransfer_time] => 0.063896
    [size_upload] => 0
    [size_download] => 20733
    [speed_download] => 211561
    [speed_upload] => 0
    [download_content_length] => -1
    [upload_content_length] => -1
    [starttransfer_time] => 0.097817
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 185.104.29.235
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 10.27.33.23
    [local_port] => 48570
    [http_version] => 3
    [protocol] => 2
    [ssl_verifyresult] => 0
    [scheme] => HTTPS
    [appconnect_time_us] => 63680
    [connect_time_us] => 18277
    [namelookup_time_us] => 1150
    [pretransfer_time_us] => 63896
    [redirect_time_us] => 0
    [starttransfer_time_us] => 97817
    [total_time_us] => 98869
)

I already setup the rest of the site and I notice also that not all modules are loaded. For example the Menu is not working and there is no footer and a few more weird things. I think this is related to the following.

It looks like something is wrong but could not find what the problem is. I hope someone can help me.
Website: Zutphen Home Weather Station (DWL version)

Thanks!

Different problems.
The error in startHere is a DNS error. The scripts can not find the PWS_Dashboard server which contains the updates.

There is an adapted script to solve that problem so that updates can be downloaded.
Download the changed script at http://discourse.weather-watch.com/p/564987
Unzip the download and upload that “PWS_updates” script.
Make sure that you retrieve and apply all updates by running . . n.nl/weerstation/station/PWS_updates.php

The fatal errors
You can test with error-reporting switched on
=> . . . n.nl/weerstation/station/_test.php

This seems to be a problem with PHP 8, which was solved in the current updates.
I attach the latest version of the problem script if you can not use the update procedure because the DNS problem.

Wim


PWS_shared.php.zip (6.92 KB)

Hello Wim,

Thanks for the fast reply.

I have downloaded both files and uploaded them to the server and I did the update.

When I visit the site now it looks like its all fixed!

However now the …/weerstation/station/PWS_updates.php gives the following error Notice: unserialize(): Error at offset 0 of 20733 bytes in …/weerstation/station/PWS_updates.php on line 229 Notice: unserialize(): Error at offset 0 of 20733 bytes in …/weerstation/station/PWS_updates.php on line 229 118Errors retrieving current versions, please come back later
Not sure if this is just because I did refresh that page too fast or not. (I have a cronjob on that page every day at midnight so it can update when needed)

That is a new and nasty error but it should not affect downloading the updates scripts.
Do not use the PWS_updates from that download, use the one you already installed.
If all fails, please sent me a PM or e-mail with the FTP credentials (ftp-server, userID, password)
Then i will try to find what is happening there.

Wim

P.S. I attache the zip you should have got downloaded by the update script.


2022-11-22 (2).zip (68.1 KB)

Looks like its all fixed!

Thank you again for the fast support. :smiley:

The current 2012_lts version is relative stable so too much users forget to check for updates.
But even with a stable release you should check for updates at least 1 / month.

In the new release you will be warned when there are new updates. Similar to the “stalled files” mark in the footer.
I will include this feature also in this version, first step is included in this month update.

Please take some time to update your 2012_lts version, last update is from today, December 14.
That way we are better prepared for the “year-rollover-problems” and the installation of the DarkSky replacement scripts in March.

@VirtualCrossing testers.
Remove the comment mark in line 215 in PWS_load_files.php

bump