Forums / Install & configuration / Still no icons in admin and slower user site

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.

eZ debug

Timing: Jan 18 2025 18:33:41
Script start
Timing: Jan 18 2025 18:33:41
Module start 'content'
Timing: Jan 18 2025 18:33:42
Module end 'content'
Timing: Jan 18 2025 18:33:42
Script end

Main resources:

Total runtime0.8764 sec
Peak memory usage4,096.0000 KB
Database Queries58

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.9609180.8047
Module start 'content' 0.00700.8624 768.7656512.1797
Module end 'content' 0.86940.0069 1,280.945342.3672
Script end 0.8763  1,323.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00270.3094140.0002
Check MTime0.00120.1338140.0001
Mysql Total
Database connection0.00130.149710.0013
Mysqli_queries0.834295.1825580.0144
Looping result0.00050.0537560.0000
Template Total0.850697.120.4253
Template load0.00200.223420.0010
Template processing0.848696.830720.4243
Template load and register function0.00020.018810.0002
states
state_id_array0.00060.071310.0006
state_identifier_array0.00060.072920.0003
Override
Cache load0.00160.1816240.0001
Sytem overhead
Fetch class attribute can translate value0.00050.060320.0003
Fetch class attribute name0.00140.162640.0004
XML
Image XML parsing0.00070.082320.0004
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00110.1289180.0001
String conversion0.00000.000630.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs