Problem with the mp_Sites.EncryptPasswords column

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/1/2006 7:28:37 PM
Gravatar
Total Posts 5

Problem with the mp_Sites.EncryptPasswords column

Hi Joe,

I am trying to use the latest code from the 2.1 branch. I have it all compiled but it seems that the MySQL data provider is out of sync. It is trying to use the mp_Sites.EncryptPasswords column, but that column has been removed from the script that creates the mp_Sites table.

Sean

6/1/2006 7:37:42 PM
Gravatar
Total Posts 5

Re: Problem with the mp_Sites.EncryptPasswords column

Update - I was able to get my site working by commenting out the three lines that use mp_Sites.EncryptPasswords in MySQLData\dbPortal.cs (lines 2048, 2146 and 2244), but I have not checked whether that will cause other problems.

Sean

6/2/2006 2:36:37 AM
Gravatar
Total Posts 18439

Re: Problem with the mp_Sites.EncryptPasswords column

Hi Sean,

Thanks for letting me know. I'll try and fix those issues as you have in dbPortal tonight after work or tomorrow and commit to svn. The EncryptPassword column is no longer needed and is replaced by the passwordformat column where 0 = cleartext, 1 = encrypted and 2 = hashed. This was part of the change to the new 2.0 .NET Membership API. I thought I had removed all the references to the old column but apparently missed a few spots.
Commenting them out should be fine and should cause no problems.

Cheers,

Joe
7/4/2006 1:25:30 AM
Gravatar
Total Posts 2

Re: Problem with the mp_Sites.EncryptPasswords column

Hi Joe

I too have had this problem but am not confident with changing the source code so was wondering if you have had a chance yet to make the changes to the upgrade or create a patch?

Thank you

Louise

7/4/2006 3:56:41 AM
Gravatar
Total Posts 18439

Re: Problem with the mp_Sites.EncryptPasswords column

Hi Louise,

Sean was getting this problem using version 2.1 from the subversion repository before the offical release of version 2.1.

I believe this problem is fixed in the release version available from the download page. Are you using the latest release?

Joe
7/4/2006 4:05:15 AM
Gravatar
Total Posts 2

Re: Problem with the mp_Sites.EncryptPasswords column

Hi Joe

We are using the latest version, we've spent the afternoon going through the build scripts again (more carefully) and seem to have got it working now.
 
Thank you very much for the prompt reply
You must sign in to post in the forums. This thread is closed to new posts.