Sub items not showing

Author Message

paul bolger

Monday 28 March 2011 4:21:52 am

It's late, and maybe I'm missing something... but.

I have a brand new install of ezwebin with demo content (4.5.0 beta1). I go into the admin interface and select 'company/news'. The bottom of the News [Folder] area says that I have 5 subitems, but I can't see them.

This page

http://doc.ez.no/eZ-Publish/User-manual/4.4/Daily-tasks/Managing-sub-items

Says something about a 'table options' dialogue, but I can't see anything. How do I display these items?

Paul Bolger

Jean-Luc Nguyen

Monday 28 March 2011 5:15:18 am

Hi,

Check if it is related to http://share.ez.no/forums/install-configuration/subitems-data-error-message-after-new-install-of-4.4, bug fixed in eZ Publish 4.5 release.

http://www.acidre.com

paul bolger

Monday 28 March 2011 12:04:12 pm

It's possible I suppose. There's a big slab of js there instead of any html. Whichever though, This is a fresh install of 4.5 viewed with Firefox 3.6 and Chrome 10.0.648.204.

The item view is fine in the front end, just not in the admin interface.

It certainly wouldn't be giving first time users or potential customers a good first impression of eZ.

Paul Bolger

Betsy Gamrat

Monday 28 March 2011 7:35:39 pm

It might be related to installations with more than one language. I saw it on eZ 4.2, with eZwebin installed and there were en-US and en-GB classes. I have an eZ 4.4 installation, with just en-US, no eZwebin, and it looks okay.

Steven E. Bailey

Tuesday 29 March 2011 12:11:55 am

Are you sure all your javascript files are loading? I've seen this happen with javascript not loading.

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

paul bolger

Tuesday 29 March 2011 12:27:22 am

"

It might be related to installations with more than one language. I saw it on eZ 4.2, with eZwebin installed and there were en-US and en-GB classes. I have an eZ 4.4 installation, with just en-US, no eZwebin, and it looks okay.

"

Hi Betsy, nice to hear from you! I don't think that's the problem though: I've tried having different language/locations active before and this time I decided to make life easy for myself and just use en-GB. Having the right flag icon isn't worth the pain.

paul b

Paul Bolger

paul bolger

Tuesday 29 March 2011 12:33:59 am

"

Are you sure all your javascript files are loading? I've seen this happen with javascript not loading.

"

Hi Steven,

I think you may be right. I'm getting a kernel (20) error on

"

http://mysite/extension/ezjscore/design/standard/lib/yui/2.8.1/build/utilities/utilities.js

"

So, a problem with my rewrite rules maybe? I must admit I've been cutting and pasting the same block for a while now.

"

<VirtualHost *:80>
<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]
RewriteRule ^/var/[^/]+/cache/public/.* - [L]
# Uncomment the following lines when using popup style debug.
# RewriteRule ^/var/cache/debug\.html.* - [L]
# RewriteRule ^/var/[^/]+/cache/debug\.html.* - [L]
RewriteRule .* /index.php
RewriteCond %{HTTP_HOST} ^webdav\..*
RewriteRule ^(.*) /webdav.php [L]
</IfModule>
ServerName mysite
ServerAlias www.mysite
ServerAlias admin.mysite
ServerAlias www.admin.mysite
DocumentRoot /www/ezpublish/sites/mysite
</VirtualHost>

"

Odd that it'd only affect the admin siteaccess though.

Paul Bolger

Jean-Luc Nguyen

Tuesday 29 March 2011 3:38:45 am

Hi Paul,

You should replace:

Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]

by:

Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts|lib?)/.* - [L]

http://www.acidre.com

paul bolger

Wednesday 30 March 2011 3:07:32 am

"

Hi Paul,

You should replace:

Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]

by:

Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts|lib?)/.* - [L]

"

Thanks Jan-Luc. That still doesn't seem to fix it though.

I've also tried removing all the rewrite rules and using the index.php URLs, but that doesn't work either.

Paul Bolger

paul bolger

Wednesday 30 March 2011 3:53:45 pm

I've taken a look at my two sites running 4.4 and they are working just fine, with the original rewrite rules. This does seem to be a 4.5 issue.

(edit) strike that, it was a rewrite issue, and it's sorted now.

Paul Bolger

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 30 2025 19:33:43
Script start
Timing: Jan 30 2025 19:33:43
Module start 'layout'
Timing: Jan 30 2025 19:33:43
Module start 'content'
Timing: Jan 30 2025 19:33:43
Module end 'content'
Timing: Jan 30 2025 19:33:43
Script end

Main resources:

Total runtime0.0280 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.1328151.2109
Module start 'layout' 0.00590.0044 739.3438220.7109
Module start 'content' 0.01030.0159 960.05471,013.9297
Module end 'content' 0.02620.0018 1,973.984445.9766
Script end 0.0280  2,019.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002910.2710140.0002
Check MTime0.00114.0021140.0001
Mysql Total
Database connection0.00062.271910.0006
Mysqli_queries0.003412.020830.0011
Looping result0.00000.060410.0000
Template Total0.00134.610.0013
Template load0.00093.366110.0009
Template processing0.00031.233710.0003
Override
Cache load0.00072.346710.0007
General
dbfile0.00176.047080.0002
String conversion0.00000.031540.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