Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configure.php issues - posted code, please help


dhilden

Recommended Posts

Hi,

 

I've been rattling my brain all day trying to figure out where I've gone wrong. Currently just transfered my store from Xampp to another host. Everything seems fine except that I can't figure out the configure.php file. I've made so many changes by now and don't know where i've messed up.

 

I'll post the code (without database login info) in case someones up for helping. When I did install oscommerce today I had the following info

 

website name: www.bonzjewellery.com ( I did not use 'catalog' so the info comes up as www.bonzjewellery.com

webserver root: home/bonnielou/bonzjewellery.com

http cookie path: www.monzjewellery.com

http cookie path: /cgi

 

here's the code from includes/configure.php

 

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

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

define('HTTPS_CATALOG_SERVER', 'https://www.bonzjewellery.com');

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

define('DIR_FS_DOCUMENT_ROOT', 'home/bonnielou/bonzjewellery.com'); // where the pages are located on the server

define('DIR_WS_ADMIN', 'www.bonzjewellery.com/admin/'); // absolute path required

define('DIR_FS_ADMIN', 'www.bonzjewellery.com/admin'); // absolute pate required

define('DIR_WS_CATALOG', 'www.bonzjewellery.com'); // absolute path required

define('DIR_FS_CATALOG', 'www.bonzjewellery.com'); // 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/');

 

 

and the code from admin/includes/configure.php

 

 

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

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

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

define('HTTP_COOKIE_DOMAIN', 'www.bonzjewellery.com');

define('HTTPS_COOKIE_DOMAIN', 'www.bonzjewellery.com');

define('HTTP_COOKIE_PATH', '/cgi');

define('HTTPS_COOKIE_PATH', '/cgi');

define('DIR_WS_HTTP_CATALOG', 'home/bonnielou/bonzjewellery.com');

define('DIR_WS_HTTPS_CATALOG', 'home/bonnielou/bonzjewellery.com');

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', 'C:/Program Files/xampp/htdocs/catalog/');

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

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

Link to comment
Share on other sites

Well, first of all the file you list as your includes/configure.php file is your admin/includes/configure.php file and vice versa.

 

includes/configure.php

--------------------------

define('HTTP_SERVER', 'http://www.bonzjewellery.com'); // eg, http://localhost - should not be empty for productive servers

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

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

define('HTTP_COOKIE_DOMAIN', 'www.bonzjewellery.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

 

define('DIR_FS_CATALOG', '/home/bonnielou/bonzjewellery.com/');

 

admin/includes/configure.php

----------------------------------

define('HTTP_SERVER', 'http://www.bonzjewellery.com'); // eg, http://localhost - should not be empty for productive servers

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

define('HTTPS_CATALOG_SERVER', '');

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

define('DIR_FS_DOCUMENT_ROOT', '/home/bonnielou/bonzjewellery.com/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/home/bonnielou/bonzjewellery.com/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/home/bonnielou/bonzjewellery.com/'); // absolute path required

 

Vger

Link to comment
Share on other sites

Wow I got really messed up with those files. Thank you so much for helping me sort out this confusion.

 

I promised my mom to get her first internet store online by tomorrow morning so she's going to be excited to see it first thing in the morning.

 

Thanks again, karma points to you... and please feel free to have a look at her site www.bonzjewellery.com

 

any feedback is greatly appreciated

 

Derek

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...