1
Twiztid
Simple Weather
  • 2006/12/1 18:43

  • Twiztid

  • Just popping in

  • Posts: 49

  • Since: 2006/7/21


This module is GREAT!

In my block though, currently the weather is "FAIR" but in my block is says "Fai"

Is there a reason why it's truncating the results?

Any idea how to fix this?

I am using CELCIUS mode...

Thanks!

2
jensclas
Re: Simple Weather

First lets make sure it is not a theme problem - set your site to default theme and see if the error is still there. If it is then there could be a typos in one of the files - but i couldn't tell you which one - a guess would be to check the lnaguage file.

3
kapeman
Re: Simple Weather
  • 2006/12/8 16:49

  • kapeman

  • Just popping in

  • Posts: 87

  • Since: 2005/5/3 1


Quote:

Twiztid wrote:
This module is GREAT!

In my block though, currently the weather is "FAIR" but in my block is says "Fai"

Is there a reason why it's truncating the results?

Any idea how to fix this?

I am using CELCIUS mode...

Thanks!


Where can you get it? I don't see it in the module repository.

4
LucaNet
Re: Simple Weather
  • 2006/12/8 17:07

  • LucaNet

  • Friend of XOOPS

  • Posts: 90

  • Since: 2006/5/25


Quote:
Where can you get it? I don't see it in the module repository.


I think it should be here

5
kapeman
Re: Simple Weather
  • 2006/12/8 17:10

  • kapeman

  • Just popping in

  • Posts: 87

  • Since: 2005/5/3 1


Thanks I was able to download and install, but I get the following errors:

Warning [PHP]: file(): URL file-access is disabled in the server configuration in file modules/weather/blocks/weather_block.php line 29
Warning [PHP]: file(http://xml.weather.yahoo.com/forecastrss?p=USAL0054&u=f): failed to open stream: no suitable wrapper could be found in file modules/weather/blocks/weather_block.php line 29


Is this a file/folder rights issue?

6
Mamba
Re: Simple Weather
  • 2006/12/24 19:54

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:

kapeman wrote:
Thanks I was able to download and install, but I get the following errors:

Warning [PHP]: file(): URL file-access is disabled in the server configuration in file modules/weather/blocks/weather_block.php line 29
Warning [PHP]: file(http://xml.weather.yahoo.com/forecastrss?p=USAL0054&u=f): failed to open stream: no suitable wrapper could be found in file modules/weather/blocks/weather_block.php line 29

Is this a file/folder rights issue?


Same here after I switched to PHP5 and realized that my host provider turned allow_url_fopen to OFF (it was ON in PHP4).

So the question is, how can we change

$lines = file ($url);

to something that doesn't require allow_url_fopen to be ON.

Anybody who could help?
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

420 user(s) are online (346 user(s) are browsing Support Forums)


Members: 0


Guests: 420


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits