It appears that your application is not using the same version of the Zend Framework as the one that created the project. Normally, that class constant would be defined.
To check your ZF version, do a var_dump of Zend_Version::VERSION. Also, your URLs should not link to .phtml files directly. Normally, view scripts are hidden completely from Apache. If you're using the default routes of ZF, your URLs will look more like /controller/action. I suggest going through the QuickStart if you haven't already. It should help give you a better idea of how a ZF application works. http://framework.zend.com/manual/en/learning.quickstart.intro.html -- Hector On Tue, Jul 6, 2010 at 6:57 AM, sathyashrayan <[email protected]> wrote: > > I am getting an error as following.. > > *Fatal error*: Undefined class constant 'EXCEPTION_NO_ROUTE' in * > C:\xampp\htdocs\works\office\my_tools\myhammer\application\controllers\ErrorController.php > * on line *11 > > * > > > -------- Original Message -------- Subject: Module's sub-directory link > (beginner Level question) Date: Tue, 06 Jul 2010 14:11:37 +0530 From: > sathyashrayan > <[email protected]> <[email protected]> To: > [email protected] > > Dear group, > I have created 2 modules named jobposter and jobprovider. so when i > give the url [sitepath]/public/ and [sitepath]/public/jobposter it goes > to the proper index.phtml page of that module. > In the module's index.phtml page I have created a link > > <a href="<?php echo > $this->baseUrl;?>/jobposter/register/register.phtml"> > ($this->view->baseUrl = $this->_request->getBaseUrl(); from init() of > controller) > > But it does not redirect to the specified page for registration. > Please suggest the topics for making this work in zend framework > terminology. If i want a header/ fotter where the page is constant > through out the site what are the options available? Do i have to read > zend_view or zend layout? Please advice. > >
