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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:59:42+00:00 2026-05-31T04:59:42+00:00

I am consistently getting an error when navigating between CakePHP plugins (that I coded).

  • 0

I am consistently getting an error when navigating between CakePHP plugins (that I coded).

I bootstrap them like this:

CakePlugin::loadAll(array(
    'OneTime' => array('bootstrap' => true),
    'Mango' => array('bootstrap' => true),
    'Intercape' => array('bootstrap' => true)
));

I link to them like this:

echo $this->Html->link($image,array('plugin'=>'intercape','controller'=>'tickets','action'=>'StepOne','agent'=>FALSE),array('escape'=>FALSE));

echo $this->Html->link($image,array('plugin'=>'mango','controller'=>'tickets','action'=>'StepOne','agent'=>FALSE),array('escape'=>FALSE));

I can clear my cache and navigate to a plugin, but if I use a link like the following one to go to the home page then the next time I try to click the other link I get a bug.

Clicking this link

echo $this->Html->link($image,array('plugin'=>'','controller'=>'agentusers','action'=>'dashboard','agent'=>TRUE), array('escape'=>FALSE));

gives this bug the next time I click the Intercape link (not the Mango link)

Fatal error: Class ‘MangoAppController’ not found in /var/www/mtn/app/Plugin/Mango/Controller/TicketsController.php on line 12

I have checked that Intercape does not reference Mango anywhere. Clearing my cache lets me click Intercape and use the plugin, but then Mango won’t work.

  • 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-31T04:59:43+00:00Added an answer on May 31, 2026 at 4:59 am

    It turns out that the problem was in using the same controller name in different plugins.

    Cake was caching where to look for controller source across plugin requests and so was looking for the wrong code.

    Renaming the controller solved the problem, but made the URL’s a bit messy 🙁

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

Sidebar

Related Questions

I have a program that looks like this. I need to consistently write something
A little background on this error: The customer getting this error message in their
Ok, I'm quite stumped here. I'm getting an error, eclipse/android is saying that my
I am getting a nullpointerexception randomly (i'm unable to reproduce the error consistently) in
I am getting this error in my VB.NET code. Anyone have ideas on what
So I keep getting this error when trying to compile C++ code using CodeBlocks.
We are getting this error InvalidOperationException userservice operation already in progress in our Silverlight
i am Consistently getting java.lang.OutOfMemoryError: PermGen space Error in Eclipse while opening any file
I'm getting this error intermittently on my MVC 2 web application. My models do
Not sure why I am getting this error in my logs. This error happens

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.