Hellow Friend,
If you are facing Element Not Found (notic-1024) error After saving,editing,deleting data in cakePHP.
This Error Comes from this line in your Code or setFlash Error.
$this->Session->setFlash('Your_Message!');
First Check Elements folder inside Your_local_dir/App/View/
if it's not available then Create Elements Folder inside your_local_dir/App/View/Elements
then Make a file named default.ctp
in View/Elements
folder
Write the following code in that file
<?php echo $message; ?>
and write the following code where you want to show the message
<?php echo $this->Session->flash(); ?>
0 Comment(s)