FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Register ?????Profile? ????Log in
?problems after moving hosts View next topic
View previous topic
Post new topicReply to topic
Author Message
damian0612



Joined: 30 Jun 2006
Posts: 133

PostPosted: Sat Jun 25, 2011 3:59 am Reply with quoteBack to top

Hi

I am in the process of moving hosts as my last host suspended my account for high memory to cpu usage (I was running a remote cron every minute) so I've moved to vps hosting. I'm moving my stuff over to the new server but when running the script rss2sql.php it is failing. When I parse this file it just says on the page updateFeed(2) or when running the cron to pare it the log is showing this:

URL: http://www.newslfc.com/script/rss2sql2.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)


So basically when I look at my sql database nothing has been added. Any help would be greatly appreciated!

Thanks
Damian
View user's profile
damian0612



Joined: 30 Jun 2006
Posts: 133

PostPosted: Sun Jun 26, 2011 1:54 am Reply with quoteBack to top

I'm pretty sure the problem is related to my new host settings and there is something I need to do as I can put dummy data into the database and retrieve it ok on a web page, the problem seems to be that the rss2sql script isn't doing as it should and my theory is my server settings need tweaked or something. However, I have no idea what I need to tweak so any help would be appreciated, thanks.
View user's profile
damian0612



Joined: 30 Jun 2006
Posts: 133

PostPosted: Sun Jun 26, 2011 4:15 am Reply with quoteBack to top

Have tried it all over again but same thing is happening, the odd time it'll throw up this:

updateFeed(1)
Unable to open RSS Feed http://(RSS_URL_HERE).xml with error HTTP ERROR: 404, exiting updateFeed(3)
View user's profile
damian0612



Joined: 30 Jun 2006
Posts: 133

PostPosted: Mon Jun 27, 2011 1:26 pm Reply with quoteBack to top

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
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2683

PostPosted: Wed Jun 29, 2011 9:32 am Reply with quoteBack to top

Now that you have cURL enabled and it's returning those errors, I think I know what the problem is. Those Feeds don't actually exist, those aren't valid feed links, so there's no RSS to update the SQL database with. At least, that's what I'm assuming since both of those URL's don't have any valid feed data associated with them.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
damian0612



Joined: 30 Jun 2006
Posts: 133

PostPosted: Thu Jun 30, 2011 3:35 am Reply with quoteBack to top

Tech Support wrote:
Now that you have cURL enabled and it's returning those errors, I think I know what the problem is. Those Feeds don't actually exist, those aren't valid feed links, so there's no RSS to update the SQL database with. At least, that's what I'm assuming since both of those URL's don't have any valid feed data associated with them.


Many thanks for the reply, after fiddling I solved the problem, I enabled a php extension called pdo and it worked from then. Bit of a fluke as I don't have a clue but I'm glad I sorted it.
View user's profile
Display posts from previous:?? ? ?
Post new topicReply to topic


?Jump to:? ?



View next topic
View previous topic


Powered by phpBB ? 2001, 2002 phpBB Group :: FI Theme