Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installing in root get me // after the domain


coremaster

Recommended Posts

I moved server and reinstalled it in root and now I get things like

 

http://montanaoutdoorsupplies.com//product...products_id/873

 

see the 2 // after the dot net part it works fine and all but really hate that...

 

and yes I have looked in the config files to make sure there was no / after my domain name does anyone out there know what this is from....

Link to comment
Share on other sites

it will be from your configure.php files

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

or it could be from search engine safe urls in the admin panel being set to true or a / at the end of the cookie domain

 

but would be easier to elliminate if you post a configure.php file

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

I do have search engine safe urls turned on in the admin but it's never don't anything like that before. maybe I am just crazy and should forget about it as the site works fine but it's really buging me I guess.. I am going to turn off "search engine safe urls" to see if that helps

 

Here is the configure.php file

 

 

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

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

define('HTTPS_CATALOG_SERVER', 'https://windriver.tech-dns.net/~montana');

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

define('DIR_FS_DOCUMENT_ROOT', '/home/montana/public_html/'); // where the pages are located on the server

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

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

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

define('DIR_FS_CATALOG', '/home/montana/public_html/'); // 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', '000000000000');

define('DB_SERVER_PASSWORD', '000000000000');

define('DB_DATABASE', '0000000000000');

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

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

Link to comment
Share on other sites

change these two line in this configure.php and check your other configure.php

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

 

change to

 

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

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

the only other one is

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

change to

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

if not try posting the catalog/includes/configure.php

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...