JavaScript Required.
We're sorry, but Pega7 doesn't work without JavaScript enabled. Please enable and refresh.
<p>You receive an email stating:</p> <p>Error: An Error Occurred While Processing This Directive</p> <p> </p> <p>This is the most generic error message in cPanel. You might see this when a user account loads the cPanel main screen, or you might see it when performing any particular function in WHM. Fortunately, it's probably the easiest to diagnose and fix.</p> <ol> <li> <p>Look at the logs</p> <p>You'll need to login to the server as root via SSH. You'll need to scan the cPanel error log for errors. You can usually use '<strong>tail'</strong> to get the most recent error.</p> <p>tail -n 20 /usr/local/cpanel/logs/error_log</p> <p> </p> </li> <li> <p>You'll be looking for a line similar to:</p> <p>Can't locate Class/Std.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.7/x86_64-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/x86_64-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Lang/Cache/Utils.pm line 11</p> <p> </p> </li> <li> <p>That first bit, <strong>Can't Locate Class/Std.pm</strong> is the key; It's missing the 'Class::Std Perl module'</p> </li> <li> <p>Now you type:</p> <p>/scripts/perlinstaller Class::Std</p> <p> </p> <p><em>You can also use WHM to install Perl Modules, by going to Software and then Install a Perl Module.</em></p> <p>Once it's completed, then try your cPanel/WHM functions again. If you still receive the error, then you'll need to look for other Perl modules in the cPanel error_log and reinstall those too.</p> </li> <li> <p>Lather, rinse, repeat</p> </li> </ol>