Author Topic: HTTP 500 Error  (Read 493 times)

0 Members and 1 Guest are viewing this topic.

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4716
    • Fitzweather
HTTP 500 Error
« on: February 06, 2018, 06:19:22 PM »
I decided to go back to Ken's template, and followed the steps to upload the files to the correct paths via FTP. But when I load the homepage to see the php document, I'm getting an HTTP 500 error.

My link is www.fitzweather.org/index.php and I'm using Cumulus 1.94.

Could someone direct me on what I may be doing wrong? I can see the individual default scripts in the BASE-USA folder, such as ADVFORECAST without issue.
Weather Software-> GREarth, GRAnalyst 2.xx, MRLevel3, GRLevel 3 2.xx, Bufkit, GRLevel2, WXSim, and Radarscope.
Weather Station-> Ambient Weather WS-1090 Fine Offset
Weather Station Software-> Weather Display 10.37S, Cumulus 1.94
CoCoRaHS ID->  WV-KN-27
Administrator-> www.fitzweather.org

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1631
    • Echo Valley Weather
Re: HTTP 500 Error
« Reply #1 on: February 06, 2018, 06:30:27 PM »
Hi Joseph,

Is there an .htaccess file in your main directory?  This can be a major issue for 500 server errors. Also, does your webhost have PHP installed?
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4716
    • Fitzweather
Re: HTTP 500 Error
« Reply #2 on: February 06, 2018, 06:46:39 PM »
The htaccess file is in the main directory. The majority of my files are located in the 'public_html' folder.

And I have PHP 5.6 currently.
Weather Software-> GREarth, GRAnalyst 2.xx, MRLevel3, GRLevel 3 2.xx, Bufkit, GRLevel2, WXSim, and Radarscope.
Weather Station-> Ambient Weather WS-1090 Fine Offset
Weather Station Software-> Weather Display 10.37S, Cumulus 1.94
CoCoRaHS ID->  WV-KN-27
Administrator-> www.fitzweather.org

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1631
    • Echo Valley Weather
Re: HTTP 500 Error
« Reply #3 on: February 06, 2018, 06:48:24 PM »
The public_html directory is correct for your files. There isn't an .htaccess file in your public_html directory is there?
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4716
    • Fitzweather
Re: HTTP 500 Error
« Reply #4 on: February 06, 2018, 06:49:30 PM »
Correct, it is not located in that folder.
Weather Software-> GREarth, GRAnalyst 2.xx, MRLevel3, GRLevel 3 2.xx, Bufkit, GRLevel2, WXSim, and Radarscope.
Weather Station-> Ambient Weather WS-1090 Fine Offset
Weather Station Software-> Weather Display 10.37S, Cumulus 1.94
CoCoRaHS ID->  WV-KN-27
Administrator-> www.fitzweather.org

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4716
    • Fitzweather
Re: HTTP 500 Error
« Reply #5 on: February 06, 2018, 06:51:00 PM »
Correction: I just refreshed Filezilla and there is now an hta file in there.
Weather Software-> GREarth, GRAnalyst 2.xx, MRLevel3, GRLevel 3 2.xx, Bufkit, GRLevel2, WXSim, and Radarscope.
Weather Station-> Ambient Weather WS-1090 Fine Offset
Weather Station Software-> Weather Display 10.37S, Cumulus 1.94
CoCoRaHS ID->  WV-KN-27
Administrator-> www.fitzweather.org

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1631
    • Echo Valley Weather
Re: HTTP 500 Error
« Reply #6 on: February 06, 2018, 06:53:08 PM »
Try removing that .htaccess file and see what happens to the site.
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4716
    • Fitzweather
Re: HTTP 500 Error
« Reply #7 on: February 06, 2018, 06:55:05 PM »
I have removed it from the directory, refreshed the cache, and then proceeded to check the site, but nothing is showing yet.

What about the htaccess file would cause php pages to not load?
Weather Software-> GREarth, GRAnalyst 2.xx, MRLevel3, GRLevel 3 2.xx, Bufkit, GRLevel2, WXSim, and Radarscope.
Weather Station-> Ambient Weather WS-1090 Fine Offset
Weather Station Software-> Weather Display 10.37S, Cumulus 1.94
CoCoRaHS ID->  WV-KN-27
Administrator-> www.fitzweather.org

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1631
    • Echo Valley Weather
