
Hola buenas, he decidido probar Zend Framework, y no entiendo porque no funciona, es mi primer contacto con este Framework y no se muy bien que hacer.
He seguido el siguiente tutorial, http://rhythmiclife.com/tutorials/in...rk-hello-world
Yo he añadido al front controller (index.php) el siguiente código para capturar la exception:
Código PHP:
   // Dispatch the request using the front controller. 
try {
    $frontController->dispatch();
} catch (Zend_Exception $e) {
    echo "<h1>Caught exception:</h1> " . get_class($e) . "<br><br>\n\r";
    echo "<strong>Message:</strong> " . $e->getMessage() . "\n";
// Other code to recover from the error
} 
    Caught exception:
Zend_Controller_Dispatcher_Exception
Message: Invalid controller specified (index)
Un saludo!
 
 



