Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Link Errors


Guest

Recommended Posts

I'm not sure if this belongs in contribution support or what. I know i was installing 2 or 3 contributions and everything was fine then my links started doing this:

 

http://obriensk9supply.com/catalog/://obri...ex.php?cPath=36

 

HELP!!!!!!

 

I have experimented to see what file i changed wrong by putting the ORIGINAL release files one by one. So far i have come up with:

 

It is NOT the following files:

 

includes/functions/html_output.php

includes/functions/general.php

includes/application_top.php

includes/product_info.php

 

.........at a loss!!

 

Here is my config file:

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://obriensk9supply.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://obriensk9supply.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'obriensk9supply.com');
 define('HTTPS_COOKIE_DOMAIN', 'obriensk9supply.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/catalog/');
 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', '/home/obriens/public_html/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'xxxxxxxxx');
 define('DB_SERVER_PASSWORD', 'xxxxxxxxxxx');
 define('DB_DATABASE', 'obriens_store');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

// CLR 020605 defines needed for Product Option Type feature.
 define('PRODUCTS_OPTIONS_TYPE_SELECT', 0);
 define('PRODUCTS_OPTIONS_TYPE_TEXT', 1);
 define('PRODUCTS_OPTIONS_TYPE_RADIO', 2);
 define('PRODUCTS_OPTIONS_TYPE_CHECKBOX', 3);
 define('PRODUCTS_OPTIONS_TYPE_TEXTAREA', 4);
 define('TEXT_PREFIX', 'txt_');
 define('PRODUCTS_OPTIONS_VALUE_TEXT_ID', 0);  //Must match id for user defined "TEXT" value in db table TABLE_PRODUCTS_OPTIONS_VALUES

?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...