Thursday, March 17, 2011

Using database session consumes all memory

Hi,

I am having a little difficult and was wondering if any one could
help. If I run my site with the following core settings
Configure::write('Session.save', 'php');
my site loads up, but when I change to try use the database to store
the session I run out of memory.
In setting up the database session I did the following
Step 1: (console) ./cake schema create sessions
Step 2: (console) ./cake bake ... (baked CakeSession Model)
Step 3: Update core.php
Configure::write('Session.save', 'database');
Configure::write('Session.model', 'CakeSession');

Now when the page loads no no mater how big I set my php memory I get
Fatal error: Allowed memory size of

Kind Regards
Wilhelm


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate