Web Weather > Custom Website Templates

Php 8.1

(1/7) > >>

JupiterJoe:
Hi, my web host changed my php version to 8.1 last night and my dashboard is blank. I was wondering if anyone else had this issue and what can be done? I have done all the updates.
Thank you!
Www.JupiterWX.com

JupiterJoe:
I reverted the php back to 7.4 for the time being. I’d still love to hear any advice you may have. Thank you. :)

Otis:
I switched to 8.1 and did all the updates and my site has been working fine, just for reference.

saratogaWX:
The older versions of AltAjaxDashboardConfig6.php had two 'naked' constants (which cause a PHP Fatal error in PHP8)

Change
--- Code: ---$month = $today[month];
$day = $today[mday];

--- End code ---
to

--- Code: ---$month = $today["month"];
$day = $today["mday"];

--- End code ---
to fix the issue.

The 4 other scripts in the alternative dashboard also need to be updated from the 6.95h distribution:
cloud-base.php
get-aqi-rss.php
heavens.php
raintodate.php
in addition to ajax-dashboard6.php itself.

JupiterJoe:
Thank you. I always update your scripts, but I overlooked the alt dashboard scripts. Thank you for letting me know, I’ll look into it. :)

Navigation

[0] Message Index

[#] Next page

Go to full version