Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Gábor HojtsyYou run your Drupal on PHP 5, right, as documented in the README?
Comment #2
drfuzetto CreditAttribution: drfuzetto commentedI am getting this error also.
I have Drupal 5.2 and PHP 5.
Is there a solution?
Comment #3
Gábor HojtsyWell, 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).
Comment #4
Gábor HojtsyComment #5
Gábor HojtsyNo feedback. Was most probably resolved.
Comment #6
ashiwebi CreditAttribution: ashiwebi commentedif you are using ubuntu then run
apt-get install php5-xsl
from root user.
This will resolve your problem.
Comment #7
dilantha CreditAttribution: dilantha commentedAlso remember to restart apache server after installing php5-xsl...