Roles & Permissions : Strange Admin Error

Author Message

kracker (the)

Monday 14 February 2005 4:05:28 am

Greetings,

I've recently been asked to work on some else's eZ publish 3.5 installation.

I set out to complete the work only to find that their eZ publish installation had a very serious problem. Sure the site works in almost every way properly except

The roles and permissions page displays properly ( admin.example.org/role/list ) but does not list any roles, not even the default eZ publish roles (like administrator, anonymous, etc). I also can not create or edit the default eZ publish roles (like administrator which exists but does display on /role/list).

I receive the following error message : from /role/edit/0)

The requested page could not be displayed. (3)
The requested object is not available.

Possible reasons:

    * The ID number of the object is incorrect. Please check the URL for spelling mistakes.
    * The object is no longer available.

I don't know what could possibly be causing the error. This is the first time I've ever encountered this problem. I'm not sure just what could be missing, incomplete or corrupted that would cause a problem like this.

fyi, I am logged into eZ publish as the 'admin' user and the rest of the admin works properly. Any suggestions, questions and feedback would be most appreciated. I'd really like to manually repair the problem if at all possible instead of reinstalling eZ publish from scratch and rebuilding the site, design and content.

//kracker

E & A : Act Right

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Björn Dieding@xrow.de

Monday 14 February 2005 5:43:31 am

Try to repair all db tables... sometimes mysql tables become locked or unreadable by the server... this might have happend

What does
SELECT * FROM `ezrole` give you?

Note:
If the roles are broke, they might be still cached... that's why you can login.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

kracker (the)

Monday 14 February 2005 8:23:17 am

B,

Yeah, I thought about that first too!
This is what i get ....

mysql> SELECT * FROM `ezrole`;
+----+---------+---------------+-------+
| id | version | name          | value |
+----+---------+---------------+-------+
|  1 |       0 | Anonymous     |       |
|  2 |       0 | Administrator | *     |
|  3 |       0 | Editor        |       |
+----+---------+---------------+-------+
3 rows in set (0.04 sec)

hrm...
//kracker

E & A : Paradise

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Björn Dieding@xrow.de

Monday 14 February 2005 9:12:33 am

Doh there has never been a bug like that...

It seems I can't help much...

I say setup everything again...

how does th code behave with the clean/inital db kernel?

It should behave different.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

kracker (the)

Wednesday 16 February 2005 9:10:51 am

Björn,

I was using a clean kernel / mostly / basically default configuration. So i'm going to just say the database was hosed, corrupted, screwed up.

I back-ported my content & design into a stock eZ publish 3.5 and wouldn't you know it, I don't have any more problems :)

Well, that not entirely true,
I have serious problems (don't we all),
but no more problems with eZ publish (stock) regarding this problem.

Thanks for your suggestions, they are much appreciated!

cheers,
//kracker
do the right thing (tm), close your eZ publish forum threads, don't leave us all hanging / wondering what ever became of that guy & his issues ...

Sage Francis : Agony in Her Body

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

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 19 2025 00:56:28
Script start
Timing: Jan 19 2025 00:56:28
Module start 'layout'
Timing: Jan 19 2025 00:56:28
Module start 'content'
Timing: Jan 19 2025 00:56:29
Module end 'content'
Timing: Jan 19 2025 00:56:29
Script end

Main resources:

Total runtime0.9449 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.1719152.6250
Module start 'layout' 0.00680.0033 741.796939.4453
Module start 'content' 0.01010.9334 781.2422582.8672
Module end 'content' 0.94350.0014 1,364.109416.1406
Script end 0.9449  1,380.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3744160.0002
Check MTime0.00140.1508160.0001
Mysql Total
Database connection0.00060.062910.0006
Mysqli_queries0.875192.6126630.0139
Looping result0.00060.0586610.0000
Template Total0.907896.120.4539
Template load0.00250.266720.0013
Template processing0.905395.803320.4526
Template load and register function0.00010.012710.0001
states
state_id_array0.00080.079610.0008
state_identifier_array0.00110.116120.0005
Override
Cache load0.00210.2230500.0000
Sytem overhead
Fetch class attribute can translate value0.00040.045420.0002
Fetch class attribute name0.00080.089870.0001
XML
Image XML parsing0.00100.103720.0005
class_abstraction
Instantiating content class attribute0.00000.0048100.0000
General
dbfile0.00220.2296240.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 32
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs