Koozali.org: home of the SME Server

Magpierss stopped working since sme 7.4

Offline Radar69

  • *
  • 5
  • +0/-0
Magpierss stopped working since sme 7.4
« on: January 25, 2009, 09:39:32 AM »
Hi all,

I have a server running for years with magpierss in one of the ibays
After the last update to 7.4 the magpierss stopped working.

 MapieRSS requires a recent PHP 4+ (developed with 4.2.0)
     with xml (expat) support.
         
         Optionally:
           * PHP5 with libxml2 support.
           * cURL for SSL support
           * iconv (preferred) or mb_string for expanded character set support

Regards
Pierre

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Magpierss stopped working since sme 7.4
« Reply #1 on: January 25, 2009, 10:01:55 AM »
Hi all,

I have a server running for years with magpierss in one of the ibays
After the last update to 7.4 the magpierss stopped working.

 MapieRSS requires a recent PHP 4+ (developed with 4.2.0)
     with xml (expat) support.
         
         Optionally:
           * PHP5 with libxml2 support.
           * cURL for SSL support
           * iconv (preferred) or mb_string for expanded character set support

Regards
Pierre
Since it is a PHP application I think you might find a clue why it does not work by reading this: http://wiki.contribs.org/PHP#Display_Error_Messages , with the current information you make troubleshooting very hard as I, as well as others, do not have crystal ball with a USB or network connection ;-)
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Radar69

  • *
  • 5
  • +0/-0
Re: Magpierss stopped working since sme 7.4
« Reply #2 on: January 25, 2009, 05:21:47 PM »
Warning: MagpieRSS: Failed to fetch http://www.lelezard.com/feed.xml (HTTP Error: connection failed () in /home/e-smith/files/ibays/sosmonordi/html/magpierss/rss_fetch.inc on line 241

I'm trying to figure out, since my code run fine on others isp.

I tought it was cache related at first.

but cant figure out what may cause that
magpierss use smarty plugin and snoopy lib

http://sourceforge.net/projects/snoopy

http://www.smarty.net/

Regards
Pierre


Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Magpierss stopped working since sme 7.4
« Reply #3 on: January 25, 2009, 05:47:12 PM »
Warning: MagpieRSS: Failed to fetch http://www.lelezard.com/feed.xml (HTTP Error: connection failed () in /home/e-smith/files/ibays/sosmonordi/html/magpierss/rss_fetch.inc on line 241

I'm trying to figure out, since my code run fine on others isp.
Are you able to access the URL using elinks or wget from your servers console as root user?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Radar69

  • *
  • 5
  • +0/-0
Re: Magpierss stopped working since sme 7.4
« Reply #4 on: January 25, 2009, 06:27:59 PM »
i can access the file with wget
I think it's related to the cache not avail.
i copied the directory on another server (not sme) and it worked first time
basically what that script does is read an rss and make a copy of the data in a cache directory and from the webpage i recover the cached data.

Pierre

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Magpierss stopped working since sme 7.4
« Reply #5 on: January 25, 2009, 06:39:35 PM »
i can access the file with wget
I think it's related to the cache not avail.
i copied the directory on another server (not sme) and it worked first time
basically what that script does is read an rss and make a copy of the data in a cache directory and from the webpage i recover the cached data.
And what folder did you configure as cache folder?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Radar69

  • *
  • 5
  • +0/-0
Re: Magpierss stopped working since sme 7.4
« Reply #6 on: January 25, 2009, 07:23:34 PM »
my chache is in /html/cache of my ibay
chmod 775
Pierre

Offline judgej

  • *
  • 375
  • +0/-0
Re: Magpierss stopped working since sme 7.4
« Reply #7 on: January 26, 2009, 03:45:22 PM »
Do a search on Google and you will find this error message spread over many websites. It is a problem with a particular version of Magpie when it cannot access the RSS feed - it just carries on as though it could, which results in errors further on rather than a properly handled exception.

Questions I have not seen asked:

- If you clear the cache, does it still do the same thing?
- Does it have the same error with all feeds, rather than just this one feed?

The message you are getting is a 'warning'. If warnings are now being displayed when previously they were not, then you probably need to change some PHP settings at the head of your application.

-- JJ
-- Jason

Offline Radar69

  • *
  • 5
  • +0/-0
Re: Magpierss stopped working since sme 7.4
« Reply #8 on: January 26, 2009, 05:23:21 PM »
Actually, problem solved!

I noticed i had issues with the http request from the server.

And the services contrib was gone.

I reinstalled the services contrib with yum. After reboot everything went back to normal. i didn't investigate much in the logs but so far so good.

Regards
Pierre