Posted by Jared on 01/10/07 22:19
I just migrated to Zend Framework 0.6.0.
Code which was previously working is now generating this error:
Fatal error: Uncaught exception 'PDOException' with message
'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'eca.part'
doesn't exist' in
/var/www/localhost/htdocs/echo/library/Zend/Db/Adapter/Pdo/Abstract.php:119
The table DOES exist, and I can query it fine from mysql command line.
It looks like a PDO::prepare error, for that is what is happening on
line 119, simply a call to _connection->prepare($sql).
The SQL statement is a vanilla SELECT with no joins, from a single
table. This error comes up with every SELECT query I run on any table.
Does anyone recognize this problem?
-Jared
[Back to original message]
|