1
Mechs
Debugging info in xoops 2.4.2 & 2.4.3
  • 2010/1/21 5:00

  • Mechs

  • Just popping in

  • Posts: 35

  • Since: 2007/4/16


Hi all, this is my first post in this forum eventhough been here for 2-3years . I've search the said prob but could not find any, so decided to post it here.

The debungging info is still showed up even if i logged out.

Any solutions..

Thanks to all

2
ghia
Re: Debugging info in xoops 2.4.2 & 2.4.3
  • 2010/1/21 6:23

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Mechs, Welcome to the XOOPS forum!

What messages do you get?

3
AmyMarie
Re: Debugging info in xoops 2.4.2 & 2.4.3
  • 2010/1/21 14:24

  • AmyMarie

  • Just popping in

  • Posts: 49

  • Since: 2008/9/3 1


I have the same problem. I am using XOOPS 2.4.3. I have the debug mode turned OFF in the General settings. The Smarty Debug Console still pops up.

4
Mechs
Re: Debugging info in xoops 2.4.2 & 2.4.3
  • 2010/1/21 15:09

  • Mechs

  • Just popping in

  • Posts: 35

  • Since: 2007/4/16


Hi ghia,

Normally (for the previous version of XOOPS 2.0.x - up to 2.3.x) when i enabled the debug mode(inline mode), it only shows when i'm logged in, and it does not when i'm logged out.

But for the v2.4.2 & 2.4.3 it still shows up even if log out.

5
trabis
Re: Debugging info in xoops 2.4.2 & 2.4.3
  • 2010/1/21 18:39

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Edit xoops_data/configs/xoopsconfig.php
Change "debugLevel" => 0,
To "debugLevel" => 2,


6
AmyMarie
Re: Debugging info in xoops 2.4.2 & 2.4.3
  • 2010/1/22 14:26

  • AmyMarie

  • Just popping in

  • Posts: 49

  • Since: 2008/9/3 1


I am sorry if I interrupted this message. I have changed 0 to 2 in the xoopsconfig.php file and the Smarty Debug Console still comes up.

7
ghia
Re: Debugging info in xoops 2.4.2 & 2.4.3
  • 2010/1/22 16:15

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


@Mechs
Quote:
it only shows when i'm logged in, and it does not when i'm logged out.
Did you have changed your /include/common.php?
Normally it contains following lines:
if ($xoopsLogger->activated) {
    
$level = isset($xoopsConfig['debugLevel']) ? intval($xoopsConfig['debugLevel']) : 0;
    if ((
$level == && empty($xoopsUserIsAdmin)) || ($level == && !$xoopsUser)) {
        
error_reporting(0);
        
$xoopsLogger->activated false;
    }
    unset(
$level);
}
To allow debug output, when testing anonymous code parts, two lines are edited and set in comment:
//        error_reporting(0);
//        $xoopsLogger->activated = false;
If you have that, remove the commenting as shown in the first code snippet.

@AmyMarie
Seems your problem is different.
Quote:
Change "debugLevel" => 0,
To "debugLevel" => 2
,
To turn debug mode off, it should be the reverse.
But as you have(had) the setting off and still have the debug popup, I think it might be a cache problem.
Ensure the setting is off. Erase all files in the cache directories (except the index.html) and disable module wide caching in the preferences.

@both
Do the file check (see release notes) to ensure you have the correct files on your server.
There should be no errors, except for the removed install, and the displaced xoops_data and xoops_lib folders.

8
AmyMarie
Re: Debugging info in xoops 2.4.2 & 2.4.3
  • 2010/1/22 18:03

  • AmyMarie

  • Just popping in

  • Posts: 49

  • Since: 2008/9/3 1


Hello..

I checked the common.php file on my system and that is set already the way he asked.

I made sure that the debug was really off and it is.
First I tried changing the Debug mode to Enable Debug (inline mode) to see what happens and it still brings up the Smarty Debug Consule. strange!!!!

I erased all of the cache files except for the index.html file.

All of my Module-wide Cache are set to No-Cache.

and I still have the Smarty Debug Consule popping up.

It doesn't happen in the admin section, just on the main page (if that helps any).




9
AmyMarie
Re: Debugging info in xoops 2.4.2 & 2.4.3
  • 2010/1/22 18:47

  • AmyMarie

  • Just popping in

  • Posts: 49

  • Since: 2008/9/3 1


Is it possible to disable or delete all of the Smarty Debug anywhere?
Just a thought..

10
Mechs
Re: Debugging info in xoops 2.4.2 & 2.4.3
  • 2010/1/22 19:57

  • Mechs

  • Just popping in

  • Posts: 35

  • Since: 2007/4/16


Thanks Ghia, it works.

Change "debugLevel" => 0,
To "debugLevel" => 2

Login

Who's Online

218 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 218


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits