Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Move osCommerce to a new location


Guest

Recommended Posts

I am a newbee to OSCommerce and am encountering what may be a very simple, but is a very frustrating issue.

 

I installed OSCommerce in a sub folder of my website and started to build my catalogue of products. I've made some minor 'look and feel' modifications using a couple of contributions but am now facing a major issue.

 

A number of the standard links take me to 'Internet Explorer cannot display the webpage' error messages when selected and I can't locate where I should be looking to investigate. Perhaps some of you more expereinced users would be able to point me in the right direction.

 

1) The links that I have found so far that are missing are:(Option Selected - Page attempting to load)

My Account - account.php

Check Out - checkout_shipping.php

Log Your Self In - login.php

Create An Account - create_account.php

 

The URL displays, for example, as www.omagod.co.uk/account.php, with the php file is in the root folder. I have checked and all the files ae present :(

 

Is it possible that this problem has arisen because I moved the oscommerce installation from a sub folder to the root folder? I moved the contents of the sub folder to the root and then removed all the references to the sub folder in all the oscommerce PHP files. What I'm not sure of is whether the location reference is held in the db or another config file.

 

Thanks very much in advance for your suggestions.

 

Regards

Graeme

Link to comment
Share on other sites

I am a newbee to OSCommerce and am encountering what may be a very simple, but is a very frustrating issue.

 

I installed OSCommerce in a sub folder of my website and started to build my catalogue of products. I've made some minor 'look and feel' modifications using a couple of contributions but am now facing a major issue.

 

A number of the standard links take me to 'Internet Explorer cannot display the webpage' error messages when selected and I can't locate where I should be looking to investigate. Perhaps some of you more expereinced users would be able to point me in the right direction.

 

1) The links that I have found so far that are missing are:(Option Selected - Page attempting to load)

My Account - account.php

Check Out - checkout_shipping.php

Log Your Self In - login.php

Create An Account - create_account.php

 

The URL displays, for example, as www.omagod.co.uk/account.php, with the php file is in the root folder. I have checked and all the files ae present :(

 

Is it possible that this problem has arisen because I moved the oscommerce installation from a sub folder to the root folder? I moved the contents of the sub folder to the root and then removed all the references to the sub folder in all the oscommerce PHP files. What I'm not sure of is whether the location reference is held in the db or another config file.

 

Thanks very much in advance for your suggestions.

 

Regards

Graeme

 

Your configure files are wrong .. try changing the following parts of ..

 

catalog/includes/configure.php

 

  define('HTTP_SERVER', 'http://www.omagod.co.uk');
 define('HTTPS_SERVER', 'http://www.omagod.co.uk');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', '.omagod.co.uk');
 define('HTTPS_COOKIE_DOMAIN', '.omagod.co.uk');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');

 

You will need to alter the SSL parts if and when you get an SSL certificate.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...