Problems with editor.css in online editor

Author Message

Mark Kruse

Wednesday 04 February 2004 2:43:40 am

Hi!

We are using the online editor in the siteaccess "admin", which we get via the url:
http://host/admin/content/edit...

The editor do not get the editor.css and the apache-error-log says that /ezpublish/admin/extension/.../editor.css
doesn't exist. This is right, the admin is flase in this case.
The ezeditor.js uses the variable indexDir from ezSys->indexDir().

It seems, that this class gets our siteaccess as wwwDir.

Does anyone have an idea, how to correct this problem?

Greetings,

Mark

Wenyue Yu

Wednesday 04 February 2004 6:48:18 am

Hi,

Could you check function setStyleSheet() in ezeditor.js (line around 500)?

You can use "alert( editorCSS );" to see what url the css file get.

Regards,
wenyue

Mark Kruse

Wednesday 04 February 2004 11:54:07 pm

Hi!

I did check this function. And the variable "editorCSS" is filled with the IndexDir from class eZSys (in my case, with "admin").
When I remove the IndexDir in this JavaScript-function, all is OK.

So I think, it has to be the eZSys-Class. But I do not know, how to correct this problem...

Regards,

Mark

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 00:07:48
Script start
Timing: Jan 19 2025 00:07:48
Module start 'layout'
Timing: Jan 19 2025 00:07:48
Module start 'content'
Timing: Jan 19 2025 00:07:49
Module end 'content'
Timing: Jan 19 2025 00:07:49
Script end

Main resources:

Total runtime1.3483 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.0469152.6406
Module start 'layout' 0.00510.0036 740.687539.4766
Module start 'content' 0.00871.3381 780.1641505.4141
Module end 'content' 1.34680.0014 1,285.578112.1250
Script end 1.3482  1,297.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2408160.0002
Check MTime0.00140.1027160.0001
Mysql Total
Database connection0.00090.063310.0009
Mysqli_queries1.292195.8327570.0227
Looping result0.00060.0429550.0000
Template Total1.309797.120.6548
Template load0.00190.142720.0010
Template processing1.307796.993820.6539
Template load and register function0.00020.013310.0002
states
state_id_array0.00110.081210.0011
state_identifier_array0.00170.126220.0009
Override
Cache load0.00160.1180280.0001
Sytem overhead
Fetch class attribute can translate value0.00140.102520.0007
Fetch class attribute name0.00160.118840.0004
XML
Image XML parsing0.00390.286520.0019
class_abstraction
Instantiating content class attribute0.00000.001050.0000
General
dbfile0.00480.3595160.0003
String conversion0.00000.000540.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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.0002 secs