Simplepie and CodeIgniter

yes, found:
and tried with php 5.3 installation … simply do not work

I recalled there was a problem in simplepie for assign new by reference, just downloaded newer code from … still same problem.


{syntaxhighlighter brush:bash}
sed ‘s/=&\ new/=\ new/’ > Simplepie.php

adding if ( ! defined('BASEPATH')) exit('No direct script access allowed'); to first line, removing ?> from last line, make things work.

Some comment on new by reference are in

On why and where reference are bad there is a beautiful article:

and another on “strange” things that could happen: