Forums / Developer / SJSD install issue

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?

eZ debug

Timing: Jan 18 2025 22:20:30
Script start
Timing: Jan 18 2025 22:20:30
Module start 'content'
Timing: Jan 18 2025 22:20:30
Module end 'content'
Timing: Jan 18 2025 22:20:30
Script end

Main resources:

Total runtime0.1407 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.6094180.8438
Module start 'content' 0.00660.0061 768.453197.8516
Module end 'content' 0.01270.1279 866.3047522.4844
Script end 0.1406  1,388.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00392.7644200.0002
Check MTime0.00191.3266200.0001
Mysql Total
Database connection0.00080.535810.0008
Mysqli_queries0.095567.90071410.0007
Looping result0.00120.82561390.0000
Template Total0.127490.610.1274
Template load0.00141.007010.0014
Template processing0.126089.561610.1260
Override
Cache load0.00110.795410.0011
Sytem overhead
Fetch class attribute can translate value0.00070.473310.0007
XML
Image XML parsing0.00030.192010.0003
General
dbfile0.00523.6674200.0003
String conversion0.00000.004130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs