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.