Yes the salts are the same as it is a full database dump into new clean /
empty remote database.
Everything else is working fine, data for the public front end works as
normal pulling data for all pages. No errors in the log.
I am using blowfish crypt time in Cake 2.3.8
Now doing some digging I just run this to see what happens:
Security::setHash('blowfish');
$pass = Security::hash('secretPassword','blowfish');
debug($pass);
die();
Local resturns:
'$2a$07$Gh8LByuxeipU.Z3HLvGMt.adycYOtNsUg/inQRe9y4E8Rq50m4t42'
Remote returns:
'$2Avi//Eu4XsU'
Which is obviously not good. Localhost is running PHP 5.3 , where remote
is 5.2.17 so not sure if this is the reason for the mess.
Looking at the source for the blowfish hash function: return
crypt($password, $salt); where crypt is PHP 4, 5 so not sure why it is not
correctly hashing on the server.
Dave
From: [email protected] [mailto:[email protected]] On Behalf
Of lowpass
Sent: Sunday, August 11, 2013 8:34 PM
To: [email protected]
Subject: Re: Localhost vs Remote
Are the salts exactly the same for both versions? Are the hashed passwords
in the DB the same? Is the remote site using the correct DB?
On Sun, Aug 11, 2013 at 6:07 PM, Advantage+ <[email protected]> wrote:
Tried, error log is empty also.
Dave
From: [email protected] [mailto:[email protected]] On Behalf
Of mulianto
Sent: Sunday, August 11, 2013 5:08 PM
To: [email protected]
Subject: Re: Localhost vs Remote
Hi,
Try set debug enabled to 1 / 2 see what happend.
Regards,
Mulianto
Http://muliantophang.blogspot.com
Sent from my iPhone
On 11 Agt 2013, at 21:19, "Advantage+" <[email protected]> wrote:
I have just uploaded my new site and it will not allow me to log in.
Localhost version works fine, dropped remote db, all files. Uploaded to
remote server, copied database and login failure, invalid user / password
and do not understand why?
Not even sure where to look since it works fine local and it's a copy on the
server so just looking for any ideas why this would be happening now.
Thanks,
Dave
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected]
<mailto:cake-php%[email protected]> .
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.