Zend Framework - Zend Tool - Module error: I have error after I create module with Zend Tool

Posted by Yosef on Stack Overflow See other posts from Stack Overflow or by Yosef
Published on 2010-06-08T12:43:18Z Indexed on 2010/06/08 13:02 UTC
Read the original article Hit count: 874

Filed under:
|
|

Hi,

I new in zend framework.

I create zend project with zend tool and its works , but i create module and when i try access him with browser I get Error.

I write my steps, please help me.

Thanks,

Yosef

My steps:

  1. $ sudo zf create project mystore
  2. put Zend library inside library

test: http://localhost/mystore/public/ (working)

Add module store (not working)

  1. $ sudo zf create module store
  2. add to application.ini path to modules

    resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"

    resources.modules = ""

test1: http://localhost/mystore/public/store/

test2: http://localhost/mystore/public/store/public/

test3: http://localhost/mystore/public/modules/store/public/

test1+2+3 result:

An error occurred
Page not found
Exception information:

Message: Invalid controller specified (index.php)
Stack trace:

#0 /var/www/mystore/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#1 /var/www/mystore/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#2 /var/www/mystore/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#3 /var/www/mystore/public/index.php(25): Zend_Application->run()
#4 {main}  

Request Parameters:

array (
  'module' => 'store',
  'controller' => 'index.php',
  'action' => 'index',
)  

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about zend