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

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 31 2025 06:06:46
Script start
Timing: Jan 31 2025 06:06:46
Module start 'layout'
Timing: Jan 31 2025 06:06:46
Module start 'content'
Timing: Jan 31 2025 06:06:46
Module end 'content'
Timing: Jan 31 2025 06:06:46
Script end

Main resources:

Total runtime0.0158 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.0069 588.3828151.2422
Module start 'layout' 0.00690.0024 739.625036.7109
Module start 'content' 0.00920.0052 776.335998.3438
Module end 'content' 0.01440.0013 874.679741.9922
Script end 0.0157  916.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002012.7822140.0001
Check MTime0.00106.1674140.0001
Mysql Total
Database connection0.00159.292710.0015
Mysqli_queries0.003824.214930.0013
Looping result0.00000.063510.0000
Template Total0.00106.410.0010
Template load0.00084.988710.0008
Template processing0.00021.387310.0002
Override
Cache load0.00053.290010.0005
General
dbfile0.00159.392580.0002
String conversion0.00000.030240.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