Forums / Install & configuration / Problem with new admin dynamic treemenu [SOLVED]

Problem with new admin dynamic treemenu [SOLVED]

Author Message

Daniele Nocentini

Tuesday 09 October 2007 2:13:35 am

Hi all!
I have upgrade my ez to new 3.10.0 release and I have added in contentstructuremenu.ini.append.php inside my admin siteaccess the rule:
[TreeMenu]
Dynamic=enabled

but now I don't see the tree in the admin menu and when click on icon or in the link does not happens nothing, why works the new menu?

Antica Bottega Digitale srl
http://www.abd.it

Kåre Køhler Høvik

Tuesday 09 October 2007 4:54:22 am

Hi

Did you remember step #4 here : http://ez.no/doc/ez_publish/upgrading/upgrading_to_3_10/from_3_9_x_to_3_10_0

Add to your virtual host file:

RewriteRule content/treemenu/?$ /index_treemenu.php [L]

Kåre Høvik

Daniele Nocentini

Tuesday 09 October 2007 5:37:18 am

oh yes! I have add this rules in my apache conf file:

RewriteRule content/treemenu/?$ index_treemenu.php
RewriteRule index_treemenu.php - [L]

and if I try url:

http://www.myez.com/index_treemenu.php

apache response with php page.

Antica Bottega Digitale srl
http://www.abd.it

Kåre Køhler Høvik

Tuesday 09 October 2007 5:51:57 am

Hi

Can you provide a copy of your apache virtual host file ?

Kåre Høvik

Daniele Nocentini

Tuesday 09 October 2007 6:13:41 am

Sure!
this is my apache conf file included in httpd.conf:

<VirtualHost 192.168.1.149:80>
    <Directory /var/www/html/eztest>
        Options FollowSymLinks
        AllowOverride None
    </Directory>
 
    <IfModule mod_php4.c>
        php_admin_flag safe_mode Off
        php_admin_value register_globals    0
        php_value magic_quotes_gpc  0
        php_value magic_quotes_runtime  0
        php_value allow_call_time_pass_reference 0
    </IfModule>
 
    DirectoryIndex index.php
 
    <IfModule mod_rewrite.c>
        RewriteEngine On
        Rewriterule ^/var/storage/.* - [L]
        Rewriterule ^/var/[^/]+/storage/.* - [L]
        RewriteRule ^/var/cache/texttoimage/.* - [L]
        RewriteRule ^/var/[^/]+/cache/texttoimage/.* - [L]
        Rewriterule ^/design/[^/]+/(stylesheets|images|javascript)/.* - [L]
        Rewriterule ^/share/icons/.* - [L]
        Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
        Rewriterule ^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
        RewriteRule ^/packages/styles/.+/thumbnail/.* - [L]
        RewriteRule ^/favicon\.ico - [L]
        RewriteRule ^/robots\.txt - [L]
        
        # Uncomment the following lines when using popup style debug.
        # RewriteRule ^/var/cache/debug\.html.* - [L]
        # RewriteRule ^/var/[^/]+/cache/debug\.html.* - [L]
        
        # Uncomment the following lines when using WEBDAV and/or SOAP features
        RewriteCond %{HTTP_HOST} ^webdav\..*
        RewriteRule ^(.*) /webdav.php [L]
        RewriteCond %{HTTP_HOST} ^soap\..*
        RewriteRule ^(.*) /soap.php [L]
        
        RewriteRule content/treemenu/?$ index_treemenu.php
        RewriteRule index_treemenu.php - [L]
                
        RewriteRule .* /index.php
    </IfModule>
 
    DocumentRoot /var/www/html/eztest
    ServerName www.eztest.it
    ServerAlias admin.eztest.it
    ServerAlias soap.eztest.it
    ServerAlias webdav.eztest.it    
    ServerAdmin XXXX@XXX.XX
    ErrorLog logs/eztest-error_log
    CustomLog logs/eztest-access_log common
    AcceptPathInfo On
</VirtualHost>

Antica Bottega Digitale srl
http://www.abd.it

Kåre Køhler Høvik

Tuesday 09 October 2007 7:16:34 am

Hi

What happens if you replace these lines

RewriteRule content/treemenu/?$ index_treemenu.php
RewriteRule index_treemenu.php - [L]

with:

RewriteRule content/treemenu/?$ /index_treemenu.php [L]

and place it just below the

RewriteEngine On

line.

Remember to restart apache.

Kåre Høvik

Daniele Nocentini

Tuesday 09 October 2007 7:30:05 am

oooooooooo yeah!

yes now it woks fine!

thanks Kare.

Antica Bottega Digitale srl
http://www.abd.it

eZ debug

Timing: Jan 18 2025 20:59:54
Script start
Timing: Jan 18 2025 20:59:54
Module start 'content'
Timing: Jan 18 2025 20:59:54
Module end 'content'
Timing: Jan 18 2025 20:59:54
Script end

Main resources:

Total runtime0.8835 sec
Peak memory usage4,096.0000 KB
Database Queries206

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.0781180.8047
Module start 'content' 0.00540.7608 769.8828600.0938
Module end 'content' 0.76620.1173 1,369.9766341.0313
Script end 0.8835  1,711.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4222210.0002
Check MTime0.00140.1554210.0001
Mysql Total
Database connection0.00080.091210.0008
Mysqli_queries0.799690.50062060.0039
Looping result0.00200.22662040.0000
Template Total0.858497.220.4292
Template load0.00210.234420.0010
Template processing0.856396.925420.4282
Template load and register function0.00010.011810.0001
states
state_id_array0.00060.071010.0006
state_identifier_array0.00060.073520.0003
Override
Cache load0.00180.2063480.0000
Sytem overhead
Fetch class attribute can translate value0.00150.165930.0005
Fetch class attribute name0.00150.164690.0002
XML
Image XML parsing0.00130.148030.0004
class_abstraction
Instantiating content class attribute0.00000.0032140.0000
General
dbfile0.00530.6052320.0002
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs