Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: CobainSchofield on August 24, 2011, 06:34:24 AM

Title: Windows Server not logging in
Post by: CobainSchofield on August 24, 2011, 06:34:24 AM
Hi,

I have got a few of these forums running on Linux servers with no problems however, a client requested that I set up a forum on his site which is hosted on a Windows server. I have been to hell and back trying to get it to run, in the end I had to install it on a Linux server and transfer it accross and change the settings etc. I've got it to work to a certain extent, but now it won't log in, it just says 'Incorrect Password'. I'm thinking that it may be a problem with the encyrption and decryption of the password on the Windows server?

Anybody else having this problem or just me? Any help greatly appreciated!

Thanks in advance :-)

Cobain.
Title: Re: Windows Server not logging in
Post by: Martine M on August 24, 2011, 06:41:30 AM
Was it a fresh install?
Or did you move your forum to the windows host?
Cause maybe then it has something to with the permissions u have to give to files?

http://docs.simplemachines.org/index.php?topic=5

Title: Re: Windows Server not logging in
Post by: rawlogic on August 24, 2011, 05:38:37 PM
If there were an incompatibility between the encryption on the Windows and Linux server, it would more likely be related to PHP version than the platform.

If you're using SMF 2.0 and PHP 5.x, you can regenerate your password hash as long as you have access to your database.

Simply use the following php script to generate your hash, where user = your username and password = your password.

<?php
echo sha1("user"."password");


Then run it from the command line like this:
php myscript.php

You then copy the resulting hash and paste it into your passwd field in your smf_members table.

There are also online sha1 hash generators, but you'd be giving them your username and password. :)

PM me if you want me to provide hands on help and you're willing to temporarily provide db and ftp or shell access.
Title: Re: Windows Server not logging in
Post by: Illori on August 24, 2011, 05:42:59 PM
before doing that take a look at A reminder about admin / ftp passwords... (http://www.simplemachines.org/community/index.php?topic=228940.0)
Title: Re: Windows Server not logging in
Post by: rawlogic on August 24, 2011, 06:04:53 PM
Quote from: Illori on August 24, 2011, 05:42:59 PM
before doing that take a look at A reminder about admin / ftp passwords... (http://www.simplemachines.org/community/index.php?topic=228940.0)
Good looking out. :)