HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Small problem upgrading from 6.x to 7.x

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#69400 (In Topic #14697)
Avatar

Fan in action

Nothing severe :)

Hi.

I encountered odd problem while performing upgrade from 6.x to 7.x.

I launced upgrader and typed in my master pw.

ocPortal upgrade tool said

The password you gave is not correct, please try again.

I have not forgotten my master pw. My pw is correct. However, i can login using hash in info.php.

I'm not saying exactly how many charecters is in my pw, but it's way over 30 as IMO no one should say how many charecters you can have in your pw, only minimum should be said :)


Last edit: by Tinfoil_Hat
Back to the top
 
Posted
Rating:
#69402
Avatar

Hmm. Well the hash does always work too yes, otherwise I can't say what would cause that.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#69404
Avatar

Fan in action

Thanks for reply. I tried 3 different PCs and 6 different install of browsers (IE+FF) and same error.
It's not severe as i can login using hash, just wondering that what might cause it?
Back to the top
 
Posted
Rating:
#69406
Avatar

Yeah I'm at a loss. The code is very simple…

Code

$admin_password_hashed=$SITE_INFO['admin_password'];
$given_password=post_param('given_password');
if ((md5($given_password)==$admin_password_hashed) || ($given_password==$admin_password_hashed))

You can find online tools to confirm that md5 really does produce the right hash, although your Tinfoil-Hat might not protect you from rogue sites like that logging your password if you enter it  :lol:.

Are you certain the password was not typed wrong when installing?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#69409
Avatar

Fan in action

Chris Graham said

You can find online tools to confirm that md5 really does produce the right hash, although your Tinfoil-Hat might not protect you from rogue sites like that logging your password if you enter it  :lol:.

:lol: You are right :lol:  I was way to paranoid for doing that, instead there is this:
http://dragonsfiles.com/tfhmd5.php

Text to MD5



Chris Graham said

Are you certain the password was not typed wrong when installing?

I'm sure. It's really painful to type  O_o

Also i verified that correct MD5 is produced :)


If some one likes to give that converter a try, feel free to do so. You have not met me personally, but i promise to you that there is no logging of anykind. I'm sure there are many sites offering similar "script" and yes, it's ugly :lol:  But it's made only for this occasion. I leave it online as you never know when you need it :D


EDIT: if you like to, i show source/give it for download. It's reallyreally basic stuff, nothing fancy inside :lol:


Last edit: by Tinfoil_Hat
Back to the top
 
Posted
Rating:
#69483
Avatar

Fan in action

I took my pwdb to my friends house and tried on his computer as that has never seen my site before.

Same error, pw is problematic and using hash is no problems.

I think this can be called as mystery (un)solved. I really don't know why it's doing that, but since i can login using hash, i don't care as hash is  easier to memorize (if you can memorize it, then it's not good)  :lol:
Back to the top
 
Posted
Rating:
#69590
Avatar

Fan in action

Just an note:

Upgrading from 7.0 to 7.0.1 my pw was accepted :)
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: