MS word extension ?

Author Message

johann savalle

Tuesday 15 November 2005 5:37:01 am

Hello,

does anyone have any clue if there is a way to import/export doc to eZ ? maybe using OpenOffice.org extension ? I tried to get into the code of the latter, but I finally gave up... and I couldn't find any documentation.

if you have any clue where to start or if you've ever encountered the problem, feel free to answer.

js.

Bård Farstad

Tuesday 15 November 2005 5:54:56 am

Hi Johann,

with the new OASIS extension you can import Word files directly into eZ publish. The way it works is that eZ publish uses OpenOffice.org to convert the Word file to OASIS which is then imported directly.

Just install the extension on your machine and you can import the Word files. Details on installations is bundled with the extension.

--bård

Documentation: http://ez.no/doc

johann savalle

Wednesday 16 November 2005 5:43:09 am

thanks very much that's great !
I installed it and tried it ...
but then things went a bit messy..

I get an error when I go to the
blabla.com/index.php/oo/import/
everything fine, but I have a

-----
Error: eZHTTPFile Nov 16 2005 05:36:03

Unknown file for post variable: oo_file
------
in the debug..

then when I tried to proceed, I end up finally, with no file uploaded and two warning :

----Timing:  	Nov 16 2005 05:41:48

Module start 'oo'

Warning: PHP 	Nov 16 2005 05:41:48

fsockopen(): unable to connect to 127.0.0.1:9090 in /home/yohan/ez35/extension/oo/modules/oo/ezooimport.php on line 71

Warning: PHP 	Nov 16 2005 05:41:48

file_get_contents(var/cache/oo/import/content.xml): failed to open stream: No such file or directory in /home/yohan/ez35/extension/oo/modules/oo/ezooimport.php on line 135

Timing: 	Nov 16 2005 05:41:48

Module end 'oo'
------

johann savalle

Thursday 17 November 2005 9:44:10 am

okay maybe if I explain the problem this way, someone will have a clue what to answer :

I tried to import MS DOC : on the /oo/import first page : I got a :
>Error: eZHTTPFile Nov 16 2005 05:36:03
>Unknown file for post variable: oo_file
then, I proceed, select my file to upload. Valid.
Then get summary of operations : every field is empty nothing's been uploaded.
And I got some warning in my debug :

>Module start 'oo'
>Warning: PHP Nov 16 2005 05:41:48
>fsockopen(): unable to connect to 127.0.0.1:9090 in >/home/yohan/ez35/extension/oo/modules/oo/ezooimport.php on line 71
>Warning: PHP Nov 16 2005 05:41:48
>file_get_contents(var/cache/oo/import/content.xml):
>failed to open stream: No such file or directory in >/home/yohan/ez35/extension/oo/modules/oo/ezooimport.php on line 135
>Timing: Nov 16 2005 05:41:48
>Module end 'oo'

the system is running eZ publish 3.5.5. on a linux box.
where is the error ?

johann savalle

Friday 18 November 2005 3:14:56 am

does someone could at least try to answer, I am stuck with this problem and I can't crack the problem...

is there any requirement regarding the version of eZ or something ???

I am not going to update my system just for a debug test... so any help is welcome.

K259

Friday 18 November 2005 3:20:52 am

Hi!

This is at least an answer..but I may be totally wrong..

Do you have a firewall? Maybe this problem is because your firewall is blocking ports?

Łukasz Serwatka

Friday 18 November 2005 6:13:01 am

Hi Johann,

You have those errors because Word import/export needs working deamon. It's mentioned in the doc.

From eZ publish root you will need to execute command:

$ php extension/oo/deamon.php 

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.