PHP Classes

help pleae :)

Recommend this page to a friend!

      wordDocumentHandler  >  All threads  >  help pleae :)  >  (Un) Subscribe thread alerts  
Subject:help pleae :)
Summary:i keep getting an error while compiling the test code
Messages:3
Author:alexis bautista
Date:2007-12-13 08:08:33
Update:2007-12-15 02:14:16
 

  1. help pleae :)   Reply   Report abuse  
Picture of alexis bautista alexis bautista - 2007-12-13 08:08:33
hello... i just downloaded the wordDocumentHandler class and its test page... but i keep getting this message:

Fatal error: Uncaught exception 'com_exception' with message '<b>Source:</b> Microsoft Word<br/><b>Description:</b> No se puede encontrar el archivo. Pruebe una o varias de las siguientes operaciones: * Compruebe la escritura del nombre del documento. * Pruebe con un nombre de archivo diferente. (a.doc)' in C:\php\web\wordDocumentHandler.php:89 Stack trace: #0 C:\php\web\wordDocumentHandler.php(89): variant->Open('a.doc') #1 C:\php\web\wordDocumentHandler.php(63): wordDocumentHandler->convertWordDocumentToFile('a.doc', 'C:\php\web\word...', 'htm') #2 C:\php\web\wordDocumentHandler_test_code.php(26): wordDocumentHandler->convertWordDocumentToString('a.doc', 'htm') #3 {main} thrown in C:\php\web\wordDocumentHandler.php on line 89


any ideas you could give me... thanks in advance :)

  2. Re: help pleae :)   Reply   Report abuse  
Picture of Logan Dugenoux Logan Dugenoux - 2007-12-14 10:17:10 - In reply to message 1 from alexis bautista
Just read your spanish message (I understand Spanish better than you or what ?)It seems that you open a document that doesn't exists, that's all. Modify the "a.doc" document to a path where a real word document exists...

  3. Re: help pleae :)   Reply   Report abuse  
Picture of alexis bautista alexis bautista - 2007-12-15 02:14:16 - In reply to message 2 from Logan Dugenoux
i tried that obviously... i fixed it by adding the address with localhost instead of the complete route in my PC.. that was why i guess... but thanks anyway