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 7605083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:04:37+00:00 2026-05-31T00:04:37+00:00

When I register view helpers in application.ini , I have to make sure that

  • 0

When I register view helpers in application.ini, I have to make sure that there is not a space between APPLICATION_PATH and /my/view/helper/path. For example:

; Note that there is not a space after APPLICATION_PATH.
; This is the only way that I can get the helper path registered
resources.view.helperPath.MyNamespace_Zend_View_Helper = APPLICATION_PATH'/my/view/helper/path'

The following will not work and thus throw an exception stating that the “Plugin” was not found, which of course is “Zend” speak for “I can’t find the path to your class”:

; Note the space directly after 'APPLICATION_PATH' - this will not work!
resources.view.helperPath.MyNamespace_Zend_View_Helper = APPLICATION_PATH '/my/view/helper/path'

To drive the point home a little more, the space works in all other cases. For example:

; All three of the following examples have a space 
; after APPLICATION_PATH - and they work!
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
  • 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-05-31T00:04:38+00:00Added an answer on May 31, 2026 at 12:04 am

    I notice you’re using single-quotes in your non-working examples and double-quotes in your working ones.

    From the comments on parse_ini_file()

    Constants in ini files are not expanded if they are concatenated with strings quoted with single quotes, they must be in double quotes only to make constants expanded.

    Simple answer, always wrap your ini file values in double-quotes.

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

Sidebar

Related Questions

I have a User model. It has register view containing a form that looks
I have this view Helper: $this->addElement('text','evt_amtpersons', array( 'description' => '<a id=buyCredit href=/user/register target=_blank>Dit is
I have a CakePHP application that allows a user to register and post projects.
Is there a way to view the register contents in each stack frame in
Im writing an app that will display the register view depending if is first
At the start of my application i make my users to register first then
I have an application that uses MVVM. I have several items on the main
I have a custom Action Helper that is working fine. It's generating a dynamic
i've a login view presented as a ModelViewController and i have a register view
In my scenario, the users can not register, there will be an admin, and

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.