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

  • Home
  • SEARCH
  • 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 4026736
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:00:32+00:00 2026-05-20T11:00:32+00:00

got a bit of a problem with Zend not adding the base url into

  • 0

got a bit of a problem with Zend not adding the base url into routes i think.

What i have is as follows:

application
    modules
        menu

public
    menu
        css
        js
        index.php

    index.base.php

I am using the function

<?php echo $this->url(array('module' => 'module1'), 'menu-install'); ?>

With the route:

$router->addRoute('menu-install', new Zend_Controller_Router_Route('/install/:modulePath', array('module' => 'menu', 'controller' => 'install', 'action' => 'install')));

Which is outputting http://menu/install/module1/ instead of http://localhost:8888/menu/install/module1/

Any ideas whats going on?

  • 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-20T11:00:33+00:00Added an answer on May 20, 2026 at 11:00 am

    Try ro write this(in bootstrap for example)

    Zend_Controller_Front::getInstance()->setBaseUrl('/');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a bit of a problem. My application communicates with BizTalk to extract
Got a bit of a mind freeze at the moment. I have the following
I've got a bit problem. My program throws segmentation fault when returning zero in
I got a bit of a problem. Related to my earlier questions about Slipstreamed
I've got a bit of a problem. I'm moving my source repository from one
I've got a bit of a problem with a Facebook integration. When my users
I've got a bit of a problem with making my data loading and filtering
I've got a bit of a problem with some jquery. The code works fine,
Hello I've got a bit of a problem. I'm trying to use WMI to
I've got a bit of a problem. Essentially, I need to store a large

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.