Still no icons in admin and slower user site

Author Message

Karsten Jennissen

Wednesday 26 May 2004 5:00:33 am

I previously reported a couple of problems with 3.4alpha3 in these forums but couldn't find a solution, now I installed 3.4beta2 on the same server and the problems persist. It most likely is some server configuration, but I still would appreciate any help.

Problems:
1) no mime icons in the admin
2) the user site is noticably slower than the admin site (felt: about 2:1)
3) the stylesheet/design does not seem to work properly with the user site, although the admin is ok

I installed on a 256K RAM 900Mhz SuSE 8.1 Linux server with ImageGD from the tar.gz archive. The server was recently reinitialized with the base config and I updated PHP to 4.3.3 (see http://www.blanko.info/info.php)
User site: http://test34.blanko.info/corporate
Admin site: http://test34.blanko.info/corporate_admin
Before running the setup wizard I ran modfix.sh and clearcache.sh. Then I chose all default options in the wizard (sendmail, mysql, English UK). Designs: corporate with all options enabled.

My directives for apache look like this:

DocumentRoot /home/...
ServerName test34.blanko.info
<Directory /home/...>
Options FollowSymLinks
AllowOverride None
</Directory>

php_admin_flag safe_mode Off
php_admin_value open_basedir none

RewriteEngine On
RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf)$ /index.php

Does anyone have a clue what the problem is?

Eric Weik

Thursday 27 May 2004 5:00:45 am

Hi Karsten,

I had the same problem, and found that it was because the rewrite engine was rewriting the icons (and stylesheets). I updated the rewrite rule in the virtualhost to ignore /packages/styles (for stylesheets), and /share (for icons).

  # eZpublish config
  DocumentRoot	/www/ezpublish/current
  RewriteEngine On
  RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/extension/.*/design|^/kernel/setup/packages|^/packages/styles|^/share).*\.(gif|jpg|png|css|jar|js|ico|pdf)$ /www/ezpublish/current/index.php

There may be other directories that should be added to this list, but I just installed the beta last night so thats I'll I noticed. :-)

-Eric

Karsten Jennissen

Thursday 27 May 2004 6:31:28 am

Thanks a million! It works perfectly, all three problems solved with one small change.

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 19:10:52
Script start
Timing: Jan 18 2025 19:10:52
Module start 'layout'
Timing: Jan 18 2025 19:10:52
Module start 'content'
Timing: Jan 18 2025 19:10:54
Module end 'content'
Timing: Jan 18 2025 19:10:54
Script end

Main resources:

Total runtime1.1861 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.0099 588.1641152.6563
Module start 'layout' 0.00990.0036 740.820339.5078
Module start 'content' 0.01351.1707 780.3281507.0703
Module end 'content' 1.18430.0018 1,287.398412.4219
Script end 1.1860  1,299.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3042160.0002
Check MTime0.00170.1402160.0001
Mysql Total
Database connection0.00100.085810.0010
Mysqli_queries1.130295.2909570.0198
Looping result0.00050.0452550.0000
Template Total1.141596.220.5708
Template load0.00220.183320.0011
Template processing1.139396.060920.5697
Template load and register function0.00020.013210.0002
states
state_id_array0.00150.130010.0015
state_identifier_array0.00200.165120.0010
Override
Cache load0.00170.1461240.0001
Sytem overhead
Fetch class attribute can translate value0.00080.064320.0004
Fetch class attribute name0.00250.209340.0006
XML
Image XML parsing0.00070.055320.0003
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00140.1204160.0001
String conversion0.00000.000640.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
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs