Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Got osCommerce installed and partially running


AWWWW.WAHWAH

Recommended Posts

Posted

Post your /catalog/includes/configure.php here and we'll get things fixed for you. I don't help via IM or email. It's here or nothing. :wink:

Posted

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 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://byunmotorsports.com'); // eg, http://localhost - should not be empty for productive servers

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

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

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

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', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', '/home/young31/public_html');

define('DIR_FS_CATALOG', '/home/young31/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', '*****');

define('DB_SERVER_PASSWORD', '*****');

define('DB_DATABASE', '*****');

define('USE_PCONNECT', 'true'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

 

Edited: for security reasons Thanks, Linda

Posted

Change this:

 

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

 

to this:

 

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

 

What payment module(s) do you plan on using?

Posted

EXCELLENT! It works. Now one more thing. how do i get when a user types in just the URL and it directs them to the default.php or whatever?

 

i know i can do an index.html with a meta redirect and make it set it one seconds, would this be the correct wya? i already password protected the admin directory as asked.

Posted

Oh, do I need to password protect the catalog directory too? Because when you click on it, it shows all the files and i have to click on default.php to get to the catalgoue

Archived

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

×
×
  • Create New...