1
ralf57
Cannot load xoops.org RSS news feed
  • 2005/3/16 14:29

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


I'm having troubles displaying xoops.org news in
admin area (admin.php) using the link
http://localhost/myxoops/admin.php?xoopsorgnews=1

i'm getting this warnings:
Warning [PHP]: fopen(): php_network_getaddressesgetaddrinfo failedTemporary failure in name resolution in file admin.php line 118
Warning 
[PHP]: fopen(https://xoops.org/backend.php): failed to open stream: Connection refused in file admin.php line 118

It seems to complain about my internet connection but i'm connected to internet,of course.
Any idea?
Thanks in advance,ralf.

2
Herko
Re: Cannot load xoops.org RSS news feed
  • 2005/3/16 14:48

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Odd, I've just tried this with a 2.0.9.2 setup I have running somewhere, but there I get the xoops.org news just fine.

Herko

3
ackbarr
Re: Cannot load xoops.org RSS news feed

taken from php.net's documentation for fopen:
Quote:

If you're having problems with fopen("url...") but you can run 'host url' in a shell window and get the correct lookup, here's why...

This has had me banging my head against it all day - finally I found the answer buried in the bug reports, but figured it should really be more prominent!

The problem happens when you're on an ADSL line with DHCP (like our office)... When the ADSL modem renews the DHCP lease, you can also switch DNS servers, which confuses apache (and hence PHP) - meaning that you can't look up hosts from within PHP, even though you *can* from the commandline.... The short-term solution is to restart apache.

You'll get "php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in ..." messages as symptoms. Restart apache, and they're gone

Simon

4
ralf57
Re: Cannot load xoops.org RSS news feed
  • 2005/3/16 16:34

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Quote:
The problem happens when you're on an ADSL line with DHCP

I'm on a 56K dial-up connection

I've just tried with a fresh 2.0.9.2 local installation and it still doesn't work.
Apache restart didn't have any effect.
I've also tried with a remote site and it works so xoops.org's
rss feed works fine.
There should be a problem with my networking or with php's installation.
Are other php modules required for RSS feed to work?
Thanks again,ralf.

Login

Who's Online

193 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 193


more...

Donat-O-Meter

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

Latest GitHub Commits