When my provider switched to PHP8 i had to fix a lot of errors but with my limited skills of scripting i still have some issues. So my tide graphic is not appearing…When i call it on my website it appears like here:https://www.akker.be/tides/high_105.jpg. So if there is someone outthere who can give me a few pointers to resolve this you are very welcome! I will include a copy of my AltDashBoard so everyone can take a look at it.
If you have access to the web server (incl PHP) logs then it would be worth looking there to see if you’re getting any unreported errors that might point to what needs to be fixed.
Your running version “e” the latest is “f” so the first job is to get the latest files which are set for php8
While looking at your website I did notice the noaarecords was all error, suggest you do a search on the wxforum for answers to sorting
Actually, 6.95g is out today with additional fixes (like wind update, rain update, PHP 8.2 compatibility). Update the auxiliary scripts at the same time for PHP 8.2 compatibility.
I have updated the AltAjaxDash but still no luck. I have been looking in the forum for a solution to the graphic not displaying and the wxnoaarecords-page too but can’t seem to find a solution. Been looking on stackoverflow for an answer but there are many answers and when i try to change line 82 in wxnoaarecords the page goes blank.
I’m doing a update to 6.95h to fix several problems. Try the attached ajax-dashboard6.php, ajaxWDwx3.js (fixes the tides errata, and all ${variable} instances, rain display and windrose updating)
Your wxnoaarecords-files worked like a charm, thank you for that! =D>
I see your dashboard is showing the tide-graphic, did you add any code to ajax-dashboard6?
Because i have this page https://www.akker.be/wxtides.php and this https://www.akker.be/wxtidegraph.phppage working here…Another strange thing i noticed is when you look at the graphic the arrow points always the same and the tide difference is 17 (!) hours. So i think there is a script somewhere that does not work like it should be because the tables are correct…
Hi Marc
I think you need to point your setting-weather.php line 39 to the correct .js it should have 3 on the end before the.js
In the altdashboardconfig6.php file how have you set it up for the tides in particular lines 62-68 and line 216
Well, i have made some progress, my graphic is showing but it gives an error and is not updating (hence the error). Yoy can see that it is working here https://www.akker.be/wxtidegraph.php The hours and minutes are correct but the hand does not follow…Somewhere a script is doing weird things to it because my tidestable does upload correctly as you can see here: https://www.akker.be/wxtides.php. So i have to investigate a little more…Thanks so far everyone for bearing with me!
Hi Marc
The error on your main web page tells me you need to change line 217 in the altAjaxdashboardconfig6.php from $yearDate = “yes” to $yearDate = “no”
I have changed that setting from NO to YES in my case and it worked. I still need to figure out why it jumps from 14 hours to 5 hours tll next tide, perhaps in ajaxwdwx…