I've been testing having a ZF 1.11 site with an Apache server for several weeks now. I attempted to operate some tests today and my website just hung (joined url and my browser just states awaiting an answer from ...). I'm very good at fixing exceptions during my code however i never even have an exception. I have to have transformed something however i have spent 5 hrs about this to date and i'm stuck.

I've switched the website from https to http (and restarted httpd many occasions).

I rejuvenated my php code from things i have focusing on a production server (clone of dev server with various certs.)

I transformed logging to debug within the httpd conf file.

I can tell the debug messages within the log after i hit the server:


[Tue November 22 12:40:25 2011] [debug] proxy_util.c(1818): proxy: snapped up scoreboard slot  in child 30181 for worker proxy:reverse

[Tue November 22 12:40:25 2011] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized

[Tue November 22 12:40:25 2011] [debug] proxy_util.c(1934): proxy: initialized single connection worker  in child 30181 for (*)

I can tell the access time around the Bootstrap.php file change each time I refresh the browser. checked out the httpd logs and that i begin to see the request but all I see may be the request.

Sometimes the modified time on my small controller (IndexController.php) updates although not always ??

I initialize the logger during my Bootstrap and so i added a phone call to print a note stating that the road have been hit. Following a typo that created the best message within the browser, Now i get messages during my log sometimes... although not always.

I'm able to access files during my public/images directory with the browser all right. Another site about this server also works.

I up-to-date php.ini to transmit debug messages to syslog and aside from the exception I pointed out above. I don't use whatever errors.

I believe things i require is some guidance regarding how to stick to the flow with the Zend framework. I'm speculating the issue is within the Bootstrap or shortly after that. Here's my Bootstrap.php. It's really quite simple.

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {

    // anything here that starts with "_init" will be run at startup

    protected function _initSession() {
        $doctypeHelper = new Zend_View_Helper_Doctype();
        $doctypeHelper->doctype('XHTML1_TRANSITIONAL');

        Zend_Session::start();

    }

    protected function _initLog() {
        $options = $this->getOptions();
        $logpath = $options['logpath'];

        $logger = new Zend_Log();
        $writer = new Zend_Log_Writer_Stream($logpath);
        $logger->addWriter($writer);

        Zend_Registry::set("logger", $logger);

        $logger->log("Bootstrap.php - initLog complete", Zend_Log::INFO);
    }

    public function _initDbAdapter() {
        $resource = $this->getPluginResource('multidb');
        $resource->init(); // Don't forget to initialize the resource first

        $cpDB = $resource->getDb('cp');
        $openfireDB = $resource->getDb('openfire');

        Zend_Registry::set('cpDB', $cpDB);
        Zend_Registry::set('openfireDB', $openfireDB);

    }
}

Any pointers could be appreciated.

Ken

This isn't a php error. Is definitely an Apache one, most likely related to Apache upgrade.Attempt to disable proxy related modules in Apache. Check this out discussion.

a2dismod proxy proxy_connect proxy_ftp proxy_http  proxy_ajp proxy_balancer proxy_html proxy

xdebug was things i needed to determine what happening. Thanks John