Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8752845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:18:44+00:00 2026-06-13T13:18:44+00:00

I recently started a new zend framework project. I created all the db-table models,

  • 0

I recently started a new zend framework project. I created all the db-table models, models, controllers, actions, forms and enabled layouts via the ZF Tool. All of the items I created show up in .zf-project.xml.

I then set about setting up the first header and footer for the default layout. At the bottom of this layout is a footer nav section with several links for example:

    <a href="/howitworks">How it Works</a>

When this is clicked it should navigate to the index controller / howitworksAction however it doesn’t. Instead I get an error stating:

    Message: Invalid controller specified (howitworks)

    **Stack trace:**

    #0 /usr/share/php/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #1 /usr/share/php/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
    #2 /usr/share/php/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
    #3 /var/www/vhosts/lokals.mediagiantdesign.com/httpdocs/public/index.php(26): Zend_Application->run()
    #4 {main}  
    Request Parameters:

    array (
      'controller' => 'howitworks',
      'action' => 'index',
      'module' => 'default',
    )  

If I force the URL to /index/howitworks it works fine. I am totally thrown off by this as this is the first Zend application that I have built where this has ever happened. In previous applications this linking worked right out of the box. I haven’t setup a custom router, the bootstrap is barebones. So I have no idea why this isn’t working.

I thought zend first looked for a controller matching the controller, if not found it looked in index looking for an action that matched, and if that wasn’t found, it would assume it was a file in /public. If that’s the case, then what am I missing here?

Thanks in advance.
Rick

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:18:44+00:00Added an answer on June 13, 2026 at 1:18 pm

    By default the URL domain.com/howitworks will refrence indexAction in howitworksController. If that isn’t found Zend will continue to the error controller to findout how to hande the error. It does not go to the indexcontroller by default unless you have a route or some errorhandling in the errorController that tells Zend to use this fallback

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently started a new personal project to learn Entity Framework. My end goal
I'm new to PHP and I recently started learning Zend Framework. What DAL are
Just started a new job, working with the zend framework, the project is essentially
I've recently started my new private project. The main goal which I want to
I've recently started a new project in C#, and, as I was coding some
I have recently started a new job and noticed that all the SQL tables
I've recently started a new web development project for an embedded device and wanted
I recently started a new project using iOS 5 with UIStoryBoards (awesome feature;)). Especially
I have recently started a new C++ project and I intend to make it
I recently started a little project in PHP, I'm sort of new to this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.