damian0612 Posted June 27, 2011 Share Posted June 27, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/240506-problems-after-changing-host/ Share on other sites More sharing options...
trq Posted June 27, 2011 Share Posted June 27, 2011 Are you getting any errors or anything? With the information you've provided, we can't really offer much advice. Quote Link to comment https://forums.phpfreaks.com/topic/240506-problems-after-changing-host/#findComment-1235315 Share on other sites More sharing options...
damian0612 Posted June 27, 2011 Author Share Posted June 27, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/240506-problems-after-changing-host/#findComment-1235334 Share on other sites More sharing options...
damian0612 Posted June 27, 2011 Author Share Posted June 27, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/240506-problems-after-changing-host/#findComment-1235357 Share on other sites More sharing options...
damian0612 Posted June 27, 2011 Author Share Posted June 27, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/240506-problems-after-changing-host/#findComment-1235568 Share on other sites More sharing options...
damian0612 Posted June 27, 2011 Author Share Posted June 27, 2011 soleved it, both curl & pdo were disabled Quote Link to comment https://forums.phpfreaks.com/topic/240506-problems-after-changing-host/#findComment-1235615 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.