ddrake / kohana_demo

A demo application for Kohana (3.1.2 - 3.2)
30 stars 2 forks source link

cookie and session problems #5

Open sineld opened 12 years ago

sineld commented 12 years ago

Hi,

Some errors occurred when I have installed your work.

I added a line like below into bootstrap.php Cookie::$salt = 'amcadedi';

and created a file named session.php in config folder including these lines: <?php

return array('native' => array(
'name' => 'session_name',
'encrypted' => TRUE,
'lifetime' => 24 * 3600,
'group' => 'write',
'table' => 'sessions',
'columns' => array(
    'session_id'  => 'session_id',
    'last_active' => 'last_active',
    'contents'    => 'contents'
),
'gc' => 500,

),

);

than everything started to work like a charm! :) Thanks.

ddrake commented 12 years ago

Hi sineld,

Sorry for the slow response. I haven't encountered the issues you were having on the servers I've tested on. Maybe your server doesn't support native session storage, which this demo application uses. Your comments may be helpful for others so I'll leave this issue open.

Thanks!

youngpac commented 10 years ago

Hey Ddrake, i have installed this demo but im having an issues the application says ErrorException [ Recoverable Error ]: Object of class View_Pages_Album_List could not be converted to string where do i start?