Forecast IO behind proxy

What’s the best way to send you the .txt file?

You could use a dropbox, google drive or similar - any service that allows you to upload a file and then share a public link. Personally I use dropbox :slight_smile:

Please can you fix the issue with your filesystem permissions first, then run this again with a layout with just the Forecast module on it. Wading through all the other logging from your other regions is really tricky!

I’ll work on the permissions issue today and reach back out with the results.

I had our systems administrator take a look on the file permissions and they are set appropriately.

Before upgrading 1.7.3 we would at least get the Alien looking icons on the weather layout, now we are only getting a blank layout screen. When I press the Request Forecast button in the layout settings nothing happens. I then hit save and go back to check the Forecast tab and this is all that’s there:

{“id”:“ID”,“value”:“TITLE”,“main”:"<div class=“container”>\n <div class=“daily-forecast”>[dailyForecast]</div>\n <div class=“powered-by”>Powered by Forecast</div>\n</div>",“daily”:"<div class=“day”>\n <div class=“day-icon”><i class=“wi [wicon]”></i> [temperatureMinFloor] / [temperatureMaxFloor]<i class=“wi wi-degrees”></i></div>\n <div class=“day-desc”>[summary]</div>\n</div>",“css”:“body {\n font-family:Arial;\n margin:0;\n padding-top: 5px;\n}\n\n.container {\n text-align: center;\n}\n\n.icon {\n font-size: 36px;\n}\n\n.desc {\n margin-top: 10px;\n font-size: 30px;\n}\n\n.powered-by {\n font-size: 12px;\n clear: both;\n}\n\n.day {\n margin-top: 10px;\n font-size: 48px;\n}”}

They aren’t - at least they weren’t with the logs you sent over before. Are those permission denied messages gone from the log now? If not, you still have the same problem

Yes, the permission errors are gone. It seemed like the errors were present because it was unable to write the err_log.xml to C:\inetpub\wwwroot\xibo. After making an adjustment to that folder the err_log.xml has been created but upon opening it we get the following:

“Resolved language en_US not available.\n\nSQLSTATE[01000]: Warning: 1265 Data truncated for column ‘type’ at row 1\n\n” I have no idea what this means.

Additionally, when I go back to the CMS logs the only thing that stands out as a problem for the Forecast IO weather request is the following:

What does the highlighted portion mean?

It means that there’s no cached response for the call to Forecast IO API.

My best guess here is that there’s a filesystem permission issue such that the CMS can’t write that file to the cache folder in the CMS library.

Please can you check that the permissions are correct on the Xibo library and all folders within it - such that the webserver can read/write/modify/delete all files in those locations

We have made sure that c:\xibolibrary\ , and all sub-folders, have the correct permissions on the sever. We gave the account Full Control and there are files being written in the cache folder from the Xibo CMS. Just not from Forecast IO…

Our Environment Checks all look fine as well:

I’m at a lose as to what else to check.

Okay please can you provide a troubleshoot.txt for a layout with just a Forecast region on it?

I am pretty certain this will be resolved by

I’ve changed the line but the screen is still blank :frowning:

Are you using 1.7.3? If you changed that line on 1.7.2 or earlier it is likely to be very broken now :smiley:

I’m using 1.7.3 :smiley: but the forecast is a blank screen.

It is working right now :slight_smile:

Only it doesn’t so the pictures :frowning:

This problem is solved it is working like a charm :slight_smile:

1 Like

With the weather pictures? What did you do to get those to load in the end?