1
bbgds
SnX-Weather block link problem - What could be the cause?
  • 2004/10/6 21:00

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


Hello....

I loaded SnX-Weather, big improvement over MS-Weather, and very timely, since Yahoo! chose to get snippy over MS-Weather.

I have only one complaint, which probably isn't the module's fault at all. The link on the weather block "SnX_Weather_Forecast" doesn't seem to work. But the wierd thing is it looks like the link is correct. If I manually type in the address it loads the page with no problem. But for some reason, it's like the browser is trying to add something to the address (like www?) when you click on the link.

Could this be a tabling issue in PHPMyAdmin or something?

2
bbgds
Re: SnX-Weather block link problem - What could be the cause?
  • 2004/10/6 21:13

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


Never mind, I fixed it....

As it turns out, Netscape was being picky about the little slash at the end of the URL.

Great Mod!

3
sylvainb
Re:SnX-Weather block link problem - What could be the cause?
  • 2004/10/6 21:16

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hello everybody.
For those who want it, I have the complete list for UK cities from www.weather.com (654 cities).
More to come...
P.S: I already have the French one of course (278 cities)

4
snakes
Re:SnX-Weather block link problem - What could be the cause?
  • 2004/10/7 8:03

  • snakes

  • Just popping in

  • Posts: 69

  • Since: 2004/8/8 0


ok the trailing slash is added and will be integrate to the next release.
The France cities list will also be added to the next release.
Sylvain send me the UK list. I will add it to.

5
bbgds
Re:SnX-Weather block link problem - What could be the cause?
  • 2004/10/8 18:49

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


Hi Snakes....

I was having trouble with SnX-Weather lining up properly in one of my themes, so I ran PHP debug. Here is what I found....
-----
Notice: Use of undefined constant _SnX_WEATHER_FORECAST - assumed '_SnX_WEATHER_FORECAST' in /home/christ/public_html/modules/snx_weather/blocks/block-SnX-Weather.php on line 112
-----
FYI. (BTW, thanks again for this module!)

6
carnuke
Re: SnX-Weather block link problem - What could be the cause?
  • 2004/10/8 20:19

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


I had exactly the same problem. It callshttp://www.----------

Strange thing is it has <{xoops_url}>/modules/ in the call.

7
snakes
Re: SnX-Weather block link problem - What could be the cause?
  • 2004/10/11 22:46

  • snakes

  • Just popping in

  • Posts: 69

  • Since: 2004/8/8 0


Thanks guys.

I'm gonna have a look tomorrow morning.
It's 1AM right now, gonna have to sleep.

G'bye

8
snakes
Re: SnX-Weather block link problem - What could be the cause?
  • 2004/10/12 13:07

  • snakes

  • Just popping in

  • Posts: 69

  • Since: 2004/8/8 0


which version are you using ??

9
Arowana
Re:SnX-Weather block link problem - What could be the cause?
  • 2004/10/22 2:06

  • Arowana

  • Friend of XOOPS

  • Posts: 323

  • Since: 2004/8/6 2


I get cannot resovle www.weather.com

When I asked if they were blocking anything they asked me

"Is this module using a special command to get information like wget etc?"

Any help would be thankful

10
snakes
Re:SnX-Weather block link problem - What could be the cause?
  • 2004/10/26 15:38

  • snakes

  • Just popping in

  • Posts: 69

  • Since: 2004/8/8 0


The module is 100% PHP.
No external command line, no wget, lo lynx.
Try this PHP file
<?
echo 
gethostbyname("www.weather.com");
$handle=fopen("http://www.weather.com/","r");
while(!
feof($handle)) {
   
$buf=fgets($handle,2048);
   echo 
htmlspecialchars($buf);
}
close($handle);
?>


This should print the IP: 63.111.66.11
and a HTML source code.

If not then you have some DNS resolving problem with your
host server.

I just got the same pb 2 weeks ago, the host server admin had modified some configurations and now it works for me.

Login

Who's Online

74 user(s) are online (53 user(s) are browsing Support Forums)


Members: 0


Guests: 74


more...

Donat-O-Meter

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

Latest GitHub Commits