error when customer logs in...


https://forum.kartris.com/Topic2206.aspx
Print Topic | Close Window

By jaymer - Fri 19 Jul 2013
Hi,We're in the early development stages here,
when a customer either logs in or creates a new password, we get the error screen...
By Paul - Sat 20 Jul 2013
Which version exactly are you running (you can see this from the changelog page in the back end)?

Is any error logged (you can view errors from the database admin page in the back end, located the files in Uploads/Logs
By jaymer - Mon 22 Jul 2013
it's version 2.0002

I have an error in the log,

>> 22/07/2013 10:44:50
>> 86.162.57.146
>> DESCRIPTION:
System.ArgumentOutOfRangeException: 'ddlCountry' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value
at System.Web.UI.WebControls.ListControl.PerformDataBinding(IEnumerable dataSource)
at System.Web.UI.WebControls.ListControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
at System.Web.UI.WebControls.ListControl.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


I think it's because I have the shipping and countries wrong...
We only want to ship to the UK, £3 (mail) for orders under 1kg, £6 (courier) for orders over,
should be simple enough!
By Paul - Mon 22 Jul 2013
Go to the countries/destinations page in the back end and select United Kingdom as default country.

I think what is happening is that your shipping is set not to include other countries (or shipping methods for other countries), but your browser is defaulting to non-UK (lots of people in UK are running browsers that are actually set as en-US, hence it will try to default to the US country record).