Author Topic: Godaddy Successful upgrade to CPANEL but website is now down !  (Read 461 times)

0 Members and 1 Guest are viewing this topic.

Offline DW7240

  • Senior Contributor
  • ****
  • Posts: 222
    • The Vicarage Weather Feed
Hi,

Well at last after many years Godaddy have finally moved my site up to their CPANEL Delux account, a little more money, but the features are plentiful and worth the extra cost - Downside my site is now down and giving me what appears to be 500 server error - only happened once before many years ago - now I'm stuck.

Ken, or anyone, can you look please, when you have the time, possibly to any insight as to what's going on.

I was affraid that it could be a PHP upgrade issue, but that's not the case, Godaddy left that one alone it appears.

Thanks.

Nick. dw7240.com.


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9015
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Godaddy Successful upgrade to CPANEL but website is now down !
« Reply #1 on: June 02, 2021, 01:54:16 PM »
Alas, remote diagnostic of check-fetch-times.php?show=info also fails .. you'll need to look at the error_log via cPanel and see what it says.
You maybe will have to contact GoDaddy tech support to get it going.

BTW.. your wxforum.net email address is bouncing back with a status of "Recipient not found."
« Last Edit: June 02, 2021, 01:55:47 PM by saratogaWX »
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline DW7240

  • Senior Contributor
  • ****
  • Posts: 222
    • The Vicarage Weather Feed
Re: Godaddy Successful upgrade to CPANEL but website is now down !
« Reply #2 on: June 02, 2021, 02:23:32 PM »
Hi Ken,

Thanks so much for that - it seems that the sites address didn't match the updated DNS address, or something like that, according to Godaddy - I have to wait 24-48 hrs for the their systems to catch up, then site will work.

As for email address, I'll check that out.

Thanks again Ken  [tup]

Nick. dw724.com.

Email now updated.
« Last Edit: June 02, 2021, 02:27:16 PM by DW7240 »


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9015
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Godaddy Successful upgrade to CPANEL but website is now down !
« Reply #3 on: June 04, 2021, 12:44:45 PM »
The systems have caught up, but there's PHP issues to get your site operational.

In Settings.php change
Code: [Select]
require ('include-whos-online-header.php');
  $whos_online_records = update_whos_online();
to
Code: [Select]
// require ('include-whos-online-header.php');
// $whos_online_records = update_whos_online();
to avoid loading Whos-online (likely not set up for the cPanel database usage).

Also, in header.php the code
Code: [Select]
require 'cam-history-inc.php';
// $header_insert comes from cam-history-inc.php
// this will include the page title, meta description,
// cam-view javascript and the optional daytime meta refresh
//echo $header_title;       # disabled for this template (don't duplicate)
//echo $header_description; # disabled for this template (don't duplicate)
echo $header_insert;
should be disabled by
Code: [Select]
// require 'cam-history-inc.php';
// $header_insert comes from cam-history-inc.php
// this will include the page title, meta description,
// cam-view javascript and the optional daytime meta refresh
//echo $header_title;       # disabled for this template (don't duplicate)
//echo $header_description; # disabled for this template (don't duplicate)
//echo $header_insert;
and
Code: [Select]
$tuom = split('�',$temperature);  // extract units changed to
Code: [Select]
$tuom = explode('�',$temperature);  // extract units
In menubar.php the
Code: [Select]
<?php require('/home/gmib2hi4341s/public_html/zbblock/zbblock.php'); ?> should be disabled until fixed by
Code: [Select]
<?php // require('/home/gmib2hi4341s/public_html/zbblock/zbblock.php'); ?> and the old
Code: [Select]
include_once('usaextremes.php'); be changed to
Code: [Select]
// include_once('usaextremes.php'); -- the usaextremes.php was deprecated.. replace it with worldextremes.php from https://saratoga-weather.org/scripts-NWSmisc.php#NWSEXTR.

that should get your site operational again.. then you can use check-fetch-times.php?show=versions to see what other scripts need update.

Use the cPanel error_log viewer to see what PHP might be otherwise complaining about.

Hope this helps...
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline DW7240

  • Senior Contributor
  • ****
  • Posts: 222
    • The Vicarage Weather Feed
Re: Godaddy Successful upgrade to CPANEL but website is now down !
« Reply #4 on: June 04, 2021, 07:25:28 PM »
Hi Ken,

Thanks so much for your time on this.

I'm getting stuck and bogged down, my thoughts were leaning towards ZBblock, it has stopped the site before (years ago), and with the Godaddy to Cpanel changes they made, was thinking ohh......ZBblock noticed the changes too, and sure enough the Errors folder on Cpanel confirmed this in bucket loads.  Talked to Godaddy Techs, (will send that script via messager for you to take a look) they agreed that was maybe the cause, after they tried to blame it Malware, and try to get me to upgrade the web security app they have from FREE to $100.00 a year - get rid of Malware and site would work again.  No I don't think so, something has gone bad !! Site was working fine before hand - they assure me the Domain is good and yes some files - namely NOAA-reports, php does display as do a few others.  So again pain in the rear, had this site for the last 7 years, 95% uptime - 5% Ken time lol.

Any thoughts - I'm open to any suggestions, (again find Godaddy tech chat script sent on) also the last line in the error folder was - [Fri Jun 04 13:00:38.683435 2021] [access_compat:error] [pid 6220:tid 47023135037184] [client 66.160.140.183:60792] AH01797: client denied by server configuration: /home/***********/public_html/403.shtml.

I deleted that 403.shyml, but error still stands, something is directing dw7240.com to a 403, which shows a http error 500 displayed on page - As you can see if you try to get on my site.

Thanks again.

Nick. dw7240.com


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9015
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Godaddy Successful upgrade to CPANEL but website is now down !
« Reply #5 on: June 04, 2021, 08:39:06 PM »
You've got
Code: [Select]
<?php require('/home/content/64/11561464/html/zbblock/zbblock.php'); ?> in Settings-weather.php at the top.. delete that too and your site may display again..

Also, you may have to remove any entries in .htaccess that had ZBlock directives .. that may be the cause of the 403s.

I'll take a look at the PM you sent with the GoDaddy chat and send you a response.

The good news is that your site now defaults to using PHP 7.3.27 and not PHP 5.6 (really old/unsupported).  It's a matter of peeling back any 3rd party scripts you may have added to the website structure files (Settings.php, Settings-weather.php, common.php, top.php, header.php, menubar.php, ajax-gizmo.php, footer.php) because the default versions of those files work just fine with PHP 7+ and PHP8+.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline DW7240

  • Senior Contributor
  • ****
  • Posts: 222
    • The Vicarage Weather Feed
Re: Godaddy Successful upgrade to CPANEL but website is now down !
« Reply #6 on: June 04, 2021, 08:48:34 PM »
Hi Ken,

Thanks once again, I thought I'd removed all those so called "Hooks" for ZBBlock, I have deleted all files in and including the ZBBlock directory, as it no longer seems updatable - I'll find something else later.

Catch up later.........enjoy your evening !!! [tup]

Nick. dw7240.com.