Hey all,
I now found out, that including
if (!class_exists('cakesession')) {
require LIBS . 'session.php';
}
helps, but it seems a bit of a hack to me.
Is there a more elegant solution, which you can tell me?
Cheers,
volka
On 12 Dez., 18:39, volka <[email protected]> wrote:
> Hey all,
> i just downloaded the package "attach_this" from the forge section and
> try to get it running.
> The author auf attach_this has overwritten "session" by putting a new
> "session.php" in "app/components/"
>
> When running the code it says:
>
> Fatal error: Class 'CakeSession' not found in
> <[...]>app\controllers\components\session.php on line 39
>
> What is wrong?
>
> In core.php I configured:
> Configure::write('Session.save', 'database');
> Configure::write('Session.table', 'sessions');
> Configure::write('Session.database', 'default');
>
> which actually works, since it stores sessions in that table..
>
> Does someone has a hint?
>
> Thanks in advance!
>
> Cheers,
> volka
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---