Web server configuration is broken: Fatal error: Class 'Template_Variable_Abstract' not found in /usr/local/psa/admin/conf/templates/default/server.php

Created:

2016-12-12 03:48:53 UTC

Modified:

2017-08-08 13:40:25 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Web server configuration is broken: Fatal error: Class 'Template_Variable_Abstract' not found in /usr/local/psa/admin/conf/templates/default/server.php

Applicable to:

  • Plesk Onyx for Linux

Symptoms

The following error is shown on Plesk Home page:

New configuration files for the Apache web server were not created due to the errors in configuration templates: Fatal error: Class 'Template_Variable_Abstract' not found in /usr/local/psa/admin/conf/templates/default/server.php. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter

Trying to reconfigure website manually fails with another error:

# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: Empty error message from utility.

This command shows non-empty output:

# rpm -qV plesk-core | grep missing

Cause

Missing files or corrupted plesk-core package.

Resolution

Reinstall plesk-core package, for example:

# rpm -Uvh --nodeps --force plesk-core-17.0.17-cos6.build1700161005.19.x86_64.rpm

Apply updates according to [KB128626]

Have more questions? Submit a request
Please sign in to leave a comment.