 |
? |
Author |
Message |
damian0612
Joined: 30 Jun 2006
Posts: 133
|
Posted: Sat Jun 25, 2011 3:59 am |

|
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
|
|
|
 |
 |
damian0612
Joined: 30 Jun 2006
Posts: 133
|
Posted: Sun Jun 26, 2011 1:54 am |

|
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.
|
|
|
 |
 |
damian0612
Joined: 30 Jun 2006
Posts: 133
|
Posted: Sun Jun 26, 2011 4:15 am |

|
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)
|
|
|
 |
 |
damian0612
Joined: 30 Jun 2006
Posts: 133
|
Posted: Mon Jun 27, 2011 1:26 pm |

|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2683
|
Posted: Wed Jun 29, 2011 9:32 am |

|
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
|
|
 |
 |
damian0612
Joined: 30 Jun 2006
Posts: 133
|
Posted: Thu Jun 30, 2011 3:35 am |

|
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.
|
|
|
 |
 |
|
|
|