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.

eZ debug

Timing: Jan 31 2025 07:27:35
Script start
Timing: Jan 31 2025 07:27:35
Module start 'layout'
Timing: Jan 31 2025 07:27:35
Module start 'content'
Timing: Jan 31 2025 07:27:35
Module end 'content'
Timing: Jan 31 2025 07:27:35
Script end

Main resources:

Total runtime0.0163 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.3672151.2266
Module start 'layout' 0.00520.0025 739.593836.6797
Module start 'content' 0.00770.0071 776.2734106.3438
Module end 'content' 0.01480.0015 882.617245.9922
Script end 0.0162  928.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.2879140.0002
Check MTime0.00127.5232140.0001
Mysql Total
Database connection0.00105.901110.0010
Mysqli_queries0.002515.208830.0008
Looping result0.00000.080510.0000
Template Total0.00116.610.0011
Template load0.00095.255510.0009
Template processing0.00021.320510.0002
Override
Cache load0.00063.684710.0006
General
dbfile0.002917.684380.0004
String conversion0.00000.036640.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