Page 1 of 1

Updated Error in 7.0.2-Is this correct

Posted: Tue Feb 17, 2009 12:00 pm
by Carolharry
Hi,

I updated existing version of ablecommerce with 7.0.2. When Compiling it gave me error saying no CreateUser overloaded methods accepts only 7 parameters.
UserDataSource.CreateUser(Email.Text, Password.Text, string.Empty, string.Empty, true, 0, out status);

Changed to

UserDataSource.CreateUser(Email.Text,Email.Text, Password.Text, string.Empty, string.Empty, true, 0, out status);

It got compiled and working well. Is this change acceptable.
Please let me know.

Thanks,
Carol

Re: Updated Error in 7.0.2-Is this correct

Posted: Tue Feb 17, 2009 12:10 pm
by sohaib
Yes it seems all right.
Where were you using this code?

If this was custom code modified from an existing file then have a look at what changed in that file in 7.0.2 by comparing the new file to the original file.

Re: Updated Error in 7.0.2-Is this correct

Posted: Tue Feb 17, 2009 12:17 pm
by Carolharry
Code is in Admin\people\users\adduserdialog.ascx.

On our server it works right without any change.
On developer computer when I compile same files by copying from server, I got compilation error in Visual Studio.
Not able to figure out how it's working on the server and not on my local computer.
Intellisense in VisualStudio shows 8 parameters for CreateUser method.
I checked all dll dates and they are 02/10/2009. There is no change in my server files and my local pc files.


Thank you,
Carol.

Re: Updated Error in 7.0.2-Is this correct

Posted: Tue Feb 17, 2009 12:49 pm
by sohaib
Well there are different overloaded version of Create user... I don't know why you are getting an error on your local PC.

Code: Select all

public static User CreateUser(string email)

Code: Select all

public static User CreateUser(string email, string password)

Code: Select all

public static User CreateUser(string email, string password, string passwordQuestion, string passwordAnswer)

Code: Select all

public static User CreateUser(string username, string email, string password, string passwordQuestion, string passwordAnswer)

Code: Select all

public static User CreateUser(string username, string email, string password, string passwordQuestion, string passwordAnswer, bool isApproved, int affiliateId, out System.Web.Security.MembershipCreateStatus status)

Re: Updated Error in 7.0.2-Is this correct

Posted: Tue Feb 17, 2009 1:03 pm
by Carolharry
Can you please send admin\people\users\adduserdialog.ascx file from 7.0.2 version.

The change I made is working fine. Just to be sure I want to replace my file with the one you are having.

Thanks alot,
Carol

Re: Updated Error in 7.0.2-Is this correct

Posted: Tue Feb 17, 2009 1:10 pm
by sohaib
Tell you what. There is no 'admin\people\users\adduserdialog.ascx' file in 7.0.2.
This file is not used anymore. It has been removed.

Re: Updated Error in 7.0.2-Is this correct

Posted: Tue Feb 17, 2009 1:20 pm
by Carolharry
You are right.

I have replaced files from our original 7.1 version file with 7.0.2 files. With this new files where added, existing files where overwritten and
files which doesn't exist in 7.0.2 but exists in 7.1 are still there(eg:adduserdialog.ascx). That's why it was happening like that.

It's solved.

Thank you.
Carol

Re: Updated Error in 7.0.2-Is this correct

Posted: Tue Feb 17, 2009 1:35 pm
by Carolharry
Hi sohaib,

Can you guys give list of files which are no longer used in 7.0.2 but are still in 7.1. That would help.

Thank you,
Carol

Re: Updated Error in 7.0.2-Is this correct

Posted: Fri Mar 13, 2009 11:09 am
by Carolharry
Hi Admin,

I request you guys to please give us list of files which are no longer used in 7.2 but where used in 7.1 . We updated AbleCommerce from 7.1 to 7.2 During upgrade process like in the forum mentioned old files which are not used in 7.2 are still there in our folder. We might end up working on the file which is not used and wonder why our coding changes are not showing up.

Any quick help will be appreciated.

Thanks,
Carol

Re: Updated Error in 7.0.2-Is this correct

Posted: Fri Mar 13, 2009 12:30 pm
by mazhar
Following files/folders are removed from 7.1 to 7.2

Code: Select all

Website\Admin\DigitalGoods\AddDigitalGood.ascx
Website\Admin\DigitalGoods\AddDigitalGood.ascx.cs
Website\Admin\Orders\Payments\AVSCodes.aspx
Website\Admin\Orders\Payments\CVVCodes.aspx
Website\Admin\People\Users\AddUserDialog.ascx
Website\Admin\Products\Variants\Choices.aspx
Website\Admin\Products\Variants\EditChoices.aspx
Website\Admin\Products\Variants\EditOptions.aspx
Website\Admin\Shipping\Providers\AustraliaPost\Activate.aspx
Website\Admin\Shipping\Providers\DHLInternational\BetaProgram.aspx
Website\Admin\Shipping\Providers\DHLInternational\BetaProgram.aspx.cs
Website\Admin\Store\EmailTemplates\GeneralEmailSettingsDialog.ascx
Website\Admin\Store\EmailTemplates\SmtpSettingsDialog.ascx
Website\Bin\edtFTPnet.dll
Website\ValidationSummaryOnSubmit.js
Website\FCKeditor\editor\_source

Re: Updated Error in 7.0.2-Is this correct

Posted: Fri Mar 13, 2009 2:20 pm
by Carolharry
Thanks a lot!