http://bin.cakephp.org/saved/33005
On Wed, Jul 9, 2008 at 2:25 AM, AD7six <[EMAIL PROTECTED]> wrote:
>
>
>
> On Jun 5, 8:25 pm, Adam Friedman <[EMAIL PROTECTED]> wrote:
>> Hi folks
>>
>> I was trying to get Simplepie component working (http://
>> bakery.cakephp.org/articles/view/simplepie-cakephp-component), and it
>> worked fine. Here's what I did:
>>
>> - First I added the component 'Simplepie' to the controller:
>>
>> class UsersController extends AppController {
>>
>> var $name = 'Users';
>>
>> var $components =
>> array('RequestHandler','Upload','ImageUpload','Search','News','Simplepie');
>>
>> // ....
>>
>> }
>>
>> Then I successfully displayed RSS feeds in my view. Everything
>> worked, the Simplepie caching and all. Which means that the (tiny)
>> Simplepie component can't be the problem.
>>
>> BUT my session! It was gone! I did a pr($_SESSION) and got an empty
>> array.
>>
>> Once I removed Simplepie from the $components array, the session came
>> right back, login credentials and everything.
>>
>> This has happened with a few other components in the past too. Anyone
>> have an explanation?
>
> The whitespace in the component file, or one of the vendor files it
> includes. Enable debug and check for that.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---