Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/03/2013, 13:39
Avatar de barracuda8220
barracuda8220
 
Fecha de Ingreso: enero-2013
Ubicación: San Andres Islas
Mensajes: 27
Antigüedad: 11 años, 3 meses
Puntos: 0
Respuesta: Error en Proyecto Ejemplo

Este es el archivo y su ubicación

proyecto\module\Album\config\module.config.php

Código PHP:
<?php
return array(
  
'controllers' => array(
    
'invokables' => array(
      
'Album\Controller\Album' => 'Album\Controller\AlbumController',
    ),
  ),
  
'router' => array(
    
'routes' => array(
      
'album' => array(
        
'type' => 'segment',
        
'options' => array(
          
'route' => '/album[/:action][/:id]',
          
'constraints'=> array(
            
'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
            
'id'=>'[0-9]+',
          ),
          
'default' => array(
            
'controller'=> 'Album\Controller\Album',
            
'action' => 'index',
          ),
        ),
      ),
    ),
  ),
  
  
'view_manager' => array(
    
'template_path_stack' => array(
      
'album' => __DIR__.'/../view',
    ),
  ),
);
?>
y esta es la direccion del tutorial

http://framework.zend.com/manual/2.1/en/user-guide/routing-and-controllers.html