Hi

I have sent this problem a while ago but no one replied. I'm sending it
again since it's important for me and I don't know if it was
just a stupid question or no one didn't knew what to answer.

I will also add the entire error maybe it will be more intuitive:

*Fatal Error* (256): [PDOException] SQLSTATE[42S02]: Base table or
view not found: 1146 Table 'test.cake_errors' doesn't exist
#0 C:\wamp\www\test\lib\Cake\Model\Datasource\DboSource.php(436):
PDOStatement->execute(Array)
#1 C:\wamp\www\test\lib\Cake\Model\Datasource\Database\Mysql.php(307):
DboSource->_execute('SHOW FULL COLUM...')
#2 C:\wamp\www\test\lib\Cake\Model\Model.php(1209):
Mysql->describe(Object(AppModel))
#3 C:\wamp\www\test\lib\Cake\View\Helper\FormHelper.php(198): Model->schema()
#4 C:\wamp\www\test\lib\Cake\View\Helper\FormHelper.php(450):
FormHelper->_introspectModel('CakeError', 'fields')
#5 C:\wamp\www\test\app\View\Elements\menu.ctp(25): FormHelper->create(Array)
#6 C:\wamp\www\test\lib\Cake\View\View.php(598): include('C:\wamp\www\tes...')
#7 C:\wamp\www\test\lib\Cake\View\View.php(320):
View->_render('C:\wamp\www\tes...', Array)
#8 C:\wamp\www\test\app\View\Layouts\default.ctp(72): View->element('menu')
#9 C:\wamp\www\test\lib\Cake\View\View.php(598): include('C:\wamp\www\tes...')
#10 C:\wamp\www\test\lib\Cake\View\View.php(414):
View->_render('C:\wamp\www\tes...')
#11 C:\wamp\www\test\lib\Cake\View\View.php(376):
View->renderLayout('SQLSTATE[42...', 'default')
#12 C:\wamp\www\test\lib\Cake\Controller\Controller.php(900):
View->render('error500', NULL)
#13 C:\wamp\www\test\lib\Cake\Error\ExceptionRenderer.php(280):
Controller->render('error500')
#14 C:\wamp\www\test\lib\Cake\Error\ExceptionRenderer.php(255):
ExceptionRenderer->_outputMessageSafe('error500')
#15 [internal function]: ExceptionRenderer->pdoError(Object(PDOException))
#16 C:\wamp\www\test\lib\Cake\Error\ExceptionRenderer.php(165):
call_user_func_array(Array, Array)
#17 C:\wamp\www\test\lib\Cake\Error\ErrorHandler.php(127):
ExceptionRenderer->render()
#18 [internal function]: ErrorHandler::handleException(Object(PDOException))
#19 {main} [*CORE\Cake\Error\ErrorHandler.php*, line *136*]

Thank you in advance!

On Sat, May 5, 2012 at 7:20 PM, Florin Trifu <[email protected]
> wrote:

> Did anyone encountered this error:
>
> [PDOException] SQLSTATE[42S02]: Base table or view not found: 1146 Table
> 'cakehr.cake_errors' doesn't exist
>
> ?
>
> I have no idea why this is happening. The problem is that I can't see the
> errors because they are nested inside a div having the
> id="search-form-container".
> If I delete that id the error is printed but the entire page is
> re-rendered.
>
>
> Best regards!
>



-- 
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

Reply via email to