Because I intentionally made a typo inside the code. Now, there is an error, I have found it, but for some unknown reason by me, is imbricated inside the HTML page.
The page is re-rendered and it is putted after the search form. This means that if I want to see the error, I have to look at the source code and then navigate inside it because the error will not be printed on the page. If an error occurs, it is normal that cakePHP re-renders the page or it's just something wrong with what I've did? Thank you! From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of majna Sent: Sunday, May 20, 2012 10:07 PM To: cake-php@googlegroups.com Subject: Re: Table 'cakehr.cake_errors' doesn't exists 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: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of majna Sent: Sunday, May 20, 2012 2:28 PM To: cake-php@googlegroups.com 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 <majna...@gmail.com> 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 <tilen.maje...@gmail.com> wrote: Table 'test.cake_errors' doesn't exist -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/5/19 Florin Trifu <florin.catalin.tr...@gmail.com> 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 cake-php+unsubscr...@googlegroups.com <mailto:cake-php%2bunsubscr...@googlegroups.com> 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 cake-php+unsubscr...@googlegroups.com <mailto:cake-php%2bunsubscr...@googlegroups.com> 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 cake-php+unsubscr...@googlegroups.com 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 cake-php+unsubscr...@googlegroups.com 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php