Ver Mensaje Individual
  #7 (permalink)  
Antiguo 12/05/2011, 14:16
phpdevelopment
 
Fecha de Ingreso: mayo-2011
Mensajes: 256
Antigüedad: 13 años
Puntos: 5
Respuesta: Zend framework: Error de HTTP 500 (Internal Server Error):

lo tengo asi en el bootstrapt
Código PHP:
 protected function _initRouting()
    {

        
$router $front->getRouter();
        
$router $this->getPluginResource('Router')->getRouter();
        
$router->removeDefaultRoutes();

        return 
$router;
    } 
si pongo:
http://localhost/fjcv/public/

sale este error..
Uncaught exception 'Zend_Controller_Router_Exception' with message 'No route matched the request'

si hago asi:
Código PHP:
protected function _initRouting()
    {
        
$router Zend_Controller_Front::getInstance()->getRouter();
   } 
va al modulo default y al controllador index , y si funciona...pero quiero q vaya al
controlador home.. y la accion Index.


Gracias por la ayuda.