Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout going to SSL, how to change?


shiftlocked

Recommended Posts

hi all,

 

I've been compiling a list of help that you guys have given recently so taht I can eventually share what I had to learn to make a UK based shop.

 

Onto my problem. When I add something to the cart and then click checkout, its taking me to the main site of my shared hosting.

 

Ie.

Goto My store add something to the cart, click checkout and then it takes you to here which is part of my shared hosting. How do I sort this out

Things still to do before going "live" in no real order...

Change "buy now buttons" css styles

Change "lets see what we have here" into something meaningfull

Main logo of the website

Sort out currency to make site UK only (at present)

Remove "xx requests since" stuff

Update mainpage :D

Move shopping cart status into header

Add in stock status to product listing page

Define styles for product listing standardisation

Change CSS background for Headings

Increase Category size headings

Used mods so far:- basic_design_pack1mk7 | Google XML sitemap w admin | Paypal IPN v 1.2 | Feedmachine | pricematch_1_3_1 | Dynamic Sitemap 1.6 | Whos online Enhancement | Easypopulate 2.72

 

Each one that I solve I;ll be putting a post on the forum in a "completed shop" thread that Im writing up

Link to comment
Share on other sites

hi all,

 

I've been compiling a list of help that you guys have given recently so taht I can eventually share what I had to learn to make a UK based shop.

 

Onto my problem. When I add something to the cart and then click checkout, its taking me to the main site of my shared hosting.

 

Ie.

Goto My store add something to the cart, click checkout and then it takes you to here which is part of my shared hosting. How do I sort this out

 

 

in configure you have indicated that your ssl, https is at that location. Change the https to your site and you should also have your ssl at https://thermaltech.co.uk/shop

Link to comment
Share on other sites

Where abouts do i look to configure the site? Ive looked in the obvious places and cant see it. Im assuming that its a file im going to have to manually edit?

Things still to do before going "live" in no real order...

Change "buy now buttons" css styles

Change "lets see what we have here" into something meaningfull

Main logo of the website

Sort out currency to make site UK only (at present)

Remove "xx requests since" stuff

Update mainpage :D

Move shopping cart status into header

Add in stock status to product listing page

Define styles for product listing standardisation

Change CSS background for Headings

Increase Category size headings

Used mods so far:- basic_design_pack1mk7 | Google XML sitemap w admin | Paypal IPN v 1.2 | Feedmachine | pricematch_1_3_1 | Dynamic Sitemap 1.6 | Whos online Enhancement | Easypopulate 2.72

 

Each one that I solve I;ll be putting a post on the forum in a "completed shop" thread that Im writing up

Link to comment
Share on other sites

Quick updates

 

Ive changed the configuration.php in the includes directory but still no joy.

 

my https settings for the server are

https://orestes.horsepower.site5.com/~speci...ermaltech/shop/

 

What do I need to change in my configure.php to what as im a bit confused as to why its still trying t goto

 

https://specialtechforums.co.uk/shop/checko...78efe4fc6683c81

Things still to do before going "live" in no real order...

Change "buy now buttons" css styles

Change "lets see what we have here" into something meaningfull

Main logo of the website

Sort out currency to make site UK only (at present)

Remove "xx requests since" stuff

Update mainpage :D

Move shopping cart status into header

Add in stock status to product listing page

Define styles for product listing standardisation

Change CSS background for Headings

Increase Category size headings

Used mods so far:- basic_design_pack1mk7 | Google XML sitemap w admin | Paypal IPN v 1.2 | Feedmachine | pricematch_1_3_1 | Dynamic Sitemap 1.6 | Whos online Enhancement | Easypopulate 2.72

 

Each one that I solve I;ll be putting a post on the forum in a "completed shop" thread that Im writing up

Link to comment
Share on other sites

hi all,

 

I've been compiling a list of help that you guys have given recently so taht I can eventually share what I had to learn to make a UK based shop.

 

Onto my problem. When I add something to the cart and then click checkout, its taking me to the main site of my shared hosting.

 

Ie.

Goto My store add something to the cart, click checkout and then it takes you to here which is part of my shared hosting. How do I sort this out

 

 

it is catalog/includes/configure.php

The lines are at the top.

 

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'https://www.yoursite.com/'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.yoursite.com/'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

Link to comment
Share on other sites

it is catalog/includes/configure.php

The lines are at the top.

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'https://www.yoursite.com/'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.yoursite.com/'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 

You also need to have your ssl on your site. It looks like you have a shared ssl, if that is true you may want to get your own. I had to change my http server to https to make my checkout secure. Also check with your hosting company and ask them where your ssl is located. It may be something like www.secure.yoursite.com but they will be able to tell you the path, however I found that the ssl must be on my site and not a shared ssl for it to work. When you find out the above file is the one to change.

Link to comment
Share on other sites

Ive changed and uploaded and it back up and its still trying to go to the wrong place.

 

any ideas

Things still to do before going "live" in no real order...

Change "buy now buttons" css styles

Change "lets see what we have here" into something meaningfull

Main logo of the website

Sort out currency to make site UK only (at present)

Remove "xx requests since" stuff

Update mainpage :D

Move shopping cart status into header

Add in stock status to product listing page

Define styles for product listing standardisation

Change CSS background for Headings

