.pdf)
WHM Plugins
debughooks in /var/cpanel/cpanel.config to 1 of 4 possible values:
| Value | Description |
|---|---|
0 |
Log no debug data. |
1 |
Display information about a hook as it is being executed. Do not include data. |
2 |
Display information about a hook as it is being executed. Include data. |
3 |
Display information about every insertion point as it is getting run even if a hook is not defined. |
usr/local/cpanel/logs/error_log. Enabling this feature can generate a considerable amount of noise in the error log. You should only enable debugging mode on development systems or while troubleshooting an issue.
The reason for this error may also be that a module hook is claiming a syntax error but passeswarn [wwwacct] Can't locate FakeModule.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/lib64/perl5/site_lib/x86_64-linux /usr/local/cpanel/lib64/perl5/site_lib /usr/local/cpanel/lib64/perl5/5.12.2/x86_64-linux /usr/local/cpanel/lib64/perl5/5.12.2 /var/cpanel/perl5/lib /usr/local/cpanel/lib64/perl5/cpanel . /var/cpanel/perl5/lib) at /var/cpanel/perl5/lib/Boo.pm line 3.
perl -c. This occurs because cPanel & WHM's internal Perl runs version 5.6.2, while the system's Perl version is 5.8.8 or higher.
Copyright © cPanel 2000–2011.