ubuntu platforme: problem with css, javascript and flash

Author Message

rim rima

Tuesday 17 May 2011 3:23:52 am

hi,

i am develloping a site for my company with ez publish....every thing is ok till the time i wanted to test my site in ubuntu platforme....i installed Kubuntu, with the hole package: apache2, php5, mysql.when i put my site in the /var/www/..i can't get any color or image in the browser...al i get is words and links...no stylesheet is displayed , no javascript no flash animation...i looked to the source of the page from the browser...the hole part reffering to javascript stylesheet was missing...and it give me problem about insertMedia which i used by ez publish to display the flash animation...

i tried to change permission , look to the rewrite rules...nothing work, except now that i get to see the images in the middle of my articles....

can anyone plzz help why can't the css sheets be loaded?

André R.

Tuesday 17 May 2011 2:55:49 pm

Welcome to the community!

This is caused by rewrite rules indeed, see: http://doc.ez.no/eZ-Publish/Technical-manual/4.5/Installation/Virtual-host-setup

RewriteRule ^/var/([^/]+/)?cache/(texttoimage|public)/.* - [L]

Alternatively disable css/js packing, see possible settings in extension/ezjscore/settings/ezjscore.ini

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

rim rima

Wednesday 18 May 2011 3:15:58 am

Thank you a lot...i founded that the .httaccess was missing....now it work perfectly

thanks again

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 18 2025 03:01:09
Script start
Timing: Jan 18 2025 03:01:09
Module start 'layout'
Timing: Jan 18 2025 03:01:09
Module start 'content'
Timing: Jan 18 2025 03:01:10
Module end 'content'
Timing: Jan 18 2025 03:01:10
Script end

Main resources:

Total runtime0.6355 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.0046 588.1641152.6563
Module start 'layout' 0.00460.0028 740.820339.5313
Module start 'content' 0.00750.6265 780.3516533.6484
Module end 'content' 0.63400.0015 1,314.000012.0938
Script end 0.6355  1,326.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5047160.0002
Check MTime0.00120.1908160.0001
Mysql Total
Database connection0.00070.102910.0007
Mysqli_queries0.594493.5278570.0104
Looping result0.00050.0731550.0000
Template Total0.609996.020.3049
Template load0.00210.323120.0010
Template processing0.607895.646320.3039
Template load and register function0.00010.018910.0001
states
state_id_array0.00070.108410.0007
state_identifier_array0.00120.181420.0006
Override
Cache load0.00170.2681160.0001
Sytem overhead
Fetch class attribute can translate value0.00050.071520.0002
Fetch class attribute name0.00090.140440.0002
XML
Image XML parsing0.00060.096620.0003
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00070.1101170.0000
String conversion0.00000.001840.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs