debugging - Installing ZFDebug toolbar on ZF 1.10+ -


i think it'll have zfdebug tutorial in so.

i wondering if use zfdebug toolbar zf 1.10+ (i'm using 1.11.2). have following code in bootstrap nothing seems happen:

protected function _initzfdebug() {     $autoloader = zend_loader_autoloader::getinstance();     $autoloader->registernamespace('zfdebug');      if ('development' == application_env) {      $options = array(        'jquery_path' => 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js',        'plugins' => array('variables',        'html',        'database' => array(),        'file' => array('basepath' => application_path . '/application'),        'memory',        'time',        'registry',        //'cache' => array('backend' => $cache->getbackend()),        'exception')      );      $debug = new zfdebug_controller_plugin_debug($options);       $this->bootstrap('frontcontroller');      $frontcontroller = $this->getresource('frontcontroller');      $frontcontroller->registerplugin($debug);     } } 

  1. make sure application_env set 'development'
  2. make sure have valid layout (with <head> , <body>)
  3. the basepath option should application_path . '/../'

Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -