Hello all.
I don't know if this is the correct list to post this. If it is not, i am
sorry.
I've upgraded my app to the Zend Framework Previw to 0.8.0 and my app work
fine with the 0.7.0 version.
The source code is:
$frontController = Zend_Controller_Front::getInstance();
$frontController->setParam('useModules', true);
$frontController->setBaseUrl($baseUrl);
$frontController->setControllerDirectory('./application/controllers');
$frontController->throwExceptions(true);
Please, what am i doing wrong?
Now it displays the following error:
Zend_Controller_Dispatcher_Exception Object
(
[message:protected] => Invalid controller specified (pesquisa)
[string:private] =>
[code:protected] => 0
[file:protected] =>
D:\DEV\apache\Apache2\htdocs\lagosdf\library\Zend\Controller\Dispatcher\Standard.php
[line:protected] => 176
[trace:private] => Array
(
[0] => Array
(
[file] =>
D:\DEV\apache\Apache2\htdocs\lagosdf\library\Zend\Controller\Front.php
[line] => 750
[function] => dispatch
[class] => Zend_Controller_Dispatcher_Standard
[type] => ->
[args] => Array
(
[0] => Zend_Controller_Request_Http Object
(
[_requestUri:protected] =>
/lagosdf/pesquisa/pesquisar/principal
[_baseUrl:protected] => /lagosdf
[_basePath:protected] =>
[_pathInfo:protected] =>
/pesquisa/pesquisar/principal
[_params:protected] => Array
(
[controller] => pesquisa
[action] => pesquisar
[principal] =>
[module] => default
)
[_aliases:protected] => Array
(
)
[_dispatched:protected] => 1
[_module:protected] => default
[_moduleKey:protected] => module
[_controller:protected] => pesquisa
[_controllerKey:protected] => controller
[_action:protected] => pesquisar
[_actionKey:protected] => action
)
[1] => Zend_Controller_Response_Http Object
(
[_body:protected] => Array
(
)
[_exceptions:protected] => Array
(
)
[_headers:protected] => Array
(
)
[_headersRaw:protected] => Array
(
)
[_httpResponseCode:protected] => 200
[_renderExceptions:protected] =>
[headersSentThrowsException] => 1
)
)
)
[1] => Array
(
[file] => D:\DEV\apache\Apache2\htdocs\lagosdf\index.php
[line] => 57
[function] => dispatch
[class] => Zend_Controller_Front
[type] => ->
[args] => Array
(
)
)
)
)
Thank you.
--
adler medrado
Nesher Technologies
BrasÃlia, DF, Brasil.
http://www.neshertech.net
http://adler.neshertech.net