Paul
|
Posted Sat 21 Sep 2013
|
Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807,
Visits: 2,748
|
Your webshopURL config setting should not be https. It should be http.
If you have SSL set up for this web site, you can then set the SSL config setting to turn SSL support on. Search the back end for 'ssl', and you'll find the setting.
Kartris will determine which pages need https and which should use http.
The rules are:
General site visits (anonymous users, search engines, etc.) = http Any page where a user (customer or admin) is logged in = https Any login page (front or back) = https
-- If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.
If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
|
|
|
CharlieL
|
Posted Fri 20 Sep 2013
|
Group: Awaiting Activation
Last Active: Mon 23 Sep 2013
Posts: 0,
Visits: 32
|
So the error with the missing / is caused by
If Not Current.Request.IsSecureConnection() Then If InStr(Request.Url.ToString.ToLower, CkartrisBLL.WebShopURL.ToLower) = 0 Then Dim strRedirectURL As String = CkartrisDisplayFunctions.CleanURL(Request.RawUrl.ToLower) 'remove the web shop folder if present - webshopurl already contains this strRedirectURL = Replace(strRedirectURL, "/" & CkartrisBLL.WebShopFolder, "")
If Left(strRedirectURL, 1) = "/" Then strRedirectURL = Mid(strRedirectURL, 2) Response.Status = "301 Moved Permanently" 'append the webshop url Response.AddHeader("Location", CkartrisBLL.WebShopURL & strRedirectURL) End If End If
If I use a break point nad change kartrisdefault.aspx to default.aspx then I get the original error that I mentioned in the first post.
|
|
|
CharlieL
|
Posted Fri 20 Sep 2013
|
Group: Awaiting Activation
Last Active: Mon 23 Sep 2013
Posts: 0,
Visits: 32
|
An update when I set the config setting webshopfolder to blank, it redirects it to /kartris/kartrisdefault.aspxI am still struggling with this issue and would like to get past it to see if Kartris would work for my organization.
|
|
|
CharlieL
|
Posted Thu 19 Sep 2013
|
Group: Awaiting Activation
Last Active: Mon 23 Sep 2013
Posts: 0,
Visits: 32
|
I created a new installation and in changed it in the setup options. Afterwards I confirmed it was correct via the config settings in the backend.
|
|
|
Mart
|
Posted Thu 19 Sep 2013
|
Group: Administrators
Last Active: Wed 18 Nov 2020
Posts: 148,
Visits: 3,450
|
Did you change those direct in the db, or via the backend of kartris?
If changed direct in the db, you'd probably have to restart the site
|
|
|
CharlieL
|
Posted Thu 19 Sep 2013
|
Group: Awaiting Activation
Last Active: Mon 23 Sep 2013
Posts: 0,
Visits: 32
|
Thanks for the reply. That was my initial thought too, but changing the general.webshopfolder to blank doesn't fix the issue, and the general.webshopurl is https://myserveraddress/kartris/.
I'll continue to look into it, but any other ideas?
Thanks
|
|
|
Paul
|
Posted Thu 19 Sep 2013
|
Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807,
Visits: 2,748
|
Yes, this does suggest that the webshopfolder config setting is set to /Kartris, but that Kartris is installed at the root of its web.
Did you copy your local db to the server? If so, login to the back end, and then check the webshopfolder and webshopURL config settings (use the search in back end to find them).
From what you describe, the webshopfolder setting should be blank, and the webshopURL should be:
http://myServerAddress/kartris/
(must have the http:// and the / at the end)
-- If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.
If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
|
|
|
Medz
|
Posted Thu 19 Sep 2013
|
Group: Administrators
Last Active: Tue 3 Dec 2013
Posts: 99,
Visits: 1,400
|
Can you access the backend (myServerAddress/kartris/Admin/) without problems? Might need to check if the correct values are set in config settings - 'general.webshopfolder' and 'general.webshopurl'.
|
|
|
CharlieL
|
Posted Wed 18 Sep 2013
|
Group: Awaiting Activation
Last Active: Mon 23 Sep 2013
Posts: 0,
Visits: 32
|
I'm hoping to get some help for this. I am wanting to try out Kartris to see if it would work for my organization and am able to get it to work on my local machine without any problems. But I'm trying to get a version installed on our server and everything seems to go fine (use same settings as local, include pointing to same DB) but when I go to check out the front page I get a 404 error. For some reason it is redirecting me to another page. The URL I end up at is myServerAddress/kartris/kartris/default.aspx when Kartris itself is just installed at myServerAddress/kartris/.
Any ideas on what could be going on?
|
|
|