SJSD WYSIWYG editor based on FCKEditor for ezxmltext

Author Message

liu spider

Friday 14 April 2006 10:58:04 am

when you edit it, what will the last button (ez source) can generate for you?

and what did you input? or no matter what text you input, it will disappear?

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Zdenek Ziegler

Friday 14 April 2006 3:33:03 pm

Hi, I have the same problem as Viktor(Beren).
The last button(ez source) doesn't show anything for me(only loading), in javascript console, I get this Error: uncaught exception: Permission denied to call method XMLHttpRequest.open.

I try to edit an article, which has 2 xml fields, in the first, after publishing, tables which I create disappers, but text is published. In the second field, the same thing. Then, when I try to edit this article, the first xml field has content(without tables), but the second hasn't.
It is a very strange behaviour, it was all right in version 0.1..

Best regards, Zdenek

liu spider

Friday 14 April 2006 5:41:46 pm

to Zdenek Ziegler:
can you use gmail? it seems that xhttprequest is disabled in your browser. which browser? IE or firefox/mozilla?

What's the input content in your two textareas?

the core of SJSD 0.2 is very different from 0.1, but it works much better here and overcome a lot of bugs in 0.1

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Zdenek Ziegler

Saturday 15 April 2006 2:44:40 am

I can't test gmail at the moment, because I don't have an account there..I'm using Firefox 1.5.0.2 and IE6, and in both ez source button doesn't work(shows only loading..).

<strong>test text</strong> some test link: <a href="http://www.google.com">ink</a>, some table:
<table width="200" cellspacing="1" cellpadding="1" border="1" align="" summary="">
    <tbody>
        <tr>
            <td>a<br /></td>
            <td>b<br /></td>
        </tr>
        <tr>
            <td>c<br /></td>
            <td>d<br /></td>
        </tr>
        <tr>
            <td>e<br /></td>
            <td>f<br /></td>
        </tr>
    </tbody>
</table>

After publishing, both text fields doesn't show the table, and when I try to edit, the second field is empty, in the first rests "some table:".
I tried it once again, and now, I can't publish it, because it states: intro: input required...

Viktor Juhász

Saturday 15 April 2006 4:26:25 am

I want to refine my message.

The content disappears when I want to <i>re-edit</i> the SJSD generated contents.

First this is the EZ Source:

<?xml version="1.0"?>
<section xmlns:image="http://ez.no/namespaces/ezpublish3/image/"
         xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/"
         xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/">
  <header level="1">Documentation and guidance</header>
  <paragraph>The   <link target="_blank"
          href="http://ez.no/ez_publish/documentation">eZ publish documentation</link> covers common topics related to the setup and daily use of the eZ publish content management system/framework. In addition, it also covers some advanced topics. People who are unfamiliar with eZ publish should at least read the &amp;quot;eZ publish basics&amp;quot; chapter.</paragraph>
  <paragraph>If you&apos;re unable to find an answer/solution to a specific question/problem within the documentation pages, you should make use of the official   <link target="_blank"
          href="http://ez.no/community/forum">eZ publish forum</link>. People who need professional help should purchase   <link target="_blank"
          href="http://ez.no/services/support">support</link> or   <link target="_blank"
          href="http://ez.no/services/consulting">consulting</link> services. It is also possible to sign up for various   <link target="_blank"
          href="http://ez.no/services/training">training sessions</link>.</paragraph>
  <paragraph>For more information about eZ publish and other products/services from eZ systems, please visit <link target="_blank"
          href="http://ez.no">ez.no</link>.</paragraph>
</section>

But when I re-edit, only this:

<?xml version="1.0"?>

I try out the editor on Plain site, before I use it on the effective site... (:o)

Update: I think the problem have to do with "Enable/Disable editor" button, because sometimes I see the content, but after click on this button the content disappears.

liu spider

Saturday 15 April 2006 5:48:08 pm

to Zdenek Ziegler:
you have to make the ez source button work first, otherwise something is definitely wrong

try firebug (a extension to firefox) and see where it trys to access, and what the response.

to Viktor Juhász:
you use svn right? please svn up your copy, it should ok now

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Roberto Antoniazzi

Sunday 16 April 2006 5:31:35 pm

Hi, I tried to use the extension in my environment (ezpublish 3.7.5 - apache 2) with both virtual host based (activating direct access to .html, .xml and .js files through rewrite rule) and URL based installations.
With both of them I had this error trying to publish an article:

Fatal error: Call to undefined function: stripcomments() in /home/httpd/SITE_NAME/html/lib/ezxml/classes/ezxml.php on line 147
Fatal error eZ publish did not finish its request

Javascript console (Firefox 1.5) was OK.

Could you help me?

Thanks

roberto

Collin Boyce

Monday 17 April 2006 5:05:14 am

I am unable to get it to work as well. I get the following error message in my apache logs:

