Forums / Install & configuration / Migration 3.4.4 -> 3.5 admin interface issue

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

 

eZ debug

Timing: Jan 19 2025 00:33:40
Script start
Timing: Jan 19 2025 00:33:40
Module start 'content'
Timing: Jan 19 2025 00:33:40
Module end 'content'
Timing: Jan 19 2025 00:33:40
Script end

Main resources:

Total runtime0.1579 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.8672180.8047
Module start 'content' 0.00670.0057 768.6719110.0859
Module end 'content' 0.01240.1455 878.7578539.3750
Script end 0.1578  1,418.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00372.3449200.0002
Check MTime0.00140.8597200.0001
Mysql Total
Database connection0.00060.365410.0006
Mysqli_queries0.114772.61221410.0008
Looping result0.00120.74391390.0000
Template Total0.144991.710.1449
Template load0.00120.772610.0012
Template processing0.143690.965410.1436
Override
Cache load0.00080.475010.0008
Sytem overhead
Fetch class attribute can translate value0.00070.431210.0007
XML
Image XML parsing0.00030.179210.0003
General
dbfile0.00221.3706200.0001
String conversion0.00000.005030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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