Reese Knowledgebase

PHP Fatal error: Class 'HTML' not found in elements.php3

View Kristian Reese's profile on LinkedIn


If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 103
by: Reese K.
Posted: 09 May, 2013
Last updated: 09 May, 2013
Views: 2814

Plesk loads with jibberish on screen

While attempting to load Plesk, nothing but jibberish was being displayed.  To investigate, I tailed sw-cp-server error_log while reloading Plesk:

-bash-3.2# tail -f /var/log/sw-cp-server/error_log
2013-05-09 11:50:19: (mod_fastcgi.c.2588) FastCGI-stderr: PHP Fatal error:  Class 'HTML' not found in /usr/local/psa/admin/plib/elements.php3 on line 160

Comparing checksums of elements.php3 with a known working installation of Plesk revealed that the files were not different so I moved to the next clue given in the error, "FastCGI-stderr: PHP Fatal error".  This time, I compared /usr/local/psa/admin/conf/php.ini with a known working installation of Plesk and found one difference.  I made a backup of the file, made the change and ran a diff to reveal the difference:

-bash-3.2# diff /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/conf/php.ini.May8
1c1
< short_open_tag = On
---
> short_open_tag = Off

After restarting Plesk via '/etc/init.d/psa stopall; /etc/init.d/psa start', Plesk loaded as expected.

This article was:   Helpful | Not Helpful
Prev   Next
killing off those pesky perl scripts running as apache     which IPs are establishing the most connections

RSS