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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:34:49+00:00 2026-06-15T23:34:49+00:00

I have a CakePHP 2 app with DebugKit installed. It is working fine and

  • 0

I have a CakePHP 2 app with DebugKit installed. It is working fine and I get the memory usage and processing time in the “Timing” toolbar for each page I load.

What I also want to be able to do is get memory usage and processing times for ajax requests after the page has loaded. I am aware that I can access previous ajax requests using the “History” button in the DebugKit Toolbar, but this is doesn’t really help when I want to click around the page, firing ajax requests and get instant debugging information for them.

So, I did some searching and I found that I could use Firebug + FirePHP in Firefox along with the FirePHP and FireCake libraries in my app and get all of DebugKit’s stats on a per-ajax-request basis. This sounds perfect and exactly what I want to do.

Unfortunately, I can’t seem to get it to work. I could only find one tutorial on the matter at http://someguyjeremy.com/blog/using-firephp-to-debug-your-cakephp-app

I have done everything that tutorial mentions and Cake gives me no errors at all. However, unless I am missing something, I don’t see where in Firebug the debug info is being displayed, if indeed it is even being fed to Firebug in the first place.

My config:

Cake Version: 2.2.4

Firefox Version: 17.0.1

Firebug Version: tried with 1.11.1 and 1.9.0

FirePHP Version: 0.7.1

DebugKit Version: 2.2.0 (latest master branch)

UPDATE

It appears to work perfectly for Ajax requests that do not end in .json and, therefore, are not being picked up by the Router::parseExtensions('json'); I have in routes.php.

I took out Router::parseExtensions('json'); and changed my Ajax request to go for my filter action directly instead of calling it filter.json and Cake serves all of the FireBug headers. Unfortunately, I can’t use it like this because JQuery needs the content type to be application.json.

  • 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-15T23:34:50+00:00Added an answer on June 15, 2026 at 11:34 pm

    It looks like this might be a documented bug:

    http://cakephp.lighthouseapp.com/projects/42880/tickets/107-firephp-messages-are-not-sent-in-response-if-using-jsonxmlview-with-serialization

    My usage case is not exactly the same, but outputting json is stopping the FirePHP headers from appearing. If I turn off the parse extensions directive for json, the FirePHP headers appear as they should.

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

Sidebar

Related Questions

I have Cakephp app installed on a linux box. The Mysql Driver is installed
I have a cakePHP app working at http://domain1.com/domain2 , and want to point http://domain2.com/
I have a CakePHP (latest version) web app with forms and validation all working
I have a cakephp 1.3 app which get's a person's consent to participate in
I finally have my multilingual CakePHP 2.1 app almost working. First, I define the
Renaming database.php.default to database.php in \app\Config\ in CAKEPHP gives Error I have installed a
I'm working on a CakePHP 1.2 app where I don't have control over the
I have CakePHP app in which I'd like to attach gallery to multiple resources.
I have a CakePHP app that is being moved to Sql Server from MySql.
We have a cakephp app running on 2.0 and we seem to be having

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.