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.