how to manually setup an admin account

Author Message

sammie owen

Thursday 18 May 2006 7:47:15 pm

hi i have been having problems installing 3.8 but now i have it installed, i could not run the installer, i can register as a user, (access denied when i login) but i need to know how to set up an admin account for myself on the server or within the database MySql
thanx sammie xXx

Łukasz Serwatka

Thursday 18 May 2006 11:40:30 pm

If you loaded data via cleandata.sql then default password for admin user is "publish". Just login as:

Login: admin
Pass: publish

Now you should be able to use admin interface.

More information:
http://ez.no/doc/ez_publish/technical_manual/3_7/installation/manual_installation/manual_configuration_of_ez_publish

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

sammie owen

Thursday 18 May 2006 11:42:42 pm

The system could not log you in.

* Make sure that the username and password is correct.
* All letters must be typed in using the correct case.
* Please try again or contact the site administrator.
ok i reinstalled the database and can login but with the following error.
<b> The requested page could not be displayed. (20)

The requested address or module could not be found.

Possible reasons:

* The address was misspelled. Try changing the URL.
* The name of the module was misspelled. Try changing the URL.
* There is no <corporate_admin> module available on this site.
* The site is using URL matching to determine which siteaccess to use, but the name of the siteaccess is missing from the URL. Try to add the name of the siteaccess, it should be specified before the name of the module.
</b>

Kristof Coomans

Thursday 18 May 2006 11:50:17 pm

See the following threads:

http://ez.no/community/forum/install_configuration/reset_the_main_admin_user
http://ez.no/community/forum/developer/how_do_i_access_the_site_as_none_of_my_passwords_work_anymore/regenerating_password
http://ez.no/community/forum/install_configuration/admin_password_reset

Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Łukasz Serwatka

Thursday 18 May 2006 11:53:20 pm

Can you please enabled debug output and check for possible errors/warnings?

In settings/override/site.ini.append.php put

[DebugSettings]
DebugOutput=enabled

I have checked the cleandata.sql from 3.8 distro and password is "publish" for admin user. I suspect some configuration issues. Make sure that you have followed all steps from the documentation.

Can you also paste here result of this query from your database?

SELECT * 
FROM `ezuser` 
WHERE `contentobject_id` =14;

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

sammie owen

Friday 19 May 2006 12:00:31 am

Notice: Only variable references should be returned by reference in /home/asksam2c/public_html/sexual_health/lib/eztemplate/classes/eztemplate.php on line 600
eZ debug
Clear cache:
Quick settings:
Debug output Debug redirection Template debug Inline template debug List of used templates SQL debug output
Timing: May 18 2006 23:58:02

Script start

Warning: May 18 2006 23:58:02

Could not find module named 'corporate_admin'
These directories were tried none of them exists:
kernel/corporate_admin

Error: index May 18 2006 23:58:02

Undefined module: corporate_admin

Error: error/view.php May 18 2006 23:58:02

Error ocurred using URI: /sexual_health/index.php/corporate_site/corporate_admin

Timing: May 18 2006 23:58:02

Module end 'error'

Error: eZINI May 18 2006 23:58:02

Undefined group: 'Toolbar_admin_right'

Error: eZINI May 18 2006 23:58:02

Undefined group: 'Toolbar_admin_developer'

Timing: May 18 2006 23:58:02

End

Timing points:
Checkpoint Elapsed Rel. Elapsed Memory Rel. Memory
Script start 0.0000 sec 0.6663 sec 0.0000KB 0.0000KB
Module end 'error' 0.6663 sec 0.2485 sec 0.0000KB 0.0000KB
End 0.9148 sec 0.0000KB 0.0000KB
Total runtime: 1.7355 sec
Time accumulators:
Accumulator Elapsed Percent Count Average
ini_load
Load cache 0.0183 sec 1.0505% 13 0.0014 sec
FindInputFiles 0.0045 sec 0.2569% 13 0.0003 sec
Parse 0.0016 sec 0.0900% 1 0.0016 sec
Save Cache 0.0006 sec 0.0344% 1 0.0006 sec
Mysql Total
Mysql_queries 0.4314 sec 24.7142% 10 0.0431 sec
Looping result 0.0002 sec 0.0124% 3 0.0001 sec
Template Total 1.1014 sec 63.1% 3 0.3671 sec
Template load 0.4100 sec 23.4837% 3 0.1367 sec
Template processing 0.6882 sec 39.4201% 3 0.2294 sec
Template load and register function 0.0466 sec 2.6717% 4 0.0117 sec
Template parser: create text elements 0.0172 sec 0.9831% 5 0.0034 sec
Template parser: remove whitespace 0.0083 sec 0.4732% 5 0.0017 sec
Template parser: construct tree 0.1362 sec 7.7997% 5 0.0272 sec
override
Cache load 0.0120 sec 0.6866% 3 0.0040 sec
General
dbfile 0.0002 sec 0.0124% 2 0.0001 sec
Total script time: 1.7457 sec

Łukasz Serwatka

Friday 19 May 2006 12:05:09 am

What is your server configuration (PHP version)?

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

sammie owen

Friday 19 May 2006 12:07:57 am

php4.4.1
where do i put the corporate_site files? in what folder on the server? i just want to check they are there

they were missing, i have them installed now, site is working, just a little eratic. back with more questions if i cant fix it.

thanx for all your help, sammie xXx

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.