Page 1 of 1

Website stopped running! [SOLVED]

Posted: Mon Dec 05, 2022 8:18 am
by Brutha
Hi All,

I've had my website working well for quite some time now, with no issues I've noticed. It's weather.drimsdale.com.

But this morning I checked it and nothing is displayed (i.e. completely blank page). Looking at the database, the last record came in at 9:55 yesterday morning.

I can't seem to track down any reason why this might the case: can anyone suggest where to start troubleshooting this?

Other websites on other sub-domains of the same main domain are running absolutely fine. The folders and files all seem to be there on the site.

Thanks!

Brutha

Re: Website stopped running!

Posted: Wed Dec 07, 2022 9:32 pm
by davidefa
This is the error returned by your home page:

brutha01.png
brutha01.png (30.46 KiB) Viewed 2518 times

You can comment line 28 in the scripts/functions.php file ( just add a // at the beginning of the line )
This line should give no problem in php 7 but returns a fatal error in php 8.
Check if your hosting provider switched to php 8, in this case this fix will not solve all of your issues.
If you can switch back to php 7 you should be ok. If you have to stick to php 8 check this post: http://www.meteotemplate.com/forum/view ... 170#p11828

Re: Website stopped running!

Posted: Thu Dec 08, 2022 8:05 am
by Brutha
Brutha wrote: Mon Dec 05, 2022 8:18 am Check if your hosting provider switched to php 8, in this case this fix will not solve all of your issues.
If you can switch back to php 7 you should be ok.
Bingo! Yes, that was it....

My domain is on PHP 8, but I had previously set the weather subdomain to php 7 instead of inheriting 8 from the main domain.

It seems they removed that exception, maybe some upgrade: putting the exception again fixed it, and we're back up and running now!

Thanks very much indeed for that,

Cheers

Brutha