Forum


Replies: 2   Views: 4293
Error class 'tidy' not found after upgrading from phpdocx version 3.1 into version 3.2
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by robertoblanco  · 15-05-2013 - 14:16

Hi,


 


I am a satisfied PHP DocX user using the pro+ version


 


I've just upgraded from version 3.1 into 3.2.


This should add new features and also bug fixing.


 


On running the simple example where you can transfer a docx-file into a html-file:


 



<?php



/**

 * Transform DOCX into HTML

 *

 * @category   Phpdocx

 * @package    examples

 * @subpackage easy

 * @copyright  Copyright (c) 2009-2013 Narcea Producciones Multimedia S.L.

 *             (http://www.2mdc.com)

 * @license    http://www.phpdocx.com/wp-content/themes/lightword/pro_license.php

 * @version    1.8

 * @link       http://www.phpdocx.com

 * @since      File available since Release 1.8

 */

require_once '../../classes/TransformDoc.inc';



$document = new TransformDoc();

$document->setStrFile('../files/Text.docx');

$document->generateXHTML();

$document->validatorXHTML();

echo $document->getStrXHTML();



?>



I got the error in my browser:


 


PHP Fatal error:  Class 'tidy' not found in C:\Inetpub\vhosts\egalaxy.eu\httpdocs\cloud12\classes\TransformDoc.inc on line 356


 


Please could somebody help me out?


 


Regards,


Robert