Increase Category size headings

Used mods so far:- basic_design_pack1mk7 | Google XML sitemap w admin | Paypal IPN v 1.2 | Feedmachine | pricematch_1_3_1 | Dynamic Sitemap 1.6 | Whos online Enhancement | Easypopulate 2.72

 

Each one that I solve I;ll be putting a post on the forum in a "completed shop" thread that Im writing up

Link to comment
Share on other sites

Ive changed and uploaded and it back up and its still trying to go to the wrong place.

 

any ideas

Things still to do before going "live" in no real order...

Change "buy now buttons" css styles

Change "lets see what we have here" into something meaningfull

Main logo of the website

Sort out currency to make site UK only (at present)

Remove "xx requests since" stuff

Update mainpage :D

Move shopping cart status into header

Add in stock status to product listing page

Define styles for product listing standardisation

Change CSS background for Headings

Increase Category size headings

Used mods so far:- basic_design_pack1mk7 | Google XML sitemap w admin | Paypal IPN v 1.2 | Feedmachine | pricematch_1_3_1 | Dynamic Sitemap 1.6 | Whos online Enhancement | Easypopulate 2.72

 

Each one that I solve I;ll be putting a post on the forum in a "completed shop" thread that Im writing up

Link to comment
Share on other sites

Ahhh. Sorry to keep posting here

Solved in thanks to the help from usernamenone

Edited the configuration.php file and tried to upload but got a permissions error

So to solve it, i chmod to 755, upload

test

then change back the chmod to 444

job done and now I appear to be secure :D

Things still to do before going "live" in no real order...

Change "buy now buttons" css styles

Change "lets see what we have here" into something meaningfull

Main logo of the website

Sort out currency to make site UK only (at present)

Remove "xx requests since" stuff

Update mainpage :D

Move shopping cart status into header

Add in stock status to product listing page

Define styles for product listing standardisation

Change CSS background for Headings

Increase Category size headings

Used mods so far:- basic_design_pack1mk7 | Google XML sitemap w admin | Paypal IPN v 1.2 | Feedmachine | pricematch_1_3_1 | Dynamic Sitemap 1.6 | Whos online Enhancement | Easypopulate 2.72

 

Each one that I solve I;ll be putting a post on the forum in a "completed shop" thread that Im writing up

Link to comment
Share on other sites

And then I spoke to soon. Even though Ive done a chmod on configure.php to 444 Im getting an error that

 

"Warning: I am able to write to the configuration file:" even though i have definatly set the chmod. Any ideas?

Things still to do before going "live" in no real order...

Change "buy now buttons" css styles

Change "lets see what we have here" into something meaningfull

Main logo of the website

Sort out currency to make site UK only (at present)

Remove "xx requests since" stuff

Update mainpage :D

Move shopping cart status into header

Add in stock status to product listing page

Define styles for product listing standardisation

Change CSS background for Headings

Increase Category size headings

Used mods so far:- basic_design_pack1mk7 | Google XML sitemap w admin | Paypal IPN v 1.2 | Feedmachine | pricematch_1_3_1 | Dynamic Sitemap 1.6 | Whos online Enhancement | Easypopulate 2.72

 

Each one that I solve I;ll be putting a post on the forum in a "completed shop" thread that Im writing up

Link to comment
Share on other sites

hi all,

 

I've been compiling a list of help that you guys have given recently so taht I can eventually share what I had to learn to make a UK based shop.

 

Onto my problem. When I add something to the cart and then click checkout, its taking me to the main site of my shared hosting.

 

Ie.

Goto My store add something to the cart, click checkout and then it takes you to here which is part of my shared hosting. How do I sort this out

 

I just tried you site added an item created an account and continued right up to the payment part of paypal.

 

Seems to be working.

Try clearing your browser's cache and try it yourself.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

Thanks for the test :D

I did some digging around and it seems that the FTP program wasnt setting the chmod properly for some reason.

I loged into the control panel of my website, set it to 444 and brilliant, setting solved.

 

Interesting side note tho. Because im using a shared certificate, IE7 now tries to block the site and stop people from loading it

Things still to do before going "live" in no real order...

Change "buy now buttons" css styles

Change "lets see what we have here" into something meaningfull

Main logo of the website

Sort out currency to make site UK only (at present)

Remove "xx requests since" stuff

Update mainpage :D

Move shopping cart status into header

Add in stock status to product listing page

Define styles for product listing standardisation

Change CSS background for Headings

Increase Category size headings

Used mods so far:- basic_design_pack1mk7 | Google XML sitemap w admin | Paypal IPN v 1.2 | Feedmachine | pricematch_1_3_1 | Dynamic Sitemap 1.6 | Whos online Enhancement | Easypopulate 2.72

 

Each one that I solve I;ll be putting a post on the forum in a "completed shop" thread that Im writing up

Link to comment
Share on other sites

Thanks for the test :D

I did some digging around and it seems that the FTP program wasnt setting the chmod properly for some reason.

I loged into the control panel of my website, set it to 444 and brilliant, setting solved.

 

Interesting side note tho. Because im using a shared certificate, IE7 now tries to block the site and stop people from loading it

 

 

Download filezilla it is a free ftp client, you won't have to set permissions. it takes care of all that for you.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...