Re: HTTP 500 Error
« Reply #8 on: February 06, 2018, 06:59:17 PM »
Hmmmm......... That's weird. Try refreshing Filezilla and see if that file didn't re-generate itself.

If you can, please upload your Settings.php, Settings-weather.php to here so I can look at them, please.
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4716
    • Fitzweather
Re: HTTP 500 Error
« Reply #9 on: February 06, 2018, 07:05:24 PM »
It has not shown back up in filezilla yet after refreshing, but it shows up in the main root.

Weather Software-> GREarth, GRAnalyst 2.xx, MRLevel3, GRLevel 3 2.xx, Bufkit, GRLevel2, WXSim, and Radarscope.
Weather Station-> Ambient Weather WS-1090 Fine Offset
Weather Station Software-> Weather Display 10.37S, Cumulus 1.94
CoCoRaHS ID->  WV-KN-27
Administrator-> www.fitzweather.org

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1631
    • Echo Valley Weather
Re: HTTP 500 Error
« Reply #10 on: February 06, 2018, 07:06:14 PM »
Main root is okay. There needs to be one in the root directory. That's standard.
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4716
    • Fitzweather
Re: HTTP 500 Error
« Reply #11 on: February 06, 2018, 07:10:03 PM »
Is this something I may need to consult my web hosting about, or is this something I can take care of?
Weather Software-> GREarth, GRAnalyst 2.xx, MRLevel3, GRLevel 3 2.xx, Bufkit, GRLevel2, WXSim, and Radarscope.
Weather Station-> Ambient Weather WS-1090 Fine Offset
Weather Station Software-> Weather Display 10.37S, Cumulus 1.94
CoCoRaHS ID->  WV-KN-27
Administrator-> www.fitzweather.org

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1631
    • Echo Valley Weather
Re: HTTP 500 Error
« Reply #12 on: February 06, 2018, 07:10:23 PM »
Got the files and found an error. There was a missing(') on the longitude setting line. I'm attaching a corrected copy for you to upload. Try that and see what happens.
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1631
    • Echo Valley Weather
Re: HTTP 500 Error
« Reply #13 on: February 06, 2018, 07:14:53 PM »
Came across something that may shed light on the error.

Look at your Forecast page.
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1631
    • Echo Valley Weather
Re: HTTP 500 Error
« Reply #14 on: February 06, 2018, 07:16:43 PM »
Is this something I may need to consult my web hosting about, or is this something I can take care of?

This should be (hopefully) something you can fix.
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1631
    • Echo Valley Weather
Re: HTTP 500 Error
« Reply #15 on: February 06, 2018, 07:18:35 PM »
I see a website!!!!  Good job, Joseph!!!

PHP, XML, .htaccess files etc. are very unforgiving in syntax errors.
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4716
    • Fitzweather
Re: HTTP 500 Error
« Reply #16 on: February 06, 2018, 07:18:44 PM »
That got it, I had to redownload an updated version of php.

Thank you so much, John.
Weather Software-> GREarth, GRAnalyst 2.xx, MRLevel3, GRLevel 3 2.xx, Bufkit, GRLevel2, WXSim, and Radarscope.
Weather Station-> Ambient Weather WS-1090 Fine Offset
Weather Station Software-> Weather Display 10.37S, Cumulus 1.94
CoCoRaHS ID->  WV-KN-27
Administrator-> www.fitzweather.org

Offline sacreyweather

  • Echo Valley Weather
  • Forecaster
  • *****
  • Posts: 1631
    • Echo Valley Weather
Re: HTTP 500 Error
« Reply #17 on: February 06, 2018, 07:19:57 PM »
You bet, Joseph. Anytime!!!
CWOP: D2073, GR2AE, GR3, Cumulus, PWSweather,  CoCoRaHS: AR-SL-23  

Saline Weather on Twitter
Blitzortung Station 1387