I am using Zend Framework (1.11.11) with Doctrine (1.2.4) and two operating systems (Ubuntu 10.04 and Windows XP), and there is strange behavior in my application. I try to do 2 main things (this is part of my IndexController):
$this->view->items = Doctrine::getTable('Prelekcje')->findAll(); // 1 line $this->view->item = Doctrine::getTable('Prelekcje')->find(2); // 2 line
On Windows it works correctly and I have no problems. On Linux (Ubuntu), the first line works - I get data from the database and display it in the view. The second line does not work - an empty site (Firefox) or 324 (net :: ERR_EMPTY_RESPONSE) (Chrome) is displayed.
I tried several things using Doctrine, but it only works when I select all the records from the database. If I add a WHERE clause or something even more complex, everything will disappear with a 324 error.
source share