Thank you, Christensen. Although I don't know how to "add theprofile database", I will take a look of "maintenance/archives/patch-profiling.php" to see if I can learn something. If still no clue, I will try wikitech.
Nelson
Computer Sciences Corporation Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA Registered in USA No: C-489-59
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"Christensen, Courtney" <ChristensenC@BAT To TELLE.ORG> MediaWiki announcements and site Sent by: admin list mediawiki-l-bounc mediawiki-l@lists.wikimedia.org es@lists.wikimedi cc a.org Subject Re: [Mediawiki-l] How to debug 12/18/2007 08:36 AM
Please respond to MediaWiki announcements and site admin list <mediawiki-l@list s.wikimedia.org>
Hi Nelson,
These are the steps I've found for using profiling. It doesn't seem to be the most straight-forward process.
Add the profile database in wiki/maintenance/archives/patch-profiling.php
Then change LocalSettings.php adding the line $wgProfileToDatabase = true;
change the line $wgEnableProfileInfo = true; to true in AdminSettings.php
In StartProfiler.php comment the first line and uncomment the second two.
Hope that helps. By the by, you would probably get more help for this problem on WikiTech.
-Courtney
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Nelson A Li Sent: Thursday, December 13, 2007 3:38 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] How to debug
Hello,
I need to be able to trace trough my wiki processing and followed http://www.mediawiki.org/wiki/How_to_debug instructions to setup the debug. However, the wfProfileIn & wfProfileOut calls in $wikiroot/includes/WebStart.php are causing undefined function errors. Can someone tell me what is the problem? Thank you.
Nelson
Computer Sciences Corporation Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA Registered in USA No: C-489-59
------------------------------------------------------------------------ ------------------------------------------------------------------------ ----------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ----------------------------------------------------------------
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l