LCM debug options |
The following describes how to activate specific debug variables for various mechanisms. Useful for developers, testers and translators.
The "log/lcm.log" file prints a few informative messages for each request made to the webserver (which are triggered by the lcm_log() function), but it is possible to make it even more verbose by activating the global debug option, which is triggered by the use of the lcm_debug() function).
To activate:
Make sure that there are no spaces before and after the "php" tags or you will get an error that "the headers have already been sent".
Similar procedure to the above (general debug messages), but with the following code:
You can (and probably should) combine the two debug options:
Note that this can generate quite alot of information.
Strings of the user-interface go through a translation system. Often, new features of LCM have the strings hardcoded in the code itself until the feature is stabilised, so that it is then sent to the translators.
For translators, there are two options to help with translation:
inc/lang/lcm_(xx).php" file, where "xx" is the language code (en, bg, fr, etc.).There are two ways to activate the above options:
Note: the debug_tr=2 option is available from LCM 0.6.4a.