0

I have run zend framework project which is downloaded from live site, in localhost. All are working fine. But in front page, The following errors are shown.

There was an error.

Exception information:

Message: Action Helper by name GetEnvPath not found

Stack trace:

#0 D:\xampp\htdocs\hyperspace_dev\library\Zend\Controller\Action\HelperBroker.php(293):   Zend_Controller_Action_HelperBroker::_loadHelper('GetEnvPath')
#1 D:\xampp\htdocs\hyperspace_dev\library\Zend\Controller\Action\HelperBroker.php(323): Zend_Controller_Action_HelperBroker->getHelper('getEnvPath')
#2 D:\xampp\htdocs\hyperspace_dev\application\controllers\CustomerController.php(390): Zend_Controller_Action_HelperBroker->__call('getEnvPath', Array)
#3 D:\xampp\htdocs\hyperspace_dev\application\controllers\CustomerController.php(390): Zend_Controller_Action_HelperBroker->getEnvPath()
#4 D:\xampp\htdocs\hyperspace_dev\library\Zend\Controller\Action.php(516): CustomerController->accountAction()
#5 D:\xampp\htdocs\hyperspace_dev\library\Zend\Controller\Dispatcher\Standard.php(308): Zend_Controller_Action->dispatch('accountAction')
#6 D:\xampp\htdocs\hyperspace_dev\library\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#7 D:\xampp\htdocs\hyperspace_dev\library\Zend\Application\Bootstrap\Bootstrap.php(97): Zend_Controller_Front->dispatch()
#8 D:\xampp\htdocs\hyperspace_dev\library\Zend\Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#9 D:\xampp\htdocs\hyperspace_dev\index.php(36): Zend_Application->run()
#10 {main}
Request Parameters:

array (
'controller' => 'customer',
'action' => 'account',
'module' => 'default',
)

Front page means After getting login the redirected page And also controller are not called here

I have searched lot of things.But still now i can't resolved.

If anybody met this same problem, Please save me guys

2 Answers 2

1

The actionhelper GetEnvPath cannot be found. Your request and controller are probably right. I would suggest checking if it does exists and if so, if the filename and call have the right case (case sensitivity).

Sign up to request clarification or add additional context in comments.

11 Comments

You mean in application.ini file
No, in your CustomerController.php on line 390 you're calling the GetEnvPath helper which does not exists.
in line no 390,i have this line $this->view->envPath = $this->_helper->getEnvPath();
Like RMK said, it's probably a case sensitivity issue if it works in one place and not the other. See if you have a file at application/controllers/helpers/GetEnvPath.php. If so, GetEnvPath.php is what the filename should be (case sensitive)
Okay, so what's the filename in \hyperspace_dev\library\My\Action?
|
0

enable php.ini openssl

it will work ...

:) Cheers Neil

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.