Migration 3.4.4 -> 3.5 admin interface issue

Author Message

Olivier Pierret

Tuesday 11 January 2005 9:48:20 am

Hello all !

I try to migrate my ezpublish 3.4.4 site to 3.5.0. To do this I carefully followed the instructions found in: http://www.ez.no/ez_publish/download/changelogs/ez_publish_3_5/upgrading. Or at least as much as I could...

The result is a working site but I face a couple of annoying issues in the admin interface (3.5 new version):

- content structure is always empty (but I can see the content objects in the rest of the admin interface)

- all preference settings like :
- changing size (small medium large) of the content structure
or
- the toggle buttons "preview" "details" "translations" "locations" "relations"
- etc.
do not work: I am properly rediected but the requested setting is ignored.

(actually every preference that use the path "admin/user/preferences/set/" does not work)

Could someone help me on this ? Am I the only one to face this big inconvenience ?

Thank you in advance for your help

Olivier Pierret

Ɓukasz Serwatka

Wednesday 12 January 2005 3:20:34 am

Hi,

Did you set "is container" to true for your folders classes? Every class which store any subnodes should has "is container" set to true.

Did you have any errors when you run update scripts? Did you clear the cache?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Balazs Halasy

Wednesday 12 January 2005 3:51:49 am

This might help...

1) Clear all caches (and make sure that they're really cleared).
2) Do a "DELETE FROM ezsession" in the database.
3) Make sure that the view cache mechanism is turned on...

[ContentSettings]
ViewCaching=enabled

Allman

Remco Wulms

Wednesday 12 January 2005 4:27:21 am

Olivier: You're not the only one, I have the same problem.

Allman: This doesn't fix the problem for me. The only thing changed is the width of content structure being large instead of small, but changing it is still not possible.

Frederik Holljen

Wednesday 12 January 2005 4:42:27 am

Remco, did you clear the cache after you changed the setting? (should not be necessary but try it anyway)

Remco Wulms

Wednesday 12 January 2005 4:57:01 am

Frederik, also no results after clearing the cache.

Jan Borsodi

Wednesday 12 January 2005 5:40:19 am

Are you 100% sure you added the <i>CachedViewPreferences[full]</i> entry to your <i>site.ini</i> file for the admin siteaccess?

Without this the <i>user/preferences</i> entries won't work.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Remco Wulms

Wednesday 12 January 2005 6:36:14 am

Jan,

This entry was not in my site.ini; I added it and now it works fine. Thanks! I didn't see the instruction to add it anywhere, ViewCaching=enabled was the only setting I added.

Jan Borsodi

Thursday 13 January 2005 12:12:56 am

You must have missed it, the upgrade page explained it under the header:
<b>Adding a setting to site.ini.append needed for the new administration interface</b>

http://ez.no/ez_publish/download/changelogs/ez_publish_3_5/upgrading

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Remco Wulms

Thursday 13 January 2005 12:52:06 am

Okay, I see what went wrong. I used the general upgrade guidelines in http://ez.no/ez_publish/documentation/installation/upgrading

Olivier Pierret

Friday 14 January 2005 5:30:23 am

Thanks all for your help

However this is not set for me :

Indeed the CachedViewPreferences[full] and ViewCaching=enabled entries were broken in my site.ini.append.php file. However even without these missing entries, I figured out that if I logout and then logon in the admin interface, the preference previously set are taken into account (at next logon of course).

Then I ran the procedure

1) Clear all caches (and make sure that they're really cleared).
2) Do a "DELETE FROM ezsession" in the database.
3) Make sure that the view cache mechanism is turned on...

suggested by Allman without any success (preferences are still taken into account after delogging and relogging.

I feel that I am close to the final solution but sth is still wrong.

Btw: in my current configuration , if i go to setup/cache management the "Content view cache" check box is grayed like it is unavailable. I don't know if this might impact the user preferences neither how to change it.

thank you for your further suggestions

Olivier

Frederik Holljen

Friday 14 January 2005 6:49:07 am

Olivier,

Did you enable the viewcache like allman suggests?

[ContentSettings]
ViewCaching=enabled

Olivier Pierret

Friday 14 January 2005 7:15:50 am

Thanks a lot Frederik: you oriented me in the right direction:

I had
ViewCaching=disabled in override/site.ini.append.php
and
ViewCaching=enabled in siteaccess/admin/site.ini.append.php

I naively thought that the last entry is the one taken into account but actually it appears that override/site.ini has the precedence (am I right and is it normal? )

So I suppressed the viewcaching entry in the override/site.ini and now it works.

Olivier

 

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.