Forums / Install & configuration / admin password doesnt work

admin password doesnt work

Author Message

Craig McKenna

Monday 17 January 2005 9:39:48 pm

<i>Please Help</i>
I have completed (at least) ten clean installs of 3.5 on my local server. Each time I have completely deleted all of the ez publish files and started from scratch.

The admin password I enter during installation never works.

What should I do?

Any help is greatly appreciated.

Thanks.
(win-xp; apache2; mysql; php-4.3.10)

Łukasz Serwatka

Tuesday 18 January 2005 12:28:25 am

Hi,

Maybe you have enabled Caps Lock? ;-)

If no, try this after installation

1. drop your tables
2. create table structure from kernel/sql/mysql/kernel_schema.sql
3. load data from kernel/sql/mysql/kernel_schema.sql
4. clear the cache (delete folders var/cache and var/(prefix)/cache)

or

UPDATE ezuser SET password_hash = 'c78e3b0f3d9244ed8c6d1c29464bdff9' WHERE password_hash = 'your_old_password_hash';

You can find your_old_password_hash for admin user in ezuser table.

Then use "publish" as password.

I hope this help

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

Craig McKenna

Wednesday 19 January 2005 8:59:33 pm

None of these options work either.

It seems to me that the session is cut short during the login re-direct or something.

(I don't get a login error message, just a new blank login page.)

Any suggestions?

<b>Thanks</b>

Craig McKenna

Thursday 20 January 2005 5:41:45 pm

Does anyone here have an installation of ez 3.5 on on a system the same as mine?

If so, can you post your php.ini?

Thank you!

Craig McKenna

Monday 24 January 2005 9:52:33 pm

Hey!
I fixed the problem!

Just in case anyone else on this forum would like to fix the same problem go here: http://www.mamboserver.com and download the latest version of mambo instead.

<b>Thanks for all of your generous help everyone!</b>

Łukasz Serwatka

Monday 24 January 2005 11:43:50 pm

Hi,

This was not very kind. Did you think why you didn`t get answer? Maybe somtehing wrong is with your post?

Good luck with Mambo ...

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

Craig McKenna

Tuesday 25 January 2005 6:05:03 am

What's wrong with my post?

Craig McKenna

Wednesday 26 January 2005 5:06:09 pm

What's wrong with my post?

Craig McKenna

Thursday 27 January 2005 10:52:52 am

You are right Lukasz this was not very nice of me. I am a little frustrated after receiving no help from anyone. If there is no known solution to my problem please just let me know.

Yes Mambo works on my system but I would really like to try eZ. It just seems that no one is willing to help with my problems.

I have also tried eZ 3.4 and I still experience the same problems.
Also, in my tmp directory exist 2 cookies but one cookie contains no data.
This is why I suspect problems with sessions.

I will try one more time to get an answer to my questions.

Is there a solution for this?

Sorry for being unreasonable earlier.

Thanks for any help.

Frederik Holljen

Thursday 27 January 2005 11:56:11 am

If I knew the answer to your problem I would be glad to help. However, your problem is very strange and I've never seen anything like it before.
From the setup data I gather that you are seting eZ publish up manually. Could you try to use the windows installer instead and see if you have the same problems?

Tomas K

Thursday 27 January 2005 1:00:33 pm

I have the same problem. I installed win bundled version on W2kSP4,mySql. I used installer, only I changed the encodind of my database to iso8859-2 instead of w1250, but it should not have differ.
Then I can log on as a user, no problem. But not on admin page (template corporate). Under IE it is just refresh the screen and blank field user and psswd. Under Mozilla, refresh and user and psswd remain in fields.
I tried to update the password as recommended in a post above, no success.
If I mistape wrong password, it is not the case - there is a warning about bad password.
So where could be the problem?
Thanks for any hint
Tomas

Craig McKenna

Thursday 27 January 2005 3:17:41 pm

Thanks for the quick response Frederik.

I just tried the installation using the windows installer and I am still having the same problem.

Another interesting point is that the same happened when I attempted to install Limbo .

Frederik Holljen

Friday 28 January 2005 1:57:47 am

strange indeed.. I'll talk to the other guys here.. maybe someone knows. I'm out of ideas though. Sorry.

Tomas K

Thursday 03 February 2005 3:06:26 pm

Still no idea?
I fight with it but no success.
I have suspision that it could be related to the old problem, see:
http://www.ez.no/community/forum/install_configuration/uri_not_parsing_

Can anyone experienced evaluate it?
Difference is that I run ez on my home PC under W2k, bundled edition...
Tomas

Craig McKenna

Friday 04 February 2005 10:22:09 pm

<b>HEY! It Works ;)</b>

The problem had nothing at all to do with eZpublish, but rather with my fire-wall (Zone Alarm). I shut it down and it works great now. Forgive me.

Love the tableless layout!

Tomas K

Saturday 05 February 2005 8:12:12 am

Yes, U R right! Never ever I imagined it is related to Zone Alarm, I use it too.
Thanks Craig
Tomas

Łukasz Serwatka

Saturday 05 February 2005 1:28:48 pm

Hi Craig,

It`s good to see that you solved your problem. Now you can realy start your adventure with eZ publish CMS. Good luck and enjoy the web ;-)

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

