Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Going Bald!


birddogsgarage

Recommended Posts

Posted

I dont have any hair left to pull out.

I reinstalled a number of times but cant get it to work.

 

I followed the Install and Mod guide to the T (Obviously Im missing something but I would bet my check that I am doing everything it says)

 

When I change the config from

DIR_WS_CATALOG from '/catalog/' to '/' All the links are broken.

If I put the complete directory path the page shows fine but then my links are doubled

ex. birddogsgarage.com/birdogsgarage.com/...

 

Can anyone post a config file that is set up correct that I can see?

 

I think I am getting hung up in the whole webserver root directory webserver catalog directory and just plain root and catalog directory.

 

Any more guidance would be greatly appreciated.

Thanks - TJ

Posted

I had a common problem as you and found the only way to do it was to install the admin within the catalog then install the catalog in the root

Posted

Seems like you probably have your root server set wrongly... Here's my config file...

 

<?php

/*

 osCommerce, Open Source E-Commerce Solutions

 http://www.oscommerce.com



 Copyright (c) 2002 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://myserver/Rolf/Catalog/'); // eg, http://localhost - should not be NULL for productive servers

 define('HTTPS_SERVER', 'https://myserver/Rolf/Catalog/'); // eg, https://localhost - should not be NULL for productive servers

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

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

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

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

 define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

 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', 'C:/Apache Group/Apache2/htdocs/Rolf/Catalog/');

 define('DIR_FS_CATALOG', 'C:/Apache Group/Apache2/htdocs/Rolf/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 NULL for productive servers

 define('DB_SERVER_USERNAME', 'DB_Name');

 define('DB_SERVER_PASSWORD', '');

 define('DB_DATABASE', 'Database');

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

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

?>

 

Hope that helps

PS: Some stuff are edited so I can post it... =) eg:myserver

Posted

Thanks for posting the code!!

Totally overlooked the very first lines for the server.

I really appreciate your help.

Im sure I will be looking for more in the near future!

 

TJ

Archived

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

×
×
  • Create New...