sudenly cant log in

Author Message

Piotr Dziekanski

Monday 05 July 2010 2:54:28 pm

Sorry to bother, but the manuals and the forum did not help me solve this problem and I see that others also have it.

After installing ez publish and working on it for few days, suddenly i can not login to the admin panel by admin account. Other Admin accounts can not too.
I tried to alter, delete the password by mySQL but it did not help.

I would be very grateful for your help

Doug Brethower

Monday 05 July 2010 3:34:18 pm

Welcome!

Have not done this in a while, but may be worth a try.

Temporarily disable the validation check on the password. Then anyone may login on any account by using any random password.

1) Edit the file 'kernel/classes/datatypes/ezuser/ezuser.php'

2) Search for the function 'authenticateHash' (Line 1468 in eZ publish 4.3)

3) Add as the first line: return true; // no matter what, consider the password valid

Then login as 'admin', change your password

Do not forget to go back and reverse this edit afterwards ;~)

Doug Brethower
Apple Certified Technical Consultant, Southwest, MO USA
http://share.ez.no/directory/companies/lakedata.net

Piotr Dziekanski

Tuesday 06 July 2010 1:02:09 am

i already have try this method. dosent work (and sql changing password)

i only go to page http://entropiaslowa.com/index.php?/site_admin/userpaex/password/14

and cant log in on any profiels (3 of them)

just any password dosnt work any user account.. it happend sudenly didnt changed any settings

André R.

Tuesday 06 July 2010 7:05:57 am

Try truncating your ezsession table, and if it helps setup cronjob to run bin/php/ezsessiongc.php once in a while (at night for instance).

If not, then I'm not sure.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Sandra Parente

Wednesday 07 July 2010 1:03:12 am

Did you activate some extra extension? ezmbpaex has by default the pwd expiration to 1 day, so if you activate it after one day you cannot log in anymore!

Sandra Parente
www.netbliss.it

david gue

Wednesday 18 August 2010 7:45:33 pm

This is my first post on the boards after months of trying to get the registration to actually send me an authentication email so i can use these boards, im just glad my first post is to offer help rather than ask for it.

I was having the same problem with one of my sites and remebered the only changes i had made were activate some extensions so i decided to deactivatethem and everything worked. As Sandra stated, in my case, the culprit was ezmbpaex.
If you are experiencing this issue try disabling it buy doing the following,

  1. go to settings/override/site.ini.append.php.
  2. under [ExtensionsSettings] remove the extention ActiveExtensions[]=ezmbpaex.
  3. save the file, if working with dreamweaver like me be sure to "put" back the file to the server.
  4. try the login once again and it may work.

David

Nicolas Pastorino

Thursday 19 August 2010 1:02:57 am

Welcome aboard David !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

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 29 2025 14:41:32
Script start
Timing: Jan 29 2025 14:41:32
Module start 'layout'
Timing: Jan 29 2025 14:41:32
Module start 'content'
Timing: Jan 29 2025 14:41:32
Module end 'content'
Timing: Jan 29 2025 14:41:32
Script end

Main resources:

Total runtime0.0122 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.1328151.2109
Module start 'layout' 0.00460.0020 739.343836.6484
Module start 'content' 0.00650.0045 775.992298.7500
Module end 'content' 0.01100.0012 874.742237.9922
Script end 0.0121  912.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002217.9806140.0002
Check MTime0.00107.9206140.0001
Mysql Total
Database connection0.00075.646110.0007
Mysqli_queries0.001714.340630.0006
Looping result0.00000.064710.0000
Template Total0.00097.310.0009
Template load0.00075.487410.0007
Template processing0.00021.782810.0002
Override
Cache load0.00053.951510.0005
General
dbfile0.00118.723880.0001
String conversion0.00000.041140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs