interview questions and answers

CMS Interview Questions | Moodle Interview Questions

Home interview questions CMS interview questions Moodle 
Friday, 10 February 2012
Main Menu
Home
Online Test
Contest
Search
FAQs
Contact Us
Login
Most Popular Category
JAVA

Microsoft Technologies
ASP, C#, DotNet, ...

Programming
C++, PHP, VB, ...

SAP

Testing

Web Technologies

Polls
Does personal networking help in job search?
 
IT Placement Papers interview questions CMS interview questions Moodle

This category contains Moodle Interview Questions and Answers


How do I enable/disable debugging?

PDF Print E-mail

There are a few ways you can enable or disable debugging on your site. If you are able to login as an administrator and access the Site Administration block, then the easiest way is to go to Admin->Server->Debugging and set it there. There are several options - the most often recommended setting for debugging is 'ALL: Show all reasonable PHP debugging messages'. To disable debugging, simply set this to 'NONE: Do not show any errors or warnings.'.

If you are unable to set your debugging level in this manner, you still have a couple ways to set it - in your config.php or in the database.

  • In moodle/config.php you can add these lines:
$CFG->debug=2047; 
$CFG->debugdisplay=1;
Then simply remove them (or comment them out) when you're done.
  • To enable debugging in the database, simply use a database utility such as the MySQL Admin plugin for Moodle, or PHPMyAdmin, etc., and enter the following:
UPDATE `mdl_config` SET `value` = '2047' WHERE `name` ='debug';
To turn it back off, use this command:
UPDATE `mdl_config` SET `value` = '0' WHERE `name` ='debug';




Be first to comment this article

Only registered users can write comments.
Please login or register.

 
< Prev   Next >

CMS Interview Questions | Moodle Interview Questions

Top!
Top!
Copyright © 2008 InterviewDuniya.com All Rights Reserved.
Partner Site: Maheshwari Matrimony