hi,

thank you for your answer.
i made some additional tests and if i use RC1 the view cache works
well, but with RC2 i've got the errors mentioned before.

as i see from the call stack the problem is in the searchbox.ctp.

FormHelper->create( )   ../searchbox.ctp:2
FormHelper->hidden( )   ../form.php:202
Helper->__initInputField( )     ../form.php:948
Helper->setEntity( )    ../helper.php:612

this is the line in the searchbox.ctp:

<?php echo $form->create('Search', array('controller'=>'search',
'action'=>'index')); ?>

this is the related model:

<?php
class Search extends AppModel {
        var $name = 'Search';
        var $useTable = false;

}?>

fragment from my layout:

<div id="header">
        <cake:nocache>
                <?=$this->element('searches/searchbox')?>
                <?=$this->element('menu/topmenu')?>
        </cake:nocache>
</div>

if you need some more code or any debug information, please answer the
post.

thanks,

gbk


On júl. 8, 16:47, Gwoo <[EMAIL PROTECTED]> wrote:
> View caching is only supported with files. You can use other engines
> for the core, model, and custom caching, but view caching always needs
> to create files. This is due to the way files are rendered and
> included where other caching mechanisms would require different
> approach. For now, we have chosen to leave view caching as is.
>
> Now the question of why your Model is not found is a different story.
> I would have to see more code for that.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to