File does not exist: /var/www/ezpublish/extension/sjsd/FCKeditor/fckeditor.js

Also:

I notice the Disable editor box is grayed but if I click it I get the following error message:

Fatal error: Call to undefined function: stripcomments() in /var/www/ezpublish/lib/ezxml/classes/ezxml.php on line 147
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

liu spider

Monday 17 April 2006 10:41:51 am

to Roberto Antoniazzi:
as I did not modify any thing in ez publish core, so I think you have a broken eZ installation. please try to reinstall your ez

to Collin Boyce:
please follow the install instruction: you need to download fckeditor first, and unpack it under the correct dir

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Roberto Antoniazzi

Monday 17 April 2006 12:50:50 pm

are you sure the problem is a eZ publish broken installation? The row with the error (number 147) is this:

$xmlDoc = $this->stripComments( $xmlDoc );

I print the values of $this through print_r($this) obtaining

sjsdxmlinput Object
(
[SectionArray] => Array
(
[0] => paragraph
[1] => section
[2] => header
)
...

so it's the "sjsdxmlinput" class (inside the extension) which miss the stripComments() function, not the base eZ publish installation.

Any suggestion?

thanks

roberto

liu spider

Monday 17 April 2006 1:45:00 pm

ah, it is imcompatible issue between ez 3.6.x and 3.7.x

eZXML::domTree is static in 3.6.x, while it is not the case in 3.7.x

should have been fixed in svn

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Roberto Antoniazzi

Monday 17 April 2006 1:59:05 pm

I'm sorry, how can I access the svn version of the extension?

roberto

liu spider

Monday 17 April 2006 2:11:41 pm

svn instruction:
http://sourceforge.net/svn/?group_id=164632

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Roberto Antoniazzi

Tuesday 18 April 2006 12:36:01 am

I installed svn version (thanks for the link) and the error disappeared.
Below the results trying to publish a standard article with virtual host based and url based installation respectively (eZp 3.7.5)

virtual host based:
pushing the EZ Source button of the editor for the "Intro" field and checking javascript console: uncaught exception: Permission denied to call method XMLHttpRequest.open).
Trying to publish the article I had the message about the missing field Intro (!) and so the draft could not be stored.

url based:
pushing the EZ Source button of the editor for the "Intro" field and checking javascript console: OK, the source of the field was:

<?xml version="1.0"?>
<section xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/"
         xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/"
         xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/">
  <paragraph>hello</paragraph>
</section>

Trying to publish the article I had the same message about the missing field Intro (!) and so the draft could not be stored.

I still need your help.

roberto

Siniša Šehović

Tuesday 18 April 2006 1:05:58 am

Hi Iiu

I have this error when I try to publish article and text in field is erased:

tag 'html (html)' is not allowed as children of 'paragraph', removed while text content is retained;

This is svn revision 47.

Best regards,
S.

---
If at first you don't succeed, look in the trash for the instructions.

Fraser Hore

Tuesday 18 April 2006 1:37:09 am

Thanks again for a great extension.

Version 0.1 worked well in Firefox but not IE. I just upgraded to version 0.2 but now when i click on the publish button i get the following message:


Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

Any ideas?

Thanks,

Fraser

Dariusz Wlodarczyk

Tuesday 18 April 2006 4:00:53 am

I have the following messages when i upgrade to 0.2 version on ezp3.6.6 and php4.3.9

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/local/apache/www/htdocs/bip/extension/sjsd/ezxmltext/handlers/input/sjsdxmlinput.php on line 921

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/local/apache/www/htdocs/bip/extension/sjsd/ezxmltext/handlers/input/sjsdxmlinput.php on line 926

liu spider

Tuesday 18 April 2006 6:18:53 am

to Roberto Antoniazzi:
can you find out the address the xhttprequest.open function trying to open in your virtual host setup? it seems it does have some issues with virtual host installation.

to Sinisa:
what's is the content before you publish? (please give me the html source, via the second last button)

to Fraser Hore:
that's already fixed in svn

to Dariusz Wlodarczyk:
will fix them soon

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Dariusz Wlodarczyk

Tuesday 18 April 2006 7:51:23 am

I have another problem with editor...

When i write some attribute text in polish language and publish node, I don't see polish diacritical characters when view this node content. The diacritical characters are written to the database, but encoding of xmltext is not set in field header.

<?xml version="1.0"?>

should be

<?xml version="1.0" encoding="UTF-8"?>

UTF-8 is only for example :)

Siniša Šehović

Tuesday 18 April 2006 7:59:29 am

Hi Iiu

this is the code:

<html>
    <head>
        <title></title>
    </head>
    <body>
        this is what i want to publish
    </body>
</html>

Btw, if I try to see EZ code (last button) I get javascript error:

line:61
char:5
error: '1.length' is null or not an object

Best regards,
Sinisa

---
If at first you don't succeed, look in the trash for the instructions.

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