Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change password #23

Closed
GoogleCodeExporter opened this issue Mar 29, 2016 · 5 comments
Closed

Change password #23

GoogleCodeExporter opened this issue Mar 29, 2016 · 5 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Change Password using hMailServer and MS-SQL Server 2000

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Windows Server 2003, MS-SQL Server 2000

Please provide any additional information below.
bottasergio@gmail.com

Original issue reported on code.google.com by bottaser...@gmail.com on 5 Nov 2009 at 2:31

@GoogleCodeExporter
Copy link
Author

Please add a patch or more detailed informations.

Original comment by rol...@liebl.ath.cx on 5 Nov 2009 at 7:19

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

I solved the problem deleting the last command in the SQL sentence... "LIMIT 1"

Original comment by bottaser...@gmail.com on 5 Nov 2009 at 7:34

@GoogleCodeExporter
Copy link
Author

private $sql = 'UPDATE hm_accounts SET accountlastlogontime=%d, 
accountpassword=%
md5, accountpwencryption=%t WHERE accountaddress=%u LIMIT 1;';

So you confirm LIMIT 1 is not MSSQL compatible?

I don't have a chance to test on MSSQL, please post complete modified line.

Original comment by rol...@liebl.ath.cx on 5 Nov 2009 at 7:49

@GoogleCodeExporter
Copy link
Author

It is working with Microsoft SQL Server 2000 this way:

file: hmail_password.php
line: 33

private $sql = 'UPDATE hm_accounts SET accountlastlogontime = %d, 
accountpassword = %
md5, accountpwencryption = %t WHERE accountaddress = %u ;';


Original comment by bottaser...@gmail.com on 5 Nov 2009 at 7:55

@GoogleCodeExporter
Copy link
Author

Fixed in trunk-r-3101

Original comment by rol...@liebl.ath.cx on 6 Nov 2009 at 3:03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant