is displaying fine on my local server. I have the following in the
students_controller:
function add(){
$this->Session->setFlash('Your child\'s admission has been
received. We will send you an email shortly.');
}
I have the following in default.ctp(the layout file) and add.ctp:
echo $this->Session->flash();
the /app/tmp folder and all the folders within that have the
permission 777.
I had also put debug($this->Session->read()); in the
students_controller and it is giving:
Array
(
[_Token] => a:5:{s:3:"key";s:
40:"39a5e70df521f8f175d20060abb261b69611f0a1";s:7:"expires";i:
1327392309;s:18:"allowedControllers";a:0:{}s:14:"allowedActions";a:0:{}
s:14:"disabledFields";a:0:{}}
[Message] => Array
(
[flash] => Array
(
[message] => Your child's admission has been
received. We will send you an email shortly.
[element] => default
[params] => Array
(
)
)
)
)
In app_controller.php:
var $helpers = array('Html','Form','Ajax','Javascript','Session');
var $components=array('Auth','Session','Cookie');
In core.php, I've tried setting:
Configure::write('debug', 0); instead of Configure::write('debug',
2);
Configure::write('Session.save', 'cake'); instead of
Configure::write('Session.save', 'php');
I have no blank spaces after or before <?php and ?> in routes.php.
Can someone help me out? What mistake am I making?
--
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
No comments:
Post a Comment