Just installed the module on Drupal 5 and get this error when clicking on Export As XLIFF:

Fatal error: Class 'XSLTProcessor' not found in /opt/www/drupal/drupal_en/sites/all/modules/xliff/xliff.module on line 128

Comments

Gábor Hojtsy’s picture

Status: Active » Postponed (maintainer needs more info)

You run your Drupal on PHP 5, right, as documented in the README?

drfuzetto’s picture

I am getting this error also.
I have Drupal 5.2 and PHP 5.

Is there a solution?

Gábor Hojtsy’s picture

Well, xliff module uses the XSL extension from PHP 5: http://hu.php.net/manual/en/ref.xsl.php This should be compiled in by default. If your PHP has no support for this, you might need to look into enabling the extension (Windows) or installing the addon package (Linux).

Gábor Hojtsy’s picture

Title: Fatal Error » Fatal error: Class 'XSLTProcessor' not found
Gábor Hojtsy’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No feedback. Was most probably resolved.

ashiwebi’s picture

if you are using ubuntu then run

apt-get install php5-xsl

from root user.

This will resolve your problem.

dilantha’s picture

Also remember to restart apache server after installing php5-xsl...