Can you explain why there should be an err?

On Sunday, May 20, 2012 8:59:10 PM UTC+2, Florin Trifu wrote:
>
> With this line of code I don’t receive errors anymore, but that is not 
> correct either, cause there should be an error.
>
>  
>
> Thank you!
>
>  
>
> *From:* [email protected] [mailto:[email protected]] *On 
> Behalf Of *majna
> *Sent:* Sunday, May 20, 2012 2:28 PM
> *To:* [email protected]
> *Subject:* Re: Table 'cakehr.cake_errors' doesn't exists
>
>  
>
> Instead of:
> echo $this->Form->create(array('id'=>'search'));
> try:
> echo $this->Form->create(false, array('id'=>'search'));
>
> On Sunday, May 20, 2012 1:04:14 PM UTC+2, Florin Trifu wrote:
>
> Hi Majna
>
> The entire content of menu.ctp is this:
>
> <div id="menu-wrapper">
>     <div id="menu-section-left">
>         <div class="menu-element-selected">
>             <?php echo $this->Html->link('button1', 
> array('controller'=>'companies', 'action'=>'index'), 
> array('class'=>'menu-element-link'))?>
>         </div>
>         <div class="menu-element">
>             <?php echo $this->Html->link('button2', 
> array('controller'=>'companies', 'action'=>'index'), 
> array('class'=>'menu-element-link'))?>
>         </div>    
>         <div class="menu-element">
>             <?php echo $this->Html->link('button3', 
> array('controller'=>'companies', 'action'=>'index'), 
> array('class'=>'menu-element-link'))?>
>         </div>    
>         <div class="menu-element">
>             <?php echo $this->Html->link('button4', 
> array('controller'=>'companies', 'action'=>'index'), 
> array('class'=>'menu-element-link'))?>
>         </div>    
>     </div>
>     <div id="menu-section-right">
>         <div id="logout-container">
>             <?php echo $this->Html->link(
>                         $this->Html->image('logout_btn.gif', 
> array('alt'=>'logout', 'border'=>'0', 'id'=>'logout-btn')),
>                         array('controller'=>'users', 'action'=>'logout'), 
>                         array('escape'=>FALSE)); ?>    
>         </div>
>         <div id="search-form-container">
>             <?php 
>                 echo $this->Form->create(array('id'=>'search'));
>                 echo $this->Form->input('search_criteria', 
> array('label'=>false, 'id'=>'search-criteria'));
>                 echo $this->Form->submit('',array('id'=>'search-button', 
> 'type'=>'image', 'src'=>'/img/search_btn.gif'));
>                 echo $this->Form->end();
>             ?>
>         </div>
>     </div>        
> </div>
>
>
> I am using cakePHP 2.0.3.
>
> Thank you!
>
> On Sun, May 20, 2012 at 11:22 AM, majna <[email protected]> wrote:
>
> can you paste this code C:\wamp\www\test\app\View\Elements\menu.ctp(25)
> and cake version
>
>
>
> On Saturday, May 19, 2012 9:39:43 PM UTC+2, Florin Trifu wrote:
>
> Excuse me. I think I didn't understand what you wanted to say.
>
> You imply that the error is generated because the table test.cake_errors 
> doesn't exists? 
> I don't even think it should. I am not using it, and if you look carefully 
> you will see that this is not a standard error for when a table is missing.
>
> On Sat, May 19, 2012 at 10:20 PM, Tilen Majerle <[email protected]> 
> wrote:
>
> Table 'test.cake_errors' doesn't exist
>
> --
>
> Lep pozdrav, Tilen Majerle
>
> http://majerle.eu
>
>
>
> 2012/5/19 Florin Trifu <[email protected]>
>
> Table 'test.cake_errors' doesn't exist
>
>  
>
> -- 
> 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
> [email protected] For more options, visit this group 
> at http://groups.google.com/group/cake-php
>
>
>
>
> -- 
> Florin Trifu
>
> -- 
> 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
> [email protected] For more options, visit this group 
> at http://groups.google.com/group/cake-php
>
>
>
>
> -- 
> Florin Trifu
> Mobile: +40 728 300 750
>
> -- 
> 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
> [email protected] For more options, visit this group 
> at http://groups.google.com/group/cake-php
>

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to