Forums / Install & configuration / Hide object as Administrator, unable to unhide!

Hide object as Administrator, unable to unhide!

Author Message

Marc Boon

Thursday 19 January 2006 12:12:17 pm

Still trying out eZ Publish, and wanted to see what hiding an object does at the user side. So, as Administrator User I checked the 'Hide' box on Node 2. Then got this message:

The requested page could not be displayed. (1)

The system is unable to display the requested page because of security issues.

Possible reasons:

* Your account does not have the proper privileges to access the requested page.
* The requested page does not exist. Try changing the URL.

This is ridiculous!
Even the Admin User cannot see a hidden node! Let alone unhide it. Now I'm completely stuck!

Which field in which table should I edit (with phpMyAdmin) to unhide this node?

sigh!

Marc Boon

Thursday 19 January 2006 2:22:44 pm

OK, I fixed it by running the following query in phpMyAdmin:

UPDATE `ezcontentobject_tree` SET is_hidden=0,is_invisible=0

This makes all nodes visible.

Still don't understand why it was nescessary to fix this by tampering directly with the database. Can one of the developers comment on this?

Łukasz Serwatka

Friday 20 January 2006 1:06:18 am

Hi Marc,

Which version of eZ publish do you use? If you are able to reproduce this problem on your version, please write step-by-step instructions and report it in our bug system.

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

Marc Boon

Friday 20 January 2006 3:31:18 am

Filed bug report 7709

Martin Ulrich

Friday 20 January 2006 4:23:03 am

have you tried this:

[SiteAccessSettings]
ShowHiddenNodes=true

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

Łukasz Serwatka

Friday 20 January 2006 4:37:14 am

For admin interface this setting is always set to true, as long as user will not change it ;)

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

Marc Boon

Friday 20 January 2006 5:24:41 am

I did not explicitly set this property anywhere in my settings.

Do I need to set it in /settings/siteaccess/admin/site.ini.append.php, or is the default behaviour to show hidden nodes to admin users?

Marc Boon

Friday 20 January 2006 5:40:25 am

I guess I do have to set it explicitly :)

I did a manual install, and probably this setting is normally set by the install wizard, which I didn't use.
I added it manually, and now it works as expected.

Can somebody remove my bug report?

Łukasz Serwatka

Friday 20 January 2006 6:08:29 am

Hi Marc,

This page might be useful for future manual eZ publish configuration.
http://ez.no/doc/ez_publish/technical_manual/3_6/installation/manual_installation/manual_configuration_of_ez_publish

Check "The admin siteaccess" part and compare it with your admin settings.

Bug is closed.

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

Jameel Rahmaan

Monday 02 June 2008 8:38:13 am

I think the bug may need to be re-opened as I am having the same problem with ezPublish 4.0.

Already checked my admin site access has ShowHiddenNodes=True

Public site access has ShowHiddenNodes=False as does the main site.ini file

According to my understanding of the manual and settings files, this should enable me, as the administrator, to hide nodes from the public but still view them in the admin interface. Unfortunately it doesn't and the only way I can get my nodes to become visible again is to run the SQL query posted above.

I have cleared all caches as well just in case there was a setting causing interference but to no avail.

And I used the wizard to install ezpublish.

Jameel Rahmaan

Monday 02 June 2008 9:06:59 am

Ok, I see the problem. I had an uppercase T for True. Setting the value to "true" fixed the issue.

Is it me or does anyone else think that for Boolean variables "True" should be equivalent to "true"

eZ debug

Timing: Jan 18 2025 15:04:01
Script start
Timing: Jan 18 2025 15:04:01
Module start 'content'
Timing: Jan 18 2025 15:04:03
Module end 'content'
Timing: Jan 18 2025 15:04:03
Script end

Main resources:

Total runtime1.6053 sec
Peak memory usage4,096.0000 KB
Database Queries222

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 587.9609180.8047
Module start 'content' 0.00781.4585 768.7656700.9141
Module end 'content' 1.46630.1389 1,469.6797344.4063
Script end 1.6052  1,814.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.2649210.0002
Check MTime0.00170.1045210.0001
Mysql Total
Database connection0.00100.059310.0010
Mysqli_queries1.520794.73142220.0068
Looping result0.00250.15382200.0000
Template Total1.565397.520.7827
Template load0.00240.147620.0012
Template processing1.562997.362120.7815
Template load and register function0.00030.016210.0003
states
state_id_array0.00170.106510.0017
state_identifier_array0.00190.116620.0009
Override
Cache load0.00210.1318560.0000
Sytem overhead
Fetch class attribute can translate value0.00200.124150.0004
Fetch class attribute name0.00100.0652120.0001
XML
Image XML parsing0.00100.060450.0002
class_abstraction
Instantiating content class attribute0.00000.0015140.0000
General
dbfile0.00380.2337290.0001
String conversion0.00000.000630.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
11content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
16content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 37
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs