Zend Framework: Column not found: 1054 Unknown column in field list

When Zend throws this error

Column not found: 1054 Unknown column in field list

it usually means that there is a problem with your database query. But in my case I echoed the query and directly tried it in phpmyadmin, where it worked just fine. So heed my warning: Zend’s handling the database is actually case-sensitive. I had accidentally called my table Infotable instead of infotable. Phpmyadmin could handle it just fine, Zend Framework couldn’t.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.