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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:06:39+00:00 2026-06-10T14:06:39+00:00

we get stack trace when an error occurs in the execution, like in the

  • 0

we get stack trace when an error occurs in the execution, like in the following picture .

see this

I would like to see this tracing at the bottom of the page every time I executes a page. ( even without errors) so that I can find out what are the pages ran and what is happening inside the framework

How can I activate this ?

Thank you very much

  • 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-10T14:06:40+00:00Added an answer on June 10, 2026 at 2:06 pm

    A “stack trace” doesn’t make much sense outside of an error scenario, but you can see what Yii is up to by enabling the debug mode. In your index.php add

    defined('YII_DEBUG') or define('YII_DEBUG',true);
    

    and in the log component of your main Yii configuration array (config/main.php), add this array under the routes component:

                array(
                    'class'=>'CWebLogRoute',
                    'enabled' => YII_DEBUG,
                ),
    

    This should show you what you want.

    Make sure to remove the YII_DEBUG line from your production code!

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

Sidebar

Related Questions

How do I get the current stack trace in Java, like how in .NET
I need to display exception stack trace into my JSF application error.xhtml page. I
I want to get a detailed log about my stack trace. I can get
One obvious way to cause a stack overflow and get Segmentation fault would be
I get the occasional error below on Magento 1.5.0.1, when it occurs, customers report
Unfortunately I cannot reliably reproduce this error but infrequently I get it and occasionally
When my script fails to parse for any reason, I get a stack trace
I need to get a stack frame of a function from any PDB (All
How do I get a stack frame to pass into traceback.print_stack ? From Python
Below is my program and I am trying to get the call stack when

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.