Help: Reset the admin account

Author Message

Andreas Widerøe Andersen

Saturday 10 April 2004 4:04:18 am

I played around with some settings in my EZ installation and I somehow disallowed the admin account to log in. I change the password and I think I place the account in some very wrong location.

Anyway, how can I reset the admin account with it's default "publish" password and original roles? I have access to phpMyAdmin so I can run SQL code.

Thanks!
Andreas

Marco Zinn

Thursday 15 April 2004 2:11:06 pm

Hi,
can you sucessfully log in with that account? I mean: do you know the password?
If you just moved the user to some other group, you should be able to move him back to the "administrator users" group.
Quick idea:
You need the node id of the "administrator users" group (from the ezcontentobject_tree table). When you have this Node ID, you must find the node "administrator user" (not the content object, but the node!) and fix the "parent node" field and the path fields (one with numbers and one with the URL string).
Maybe this will do.
You could of course import an SQL dump of a fresh installation, but you will loose all your content, when you do this! The "problem" is, that users and user groups are just "objects", just like an article. So, they they in the same table... Just the password stuff is in a seperate table, but i think, that's not your problem.

Marco
http://www.hyperroad-design.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:10:39
Script start
Timing: Jan 19 2025 00:10:39
Module start 'layout'
Timing: Jan 19 2025 00:10:39
Module start 'content'
Timing: Jan 19 2025 00:10:40
Module end 'content'
Timing: Jan 19 2025 00:10:40
Script end

Main resources:

Total runtime0.6244 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9063152.6250
Module start 'layout' 0.00510.0033 740.531339.4453
Module start 'content' 0.00840.6144 779.9766523.9141
Module end 'content' 0.62280.0015 1,303.89068.1641
Script end 0.6243  1,312.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.6300160.0002
Check MTime0.00140.2213160.0001
Mysql Total
Database connection0.00050.082610.0005
Mysqli_queries0.576192.2639540.0107
Looping result0.00060.0893520.0000
Template Total0.592394.920.2961
Template load0.00310.502620.0016
Template processing0.589194.355120.2946
Template load and register function0.00020.033610.0002
states
state_id_array0.00100.161810.0010
state_identifier_array0.00080.135120.0004
Override
Cache load0.00270.4257160.0002
Sytem overhead
Fetch class attribute can translate value0.00060.094820.0003
Fetch class attribute name0.00110.169030.0004
XML
Image XML parsing0.00120.189820.0006
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00220.3595160.0001
String conversion0.00000.001640.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs