324 No response error in Ubuntu 10.04, but works in Windows

ぐ巨炮叔叔 提交于 2019-12-12 01:56:38

问题


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 a strange behaviour in my application. I try do do 2 basic things (This is the 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 properly and I don't have any troubles. In Linux (Ubuntu) first line works - I get the data from DB and display it in the view. Second line doesn't work - it displays blank site (Firefox) or 324 (net::ERR_EMPTY_RESPONSE) (Chrome).

I tried few things with Doctrine, but it works only when I'm selecting all records from DB. If I add WHERE clause or anything more complicated to this - everything is gone with 324 error.

来源:https://stackoverflow.com/questions/8772586/324-no-response-error-in-ubuntu-10-04-but-works-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!