unstable CSS loading

Author Message

laurent le cadet

Wednesday 05 November 2008 8:49:27 am

Hi,

I have strange behaviors with CSS and content cache.
Sometimes and only for some nodes, the page is printed out without CSS rendering.
The code is ok but the style is absent, even if I refresh the page.
The only solution is to edit the node and send it again for publishing (= clearing the content cache for this node).

Is that a well known problem ?

Regards.

Laurent

Björn Dieding@xrow.de

Wednesday 05 November 2008 2:01:36 pm

I have noticed this too sometimes e.g. on ez.no

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

laurent le cadet

Wednesday 05 November 2008 11:10:16 pm

Yes, this happens here too from time to time.

laurent le cadet

Wednesday 19 November 2008 9:06:16 am

I found that the path to CSS is corrupted when the problem happens.
The syntax that should be:

@import url("/design/plain/stylesheets/core.css");

turns to

@import url("<b>/content/view/</b>/design/plain/stylesheets/core.css");

The orignal code to render the path is:

@import url({"stylesheets/core.css"|ezdesign});

Laurent

André R.

Wednesday 19 November 2008 10:13:32 am

Version?
ez.no is running 3.8.4.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Piotrek Karaś

Wednesday 19 November 2008 2:15:39 pm

<i>Yes, this happens here too from time to time.</i>

I'd say this happens at ez.no a lot ;)

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

laurent le cadet

Wednesday 19 November 2008 11:21:32 pm

@André: 3.10

@Piotrek: more than "from time to time" ;)

I will check ez.no source code next time and will report it here.

laurent le cadet

Monday 24 November 2008 7:06:46 am

same behavior on ez.no.
No CSS rendering. Source code:

<style type="text/css">
    @import url(/doc/ez_publish/technical_manual/4_0/featur ...//tools/extension/ezdoc/design/doc/stylesheets/core.css);
    @import url(/doc/ez_publish/technical_manual/4_0/featur ...//tools/extension/ezdoc/design/doc/stylesheets/pagelayout.css);
    @import url(/doc/ez_publish/technical_manual/4_0/featur ...//tools/extension/ezdoc/design/doc/stylesheets/classes.css);
    @import url(/doc/ez_publish/technical_manual/4_0/featur ...//tools/extension/ezdoc/design/doc/stylesheets/doc.css);
    @import url(/doc/ez_publish/technical_manual/4_0/featur ...//tools/extension/ezdoc/design/doc/stylesheets/print.css) print;</style>

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

Main resources:

Total runtime0.0169 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.1484152.6250
Module start 'layout' 0.00580.0024 741.773439.4453
Module start 'content' 0.00810.0066 781.218897.4297
Module end 'content' 0.01480.0021 878.648442.3047
Script end 0.0168  920.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002413.9116140.0002
Check MTime0.00105.8567140.0001
Mysql Total
Database connection0.00074.283510.0007
Mysqli_queries0.002313.623830.0008
Looping result0.00000.094510.0000
Template Total0.00169.610.0016
Template load0.00095.331810.0009
Template processing0.00074.189010.0007
Override
Cache load0.00063.403110.0006
General
dbfile0.002615.119480.0003
String conversion0.00000.052240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0001 secs