Author Topic: HTTP 500 Error  (Read 1082 times)

0 Members and 1 Guest are viewing this topic.

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4745
    • WV Waterfalls
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.
Joe Fitzwater
Chief Meteorologist for WVNS-TV 59 in Beckley, WV

Work Page on Facebook -> www.facebook.com/meteojoe
Work Page on Twitter -> https://twitter.com/meteojoe
Waterfalls -> www.wvfalls.com

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle 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?
GR2AE, GR3, Cumulus

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4745
    • WV Waterfalls
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.
Joe Fitzwater
Chief Meteorologist for WVNS-TV 59 in Beckley, WV

Work Page on Facebook -> www.facebook.com/meteojoe
Work Page on Twitter -> https://twitter.com/meteojoe
Waterfalls -> www.wvfalls.com

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle 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?
GR2AE, GR3, Cumulus

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4745
    • WV Waterfalls
Re: HTTP 500 Error
« Reply #4 on: February 06, 2018, 06:49:30 PM »
Correct, it is not located in that folder.
Joe Fitzwater
Chief Meteorologist for WVNS-TV 59 in Beckley, WV

Work Page on Facebook -> www.facebook.com/meteojoe
Work Page on Twitter -> https://twitter.com/meteojoe
Waterfalls -> www.wvfalls.com

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4745
    • WV Waterfalls
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.
Joe Fitzwater
Chief Meteorologist for WVNS-TV 59 in Beckley, WV

Work Page on Facebook -> www.facebook.com/meteojoe
Work Page on Twitter -> https://twitter.com/meteojoe
Waterfalls -> www.wvfalls.com

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle 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.
GR2AE, GR3, Cumulus

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4745
    • WV Waterfalls
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?
Joe Fitzwater
Chief Meteorologist for WVNS-TV 59 in Beckley, WV

Work Page on Facebook -> www.facebook.com/meteojoe
Work Page on Twitter -> https://twitter.com/meteojoe
Waterfalls -> www.wvfalls.com

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle 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.
GR2AE, GR3, Cumulus

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4745
    • WV Waterfalls
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.

Joe Fitzwater
Chief Meteorologist for WVNS-TV 59 in Beckley, WV

Work Page on Facebook -> www.facebook.com/meteojoe
Work Page on Twitter -> https://twitter.com/meteojoe
Waterfalls -> www.wvfalls.com

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle 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.
GR2AE, GR3, Cumulus

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4745
    • WV Waterfalls
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?
Joe Fitzwater
Chief Meteorologist for WVNS-TV 59 in Beckley, WV

Work Page on Facebook -> www.facebook.com/meteojoe
Work Page on Twitter -> https://twitter.com/meteojoe
Waterfalls -> www.wvfalls.com

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle 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.
GR2AE, GR3, Cumulus

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle 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.
GR2AE, GR3, Cumulus

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle 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.
GR2AE, GR3, Cumulus

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle 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.
GR2AE, GR3, Cumulus

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4745
    • WV Waterfalls
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.
Joe Fitzwater
Chief Meteorologist for WVNS-TV 59 in Beckley, WV

Work Page on Facebook -> www.facebook.com/meteojoe
Work Page on Twitter -> https://twitter.com/meteojoe
Waterfalls -> www.wvfalls.com

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: HTTP 500 Error
« Reply #17 on: February 06, 2018, 07:19:57 PM »
You bet, Joseph. Anytime!!!
GR2AE, GR3, Cumulus

 

anything