Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2 Questions


webiknight

Recommended Posts

Posted

I have 2 questions...

 

First, I would like to change the Catagory and Manufactures box labels to Shop by ....., where can i find the right place to change.

 

Also, when ever i go into a secure part of the store, my ISP has me redirecting away from my site adn all links and customization stop working, if I retype in the URL and take out the links I get to the page fine. Example: If you go to My Account, it takes you here,

 

https://corsica.globat.com/~4x4groupbuy.net...132d3ba669d0c04

 

instead of here:

 

https://www.4x4groupbuy.net/store/login.php...132d3ba669d0c04

 

Any ideas and help would be greatly appricated.

 

Also, let me know what you think of the store. (its still in work, some photo's are missing)

 

http://www.4x4groupbuy.com/store

Posted

Can you post your /catalog/includes/configure.php file? (sans the DB server and login info).

Posted

Here it is....

 

 

// Define the webserver and path parameters

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

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

define('HTTP_SERVER', 'http://www.4x4groupbuy.net'); // ******

define('HTTPS_SERVER', 'https://corsica.globat.com'); // ******

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

define('HTTP_COOKIE_DOMAIN', 'www.4x4groupbuy.net'); // ******

define('HTTPS_COOKIE_DOMAIN', 'corsica.globat.com'); // ******

define('HTTP_COOKIE_PATH', '/store/'); // ******

define('HTTPS_COOKIE_PATH', '/store/'); // ******

define('DIR_WS_HTTP_CATALOG', '/store/'); // ******

define('DIR_WS_HTTPS_CATALOG', '/~4x4groupbuy.net/store/'); // ******

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/usr/local/psa/home/vhosts/4x4groupbuy.net/httpdocs/store/'); // ******

define('DIR_FS_WORK', '/tmp/'); // the work directory should be outside the public html directory

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted

the secure side links are generated as 'HTTPS_SERVER' concatenated with DIR_WS_HTTPS_CATALOG. For you, this becomes:

 

https://corsica.globat.com/~4x4groupbuy.net/store/

 

What you need to do is change the following;

 

define('HTTPS_SERVER', 'https://www.4x4groupbuy.net'); // ******

define('DIR_WS_HTTPS_CATALOG', '/store/'); // ******

 

If you don't have ssl setup on your server yet, then set 'ENABLE_SSL' to false for now so you can continue to develop your site and go through the whole checkout process yourself to make sure everything works properly.

Posted

I made the changes suggested above and now get this message on the store site.

 

Warning: I am able to write to the configuration file: /usr/local/psa/home/vhosts/4x4groupbuy.net/httpdocs/store/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

Any help would be great

Archived

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

×
×
  • Create New...