Ver Mensaje Individual
  #16 (permalink)  
Antiguo 21/05/2011, 10:31
Avatar de masterpuppet
masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 3 meses
Puntos: 845
Respuesta: Zend framework: Error de HTTP 500 (Internal Server Error):

El resource.router debería ser algo así:

Código INI:
Ver original
  1. resources.router.routes.contact.route = "/contact/Me"
  2. resources.router.routes.contact.defaults.module = "default"
  3. resources.router.routes.contact.defaults.controller = "contact"
  4. resources.router.routes.contact.defaults.action = "index"

Y luego para generar el link así:
Código HTML:
Ver original
  1. <a href="<?php echo $this->url(array(), 'contact'); ?>">Contact Me</a>

Y con el frontController como esta, debería cargar por defecto /home, lo esta haciendo ?
__________________
http://es.phptherightway.com/
thats us riders :)