Aladdin Mouhaimeed

Monday 07 February 2005 4:54:28 am

I have the same problem :)

James Lynch

Saturday 23 July 2005 10:01:23 pm

I had the same problem while checking my progress in installing/migrating between 3.6 & 3.7.

Somewhere the install system does indeed use "publish" as default admin password!

<b>My fresh install had these defaults (via phpmyadmin):</b>

contentobject_id = 14
email = nospam@ez.no
login = admin
password_hash = c78e3b0f3d9244ed8c6d1c29464bdff9
password_hash_type = 2

<b>An inspection turned up this related info:</b>

<b>File:</b> kernel/sql/mysql/cleandata.sql
<b>Line#:</b> 80
<b>SQL Query:</b> INSERT INTO ezuser (contentobject_id, email, login, password_hash, password_hash_type) VALUES (10,'nospam@ez.no','anonymous','4e6f6184135228ccd45f8233d72a0363',2), (14,'nospam@ez.no','admin','c78e3b0f3d9244ed8c6d1c29464bdff9',2);

<b>File:</b> kernel/sql/common/cleandata.sql
<b>Line#:</b> 912
<b>SQL Query:</b> INSERT INTO ezuser (contentobject_id, email, login, password_hash, password_hash_type) VALUES (14,'nospam@ez.no','admin','c78e3b0f3d9244ed8c6d1c29464bdff9',2);

<b>File:</b> kernel/sql/postgresql/cleandata.sql
<b>Line#:</b> 1015
<b>SQL Query:</b> INSERT INTO ezuser (contentobject_id, email, login, password_hash, password_hash_type) VALUES (14,'nospam@ez.no','admin','c78e3b0f3d9244ed8c6d1c29464bdff9',2);

If one wished to go further and manually generate their own hashed key have fun. Anyone remember what /etc/shadow uses? Memory fails me. :(

Edit: I think PHP has a function for this, including "salt" and whatnot.

Luc Chase

Sunday 24 July 2005 11:46:57 am

James,
after you attempt to login, there is no error, correct? You just presented with the same login screen?
If so, try to go directly to a page within the system and report back any error. e.g. try to go to http://yourDomain.com/siteAccess_admin/content/view/full/2
Does it seem that your are in fact logged in?

The Web Application Service Provider

eZ debug

Timing: Jan 18 2025 19:36:35
Script start
Timing: Jan 18 2025 19:36:35
Module start 'content'
Timing: Jan 18 2025 19:36:35
Module end 'content'
Timing: Jan 18 2025 19:36:35
Script end

Main resources:

Total runtime0.8810 sec
Peak memory usage4,096.0000 KB
Database Queries273

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.9688180.8281
Module start 'content' 0.00580.7646 768.7969921.9063
Module end 'content' 0.77050.1104 1,690.7031362.5859
Script end 0.8809  2,053.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4793210.0002
Check MTime0.00170.1874210.0001
Mysql Total
Database connection0.00070.083610.0007
Mysqli_queries0.767187.07042730.0028
Looping result0.00230.25572710.0000
Template Total0.851496.620.4257
Template load0.00210.241920.0011
Template processing0.849396.393320.4246
Template load and register function0.00010.016610.0001
states
state_id_array0.00110.124910.0011
state_identifier_array0.00120.130920.0006
Override
Cache load0.00220.24701250.0000
Sytem overhead
Fetch class attribute can translate value0.00120.140180.0002
Fetch class attribute name0.00130.1445220.0001
XML
Image XML parsing0.00180.204380.0002
class_abstraction
Instantiating content class attribute0.00000.0055250.0000
General
dbfile0.00290.3310350.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
20content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
15content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
28content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/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: 70
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs