Hi everyone!

i have a module called "Stock". The directory that contains the directories Controller, Model and Form which, in turn, is under the directory scr ... Should have the same name as the module?

When I name it "stock" works, if appointed otherwise, does not work (can not find the controller class).

Working Example

module
  ->Stock
    ->config
    ->src
        ->Stock
          ->Controller
             ->MarcaController
          ->Form
          ->Model
    ->view


Not Working example
  ->Stock
    ->config
    ->src
        ->Marca
          ->Controller
             ->MarcaController
          ->Form
          ->Model
    ->view


i change settings in module.config.php but i´m getting:

Fatal error: Class 'Album\Controller\AlbumController' not found in C:\xampp\htdocs\zf2tutorial\vendor\zendframework\zendframework\library\Zend\ServiceManager\AbstractPluginManager.php on line 170

thanx!


--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to