Jump to content

Recommended Posts

Hi

 

I have a php script that parses rss feeds and adds them to a mysql database and it was working fine until I changed hosts taking out vps hosting. Now I've changed the php script won't parse the rss feeds anymore. I am assuming that I need to configure some settings like a php extension or something but really don't have a clue being a real amateur at this sort of thing. I would therefore appreciate any help. I don't know if it'll help but here is a link to my php info http://snipurl.com/1bkrge

 

Thanks

Damian

Link to comment
https://forums.phpfreaks.com/topic/240506-problems-after-changing-host/
Share on other sites

Hi, thanks for the reply, I don't get any errors, when I access the page which is http://newslfc.com/script/rss2sql.php it should echo each feed it has parsed on the page and put the info into the mysql database but the page is blank and nothing has been entered into the database.  When I look at the admin panel where the feeds are kept it just says 'open failed' beside each feed.  the error I get from my log when I had a cron set to acess the script was:

 

URL: http://www.newslfc.com/script/rss2sql.php

HTTP/1.0 500 Internal Server Error

Date: Sat, 25 Jun 2011 08:52:08 GMT

Server: Apache/2.2.19 (FreeBSD) mod_ssl/2.2.19 OpenSSL/0.9.8q DAV/2 PHP/5.2.17 with Suhosin-Patch

X-Powered-By: PHP/5.2.17

Content-Length: 18

Connection: close

Content-Type: text/html

 

updateFeed(2)<br>

 

Is there any info I can post to help you get a better understanding or might help?  the php script itself is very large, it was one I purchased.

 

thanks

Damian

And I should have said when the script is called when the rss url is made active for the first time I get this:

 

Unable to open RSS Feed http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/football/teams/l/liverpool/rss.xml with error HTTP ERROR: 404, exiting

 

thanks

checked and seen curl was disabled but get a new error after enabling curl:

 

updateFeed(1)

Unable to open RSS Feed http://newsrss.bbc.co.uk/rss/sporton...erpool/rss.xml with error No URL set!, exiting updateFeed(5)

Unable to open RSS Feed http://www.imscouting.com/teams/engl...erpool-fc/rss/ with error No URL set!, exiting

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.