SJSD install issue

Author Message

David Jones

Monday 14 August 2006 3:42:17 am

I posted this n the relevant thread above but I guess that that is too big for people to bother reading any more>

Help gratefully received.

-------

Sorry for the silly question.

I have installed and cleared cache but I cannot see the editior. When I click "Enable Editor" nothing happens (other than the button change to "Disable Editor".)

I assume that it is because of this:

"you use virtual host, so you have to make sure *.html and *.xml and *.js can be accessed directly

so please modify your rewrite rules"

But how do I modify the rewrite rules?

Thanks

David Jones

Monday 14 August 2006 4:37:12 am

OK, so I found the rewrite rules

And added the rules suggested here:
http://ez.no/community/forum/developer/sjsd_wysiwyg_editor_based_on_fckeditor_for_ezxmltext/(offset)/100

So my rewrite rules now look like this:

<VirtualHost *>
<Directory "E:\ApacheSites\eZpublish\ezpublish">
Options FollowSymLinks Indexes ExecCGI
AllowOverride All
</Directory>
DocumentRoot "E:\ApacheSites\eZpublish\ezpublish"

RewriteEngine On
# For all known data directories we let Apache serve it directly
Rewriterule ^/var/storage/.*                                                    - [L]Rewriterule ^/var/[^/]+/storage/.*                                              - [L]
RewriteRule ^/var/cache/texttoimage/.*                                          - [L]
RewriteRule ^/var/[^/]+/cache/texttoimage/.*                                    - [L]
Rewriterule ^/design/[^/]+/(stylesheets|images|javascript)/.*                   - [L]
Rewriterule ^/share/icons/.*                                                    - [L]
Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
Rewriterule ^/packages/styles/.*                                                - [L]

RewriteRule ^/extension/sjsd/(FCKeditor|fcksjsd)/.* - [L]
RewriteRule ^/extension/[^/]+/design/[^/]+/fckskins/.* - [L]

RewriteRule !\.(gif|jpe?g|png|css|js|html|xml)|var(.+)storage.pdf(.+)\.pdf$ /index.php

# Compatability with 3.3 and lower


RewriteRule ^/kernel/setup/packages/.*                                          - [L]

# If not PHP should serve the page
Rewriterule .* /index.php

ServerName localhost
</VirtualHost>

But I'm still getting this error in the JS consol

Error: FCKeditor is not defined
Source File: http://omf.headscapedev.com:8080/omf_admin/content/edit/134/2/eng-GB
Line: 467

Any help is gratefully received.

Thanks

David Jones

Monday 14 August 2006 8:00:08 am

OK, I'm not entirely sure what I did but it now kinda works.

I have one remaining problem which I would love some help with.

One loading this error pops up in a dialog box

Error loading &#8220;/extension/sjsd/FCKeditor/fckstyles.xml&#8221;

If anybody knows why, grateful I would be.

David Jones

Thursday 17 August 2006 3:25:22 am

Any Clues on this one?

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