admin

Author Message

Alexandru M

Monday 13 March 2006 2:19:51 am

i accidently removed all the admin accounts. what can i do except reinstalling? (i don't have a backup, but i have access to the mysql database)

Kåre Køhler Høvik

Monday 13 March 2006 2:36:10 am

Hi

You can solve this by creating a new admin user as anonymous. You'll need to do this :

1. Edit settings/siteaccess/<admin>/site.ini, and set

[SiteAccessSettings]
RequireUserLogin=false

2. Enter MySQL and run this query :

insert into ezuser_role ( contentobject_id, role_id ) values ( 42, 2 );

You should now be able to enter the admin interface as anonymous, and create new admin user.

Kåre Høvik

Alexandru M

Monday 13 March 2006 2:57:24 am

i tried, but i get this error:

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.

Kåre Køhler Høvik

Monday 13 March 2006 3:04:48 am

Hi

Did you remember to clear all cache after you did the SQL update ?
How far in the procedure do you get ? ( Are you able to browse the admin interface ? )

Kåre Høvik

Alexandru M

Monday 13 March 2006 6:56:45 am

1. Did you remember to clear all cache after you did the SQL update ?
i don't know how to do that. i can't flush (no reload rights) and i'm using phpmyadmin (this is what my administrator allows me to use).

2. How far in the procedure do you get ? ( Are you able to browse the admin interface ? )
i get the error when i open ..index.php/blog_admin page. even if i try to browse the page still get the same error.

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 01:08:27
Script start
Timing: Jan 19 2025 01:08:27
Module start 'layout'
Timing: Jan 19 2025 01:08:27
Module start 'content'
Timing: Jan 19 2025 01:08:28
Module end 'content'
Timing: Jan 19 2025 01:08:28
Script end

Main resources:

Total runtime0.6355 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.0066 588.9219152.5938
Module start 'layout' 0.00660.0034 741.515639.3750
Module start 'content' 0.01000.6240 780.8906557.3906
Module end 'content' 0.63400.0015 1,338.281312.2188
Script end 0.6354  1,350.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5372160.0002
Check MTime0.00140.2145160.0001
Mysql Total
Database connection0.00160.244410.0016
Mysqli_queries0.573490.2313630.0091
Looping result0.00060.0964610.0000
Template Total0.602294.820.3011
Template load0.00210.328520.0010
Template processing0.600194.427420.3001
Template load and register function0.00020.030210.0002
states
state_id_array0.00150.241610.0015
state_identifier_array0.00110.169320.0005
Override
Cache load0.00170.2608300.0001
Sytem overhead
Fetch class attribute can translate value0.00060.093020.0003
Fetch class attribute name0.00110.167860.0002
XML
Image XML parsing0.00070.105220.0003
class_abstraction
Instantiating content class attribute0.00000.002470.0000
General
dbfile0.00170.2747150.0001
String conversion0.00000.001740.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
4content/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: 25
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs