Welcome Guest, Not a member yet? Register   Sign In
codeigniter include problem (with simplepie library)
#1

[eluser]introvert[/eluser]
Hello,

Everytime I try to include Simplepie in my CI application I get no response from apache server (no error or anything).

I also tried including it without CI load library function (include ’simplepie.php’) but it will cause the same thing.

Anyone has any idea what might be going on?

If I include simplepie outside CI framework it will work just fine.

I also checked the php max buffer configuration and its set to 126mbs so there shouldnt be any problem.

Heres the apache log for the event:
[Thu Sep 17 17:21:32 2009] [notice] Parent: Created child process 2804
[Thu Sep 17 17:21:33 2009] [notice] Child 2804: Child process is running
[Thu Sep 17 17:21:33 2009] [notice] Child 2804: Acquired the start mutex.
[Thu Sep 17 17:21:33 2009] [notice] Child 2804: Starting 64 worker threads.
[Thu Sep 17 17:21:33 2009] [notice] Child 2804: Starting thread to listen on port 80.

Thanks in advance!
#2

[eluser]mcair[/eluser]
[quote author="introvert" date="1253219640"]Hello,

Everytime I try to include Simplepie in my CI application I get no response from apache server (no error or anything).

[/quote]

I am getting the same thing, or similar. I can run the Simplepie demo, when I try it inside CodeIgniter, Apache blows up. Running Vista/PHP5.3.0/Codeigniter1.7.

Any help appreciated.
#3

[eluser]Ben Edmunds[/eluser]
Try this: http://www.haughin.com/code/simplepie/
#4

[eluser]Jeffrey McManus[/eluser]
That library doesn't appear to work against PHP 5.3 with CodeIgniter. It wraps an old version of SimplePie (1.1) at any rate.
#5

[eluser]Sire[/eluser]
Please post if you make any progress on this. I'm having the same issues.
#6

[eluser]Jeffrey McManus[/eluser]
This has been outstanding for a while and I know it's holding a bunch of people up. How much time would a fix for this take? Would somebody take this on if I kicked in some cash and passed the hat a little bit?
#7

[eluser]Sire[/eluser]
Solution for users of php 5.2.3+ I believe. This works for me. I was able to learn this by trying Simplepie with Kohana and looking at the error output. This now works for me with CI 1.7.2 and php 5.3

Open Simplepie.php

search:
=& new

replace with:
= new
#8

[eluser]ckeller[/eluser]
The answer above worked.

Same answer on this thread and my response:

http://ellislab.com/forums/viewthread/137146/




Theme © iAndrew 2016 - Forum software by © MyBB