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.

eZ debug

Timing: Jan 19 2025 01:06:06
Script start
Timing: Jan 19 2025 01:06:06
Module start 'layout'
Timing: Jan 19 2025 01:06:06
Module start 'content'
Timing: Jan 19 2025 01:06:07
Module end 'content'
Timing: Jan 19 2025 01:06:07
Script end

Main resources:

Total runtime0.7495 sec
Peak memory usage4,096.0000 KB
Database Queries58

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 590.1563152.6094
Module start 'layout' 0.00670.0040 742.765639.4297
Module start 'content' 0.01070.7374 782.1953453.5625
Module end 'content' 0.74810.0014 1,235.757812.1875
Script end 0.7495  1,247.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4968160.0002
Check MTime0.00140.1817160.0001
Mysql Total
Database connection0.00080.106110.0008
Mysqli_queries0.694492.6428580.0120
Looping result0.00050.0731560.0000
Template Total0.702493.720.3512
Template load0.00220.288420.0011
Template processing0.700393.430620.3501
Template load and register function0.00020.025510.0002
states
state_id_array0.00140.192510.0014
state_identifier_array0.00270.366020.0014
Override
Cache load0.00180.2363310.0001
Sytem overhead
Fetch class attribute can translate value0.00080.107510.0008
Fetch class attribute name0.00140.183140.0003
XML
Image XML parsing0.00010.014710.0001
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00310.4090100.0003
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs