Author Topic: Pywws on Raspberry Pi, issue with Weather Nature Template  (Read 5938 times)

magazaki

  • Guest
Pywws on Raspberry Pi, issue with Weather Nature Template
« on: March 26, 2013, 05:36:45 PM »
Hi,

I'm pretty new to Linux so maybe taking on a little too much, but nonetheless its great fun :)

Anyhow I've got my RPi up and running on Rasbian, wireless and talking to my 1080 weatherstation.
It's running with Apache2, PHP5 and Pywws.
Data is being downloaded and processed with gnuplot, and they are put in the data subdirectory on the site.

I've downloaded the "weather nature template" , but when browsing it does not load the full page.
Please have a look;
-link removed-

As you can see none of the links are working, and no error messages.
I am thinking this is a permission issue, however I can successfully open the png files.

Advice is very much appreciated,

Regards,
Mags,
Norway
« Last Edit: April 16, 2013, 03:14:36 AM by magazaki »

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Pywws on Raspberry Pi, issue with Weather Nature Template
« Reply #1 on: March 26, 2013, 06:23:28 PM »
Hi Mags,

I've looked at your site and it 'stop' on this line:

 require_once('data/forecast_icon_9am.txt')

Since this is a 'require_once', page stop if it couldn't
find the file. Check your file forecast_icon_9am.txt
on your website, to see if weather data is there.

Regards,
Jacques

Please, consider supporting this site 

magazaki

  • Guest
Re: Pywws on Raspberry Pi, issue with Weather Nature Template
« Reply #2 on: March 27, 2013, 03:49:33 AM »
Awesome!

Actually I had removed that entry from the weather.ini file under [logged] because it was failing.
Turns out it was failing because the txt template is called "forecast_icon_9am.txt" but my entry was exactly like the in the Example ini file:"forecast_icon.txt"

So seems like a tiny typo bug in the example file for "Weather_Nature_Temlate" got me there.

Anyways, thank you so much, all is sweet now:)

Btw, great forum and great templates!

Regards,
Mags