page not loading

I am having difficulty loading (viewing) a specific php file, (wxsnowgraph.php). The page loads, however some of the files, wxnoaasnow.php, snownow.php and snowtoday.php do not. The position markers are there and you can reload the image. Sometimes all images show, but mostly some do not. Trying to determine if local or server side.

Attached is a screenshot of the snowgraph page.

windows 7 home prem.
firefox ver 52.0.1
WD 10.37 b45


snowgraph.jpg

There is an internal server error for some of the images, eg:
http://frontrangeweather.net/wxnoaasnow.php?year=2015

This looks like a problem in the script, but the errors are hidden so it is hard to tell what it is. It should be in your error log.

I would also recommend playing around with the image widths of the snow graphs, they overflow the main body of the page to the right.

Agree with Jachym, the problem appears to be with the wsnoaasnow.php script, and by the filename I would guess that’s getting data from a us gov site (unlike the first two charts). If you can attach a copy of that script, change the extension to .php.txt, we can take a look.

Thank you for looking into this.

I was able to look at the error logs, however they don’t understand them.

[Mon Apr 10 15:35:14.417954 2017] [:error] [pid 528605] [client 73.78.184.105:55044] SoftException in Application.cpp:262: File “/home/williamp/public_html/wxnoaasnow.php” is writeable by group, referer: Front Range Weather - Snow
[Mon Apr 10 15:35:14.304779 2017] [:error] [pid 528601] [client 73.78.184.105:55041] SoftException in Application.cpp:262: File “/home/williamp/public_html/wxnoaasnow.php” is writeable by group, referer: Front Range Weather - Snow
[Mon Apr 10 15:35:14.272290 2017] [:error] [pid 528604] (12)Cannot allocate memory: [client 73.78.184.105:55042] couldn’t create child process: /usr/sbin/suphp for /home/williamp/public_html/wxnoaasnow.php, referer: Front Range Weather - Snow
[Mon Apr 10 15:35:14.272300 2017] [:error] [pid 528602] (12)Cannot allocate memory: [client 73.78.184.105:55043] couldn’t create child process: /usr/sbin/suphp for /home/williamp/public_html/wxnoaasnow.php, referer: Front Range Weather - Snow

Bill


wxnoaasnow.php.txt (8.79 KB)

Is the file wxclimatedatasnowcsv.php present on the server? I get a 500 error trying it.

Niko,

It is there. I received the same error when trying to open.

Bill

OK, attach that one please.

Niko,

Here it is.

Bill


wxclimatedatasnowcsv.php.txt (10.9 KB)

I can’t find the datafile :? I saw Murry was looking at this thread earlier, I’ll have to defer to him. Sorry :frowning:

Niko,

Which data file are you referring to?

Bill

I was able to fix this issue by making a change in my cpanel php.ini file. I adjusted the memory limit to a level where the script worked without any images being left out.

Thank you for your help with this issue.

Bill

Interesting! Well done, and thanks for letting everyone know how you fixed it :slight_smile: