Welcome Guest, Not a member yet? Register   Sign In
SimplePie Problems on my webhost
#1

[eluser]maeksm[/eluser]
Hi Guys,

I hope you can help me out with this. I'm trying to get my videos on youtube using simplepie and it works here on my localhost. I get the rss feed and well.. it just works. But when I put the site online I get a 404.

Now I got this in my controller
Code:
$this->load->library('SimplePie');
$this->simplepie->set_feed_url($feed_url);
$this->simplepie->handle_content_type();
//$this->simplepie->set_cache_location(APPPATH.'cache/youtube');
$this->simplepie->enable_cache(false);
$this->simplepie->init();

$this->data['rss_items'] = $this->simplepie->get_items();
And then I load the view. I tried to die before I call the init() and I can see the die. But when I put the die behind the init() I get the 404 page.

Here you can see what I mean http://sexy.sammy.nu/videos if you need more information to help me out, just tell me.

I'm using SimplePie version 1.1.1 I just copied the library in to my library folder and changed the extension from inc to php. Oh and if you are wondering why $feed_url doesn't has a value yet, it's just because I left it out for this post. I have a real working url in my code.

Thanks in advance


Messages In This Thread
SimplePie Problems on my webhost - by El Forum - 04-28-2008, 08:50 AM
SimplePie Problems on my webhost - by El Forum - 04-28-2008, 12:33 PM
SimplePie Problems on my webhost - by El Forum - 04-28-2008, 02:26 PM
SimplePie Problems on my webhost - by El Forum - 04-28-2008, 02:37 PM
SimplePie Problems on my webhost - by El Forum - 04-29-2008, 12:08 PM
SimplePie Problems on my webhost - by El Forum - 04-29-2008, 01:08 PM
SimplePie Problems on my webhost - by El Forum - 04-30-2008, 11:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB