Hi everyone

I have been stuck on this issue for 3 days now. I am running Linux ubuntu 6.04 Apache 2 and Drupal 5.7.

I have installed the importHTML module 5.x. everytime i want to import a demo file, i get an error msg which say

"
* user error: No XSL library support at all on this server! in /home/raid2/www/modules/import_html/coders_php_library/xml-transform.inc on line 32.
* user error: Sorry, with no XML support there will be no content scanning AT ALL. Aborting process. See the import_html_help.htm for info on enabling XML under PHP. in /home/raid2/modules/import_html/import_html.module on line 1676.
* Failed to process file 'cases/UGSC/index.html' "

I tried suggestions from http://drupal.org/node/147469, but they did'nt work for me. oh and my php.ini are in the correct folders.

Can somebody out there please help.

Comments

cpforbes’s picture

Does phpinfo() show the the XSL module enabled?

What version of libxslt does it show?

If its not there you need to add "extension=xsl.so" in your php.ini file (assuming it is installed on your server)
If its not installed you will need to build it (or rebuild php with xsl support enabled)

johnymap’s picture

No phpinfo() does not show XSL module enabled.

I have added "extension=xsl.so" in the php.ini file and that did not solve my problem.

dman’s picture

'enabling' it is not enough if you've not installed it in the first case.

$ aptitude search xsl
  ...                         
  i   php5-xsl                                              - XSL module for php5                   
  ...
$ sudo apt-get install php5-xsl

Using apt-get on ubuntu should add its own extension=xsl.so line it the appropriate place : /etc/php5/apache2/conf.d/xsl.ini (on my distro) automatically.

.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |