') ') Fork me on GitHub

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $10.00
Net Balance: $9.41
Left to go: $90.59

Donations
Dante7237  ($10)Dec-3

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 Abuse Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield Bootstrap By Captcha cell cent chronolabs Clicks content CĂN demo docek download Dresses evden eve facebook Fat Food for free Gateway giải Google Guide herre Home Honeypot Human HỘ IP iPhone jQuery Law Legal List Loss mobile module modules Monster new newbb news nhiệt NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights rmcommon security Sentry Signatures Signed site Smartphone Smoking Solution Spam Studio tags tdmcreate The Theme themes tháp web weight Wishcraft xoops Xortify XPayment

New Users

Registering user

# 137911

mydarkglobe

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  |  Register To Post



#1 Posted on: 2009/11/25 14:06 Debugger for 2.4.2?
Wouldn't it be a good idea to take the loggerpack made by trabis and integrate it to 2.4.2? I just copied over the old files from 2.3x and they still work and it makes debugging far easier. Only drawback at the moment: you have to configure in the configs file.

Just my 2 euro cents.

Top

frankblack
Joined:
2005/6/13 3:03
From D-Schiefbahn
Group:
Registered Users
Posts: 785
(Show More) (Show Less)


#2 Posted on: 2009/11/30 12:11 Re: Debugger for 2.4.2?
2.4.2 was only for Bug fixes, so we tried to avoid any new additions.

But if you could create it as a patch for download, it would be great!

Top

Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8157
(Show More) (Show Less)


#3 Posted on: 2009/11/30 13:41 Re: Debugger for 2.4.2?
This would be no ADDITION, it would be GREAT help.

To keep things clear: the debugger is (again) Trabis work! From me you only get the collected data and a short description.

Top

frankblack
Joined:
2005/6/13 3:03
From D-Schiefbahn
Group:
Registered Users
Posts: 785
(Show More) (Show Less)


#4 Posted on: 2009/11/30 13:53 Re: Debugger for 2.4.2?
Well, let's talk to Trabis about it

Top

Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8157
(Show More) (Show Less)


#5 Posted on: 2009/11/30 14:19 Re: Debugger for 2.4.2?
HERE you can get the loggerpack.

Unzip it, backup the two files in class/logger (render.php and xoopslogger.php) and copy the content of the unzipped loggerpack in there. Open xoops_data/configs/xoopsconfig.php in an editor and change this:
"debugLevel" => 0,

into this:
"debugLevel" => 0,
        
"debugLogger" => "legacy",


debugLevel = 0 (all users)
debugLevel = 1 (for members)
debugLevel = 2 (for admins)

legacy -> normal XOOPS debug
firephp -> debugger for Firefox, addons firebug and firephp have to be installed
pqp -> PHP Quick Profiler

Now visit Preferences | General Settings and pick up "Enable debug (inline mode) from setting Debug Mode. Hit "Go" and you are done.

Drawback for firephp: at some places you might get a blank page. Especially when file operations are involved. An exception is thrown which firephp is not capable to resolve. But this one is my favourite, because your layout is destroyed by debug information and at the same time, you get all information.

Have fun and good bughunting!


Top

frankblack
Joined:
2005/6/13 3:03
From D-Schiefbahn
Group:
Registered Users
Posts: 785
(Show More) (Show Less)


#6 Posted on: 2009/11/30 15:18 Re: Debugger for 2.4.2?
Thank you!

This is great intro on how to use it!

BTW - why should we backup "render.php" - there is no "render.php" in your pack at the /class/logger directory level

Top

Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8157
(Show More) (Show Less)


#7 Posted on: 2009/12/1 1:25 Re: Debugger for 2.4.2?
Quote:
BTW - why should we backup "render.php" - there is no "render.php" in your pack at the /class/logger directory level


You should backup render.php and xoopslogger.php ALREADY in original class/logger just for safety if the loggerpack does not behave as expected, so that you can easily revert. That's all...

Top

frankblack
Joined:
2005/6/13 3:03
From D-Schiefbahn
Group:
Registered Users
Posts: 785
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]