Previous Chapter: Create Patches
This section has not yet been translated to your requested language.

Troubleshooting

A variety of strategies are available for troubleshooting an ATutor installation that may not be functioning properly.

AT_DEVEL
Near the top of the include/vitals.inc.php file, set the value of AT_DEVEL to true. This will display your session variables at the bottom of the screen. It will also display the variable names associated with all feedback messages, so they are easier to find through the language manager if you wish to modify their language. The debug() function will also become available, allowing testers to print out any type of variable in an easily readable format.
debug(mixed variable [, string title])
It is possible to display the value of variables using debug(). variable is the PHP variable to output. title is an optional title that can be printed inside the debugging box to easily identify which variable is being outputted.
debug($_SESSION); // print current session variables
debug($_REQUEST); // print all GET, POST, and COOKIE variables
Error Logging
View the error log through the System Preferences section. There may be information in the error reports that can help you identify where or how an error occured. The output from the error log can be sent to the ATutor team to aid them in finding a solution to your problem.
phpinfo()
Often, system problems can be fixed by reviewing the phpinfo page. This will show all of the configuration options for your system. Review the Requirement & Recommendations for different values that should be set and displayed in the phpinfo output. Below is the contents of a phpinfo file. Viewing this page in a browser will show the system variables.

<?php
phpinfo();
?>

Also see the Developer Documentation for details about modifying the source code.

Previous Chapter: Create Patches
$LastChangedDate: 2006-06-29 11:25:07 -0400 (Thu, 29 Jun 2006) $
All text is available under the terms of the GNU Free Documentation License.