content structure menu in admin interface empty

Author Message

Greg McAvoy-Jensen

Thursday 26 June 2008 11:06:13 pm

We're using 3.10.0 (recent upgrade from 3.9.4) and on my development installation I can see my admin left content structure menu just fine. But on the same server I have a staging installation, and the menu has no nodes. Same is true on the production (remote) server. PHP is not running as CGI. Apache sites-available entries are identical except for paths and server names/aliases. I've got dynamic set to disabled on both. The two installations use separate databases, but the root node is, of course, 2 on both. contentmenustructure.ini's are identical. Cleared caches --clear-all and --purge for both. No error or warnings get noted. URL alias-related problem? Where do I look next?

Many thanks!

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Piotrek Karaś

Friday 27 June 2008 2:11:34 am

What about .htaccess file entries?

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Greg McAvoy-Jensen

Friday 27 June 2008 7:15:23 am

Thank you. Yes, I had forgotten to mention that neither have .htaccess (not necessary if you have access to the /settings/sites-available files, I thought).

I had tried:
RewriteRule content/treemenu/?$ /index_treemenu.php [L]
in the apache2 sites-available entry on the testing server to with no effect (either dynamic disabled or enabled, clearing caches with --clear-all --purge each time).

I had also tried adding the .htaccess_root to the testing installation, both with and without dynamic enabled, clearing caches fully both ways--again, it didn't help.

Other thoughts?

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Greg McAvoy-Jensen

Friday 27 June 2008 7:16:15 am

I should have said, "I tried copying .htaccess_root to .htaccess".

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Greg McAvoy-Jensen

Friday 27 June 2008 3:13:03 pm

It appears the solution was in fact to republish the root node. I had done that, and cleared the cache with:

$ bin/php/ezcache.php --clear-all --purge

That didn't work, though.

But clearing the cache from the admin interface after republishing the root node did fix it.

My guess is it's a permission problem, and that I needed to run ezcache.php as root. No errors were reported by ezcache.php, however.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Piotrek Karaś

Saturday 28 June 2008 1:04:48 pm

<i>Thank you. Yes, I had forgotten to mention that neither have .htaccess (not necessary if you have access to the /settings/sites-available files, I thought).</i>
That's true, but then you can still forget about .htaccess files messing things up, for example. Still, that was my only thought.

<i>But clearing the cache from the admin interface after republishing the root node did fix it.</i>
Interesting. It's good to know that this could be a potential solution to similar problems.... weird though... Please share if you discover more.

Cheers,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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

Main resources:

Total runtime0.0212 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0040 588.2656151.2266
Module start 'layout' 0.00400.0032 739.4922220.7344
Module start 'content' 0.00720.0126 960.22661,005.9609
Module end 'content' 0.01990.0013 1,966.187541.9922
Script end 0.0211  2,008.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002210.4002140.0002
Check MTime0.00104.7287140.0001
Mysql Total
Database connection0.00073.131410.0007
Mysqli_queries0.002110.120930.0007
Looping result0.00000.037210.0000
Template Total0.00104.710.0010
Template load0.00083.651810.0008
Template processing0.00021.016010.0002
Override
Cache load0.00042.078210.0004
General
dbfile0.00021.048780.0000
String conversion0.00000.022540.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