Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Two websites, one pointed, admin config


plus766

Recommended Posts

Posted

I have worked on this and changed it a number of times, but can't figure it out.

I have two websites, one using what I think they called a "pointer" under my other site, so I don't have to pay two hosting fees.

I've installed another oscommerce and database, so that I can treat them as seperate, just in case down the road I want to seperate them.

I got the includes/configure.php file correct, but I can't get the admin/includes/configure.php file. I'm able to bring up the first page, with the admin menu, but not the other pages. I'm posting it here in hopes that someone who is more versed in this can tell me what I'm doing wrong. Thank you!

:'(

 

<?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://agentsfromhome');

define('HTTP_CATALOG_SERVER', 'http://littleandbig.com/agentsfromhome');

define('HTTPS_CATALOG_SERVER', 'https://agentsfromhome');

define('ENABLE_SSL_CATALOG', true); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/agentsfromhome/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/littlean/public_html/agentsfromhome/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/home/littlean/public_html/agentsfromhome/'); // absolute path required

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

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

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// 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', 'false'); // use persisstent connections?

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

?>

Striving to go beyond Novice-suggestions always welcomed

Posted

Can anyone help me on this? Still pulling my hair out.

Thanks!

Striving to go beyond Novice-suggestions always welcomed

Posted

I finally figured it out!! I had to have the base website in the catalog server. Thanks!

Striving to go beyond Novice-suggestions always welcomed

Archived

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

×
×
  • Create New...