Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP! my domain is changing to http://mywebsite


adam007

Recommended Posts

Hello

 

When i first load my page in a browser, it starts of as www.mysite.com which is good. As soon as i click on any button or link, the site changes to http://mysite.com/cart/...

 

I don't want that since some people will think they left the site.

 

Any ideas on how to fix it?

 

Thanks in advance

Link to comment
Share on other sites

Hi,

 

What does your includes/configure.php file look like?

 

Is your store in the root or in another folder called catalog or similar?

Link to comment
Share on other sites

Hello Modom,

 

Thanks for your reply.

 

My store is in /public_html/store/.

I want it to be in the root directory so that when my page loads, it loads the store straight away. Can you please help??

Link to comment
Share on other sites

Hi,

 

These are the install directions you need to go through:

http://wiki.oscommerce.com/helpInstallNew

 

Basically change these:

 

catalog/includes/configure.php

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

to:

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

 

and

define('DIR_FS_CATALOG', '/home/username/public_html/catalog/');

 

to:

define('DIR_FS_CATALOG', '/home/username/public_html/');

 

whatever your path is.....

 

admin/includes/configure.php

 

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

to:

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

 

 

and

 

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

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

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

 

to:

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

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

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

Link to comment
Share on other sites

Hello

 

I could'nt find the

ws_fs_catalog

 

Here is my configure.php file

 

I think all my problems are from here.

 

1) I want my shopping cart folder to be in root so that it replaces index.html.

 

2) my website is located at http://e-bookstore.com.au instead of http://www.e-bookstore.com.au

 

I tried changing define('HTTP_SERVER', 'http://e-bookstore.com.au') but it didnt work :cry:

 

Please Help

 

<?php

/*

$Id: configure.php,v 1.13 2002/07/20 09:08:31 project3000 Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'http://e-bookstore.com.au');

define('HTTP_CATALOG_SERVER', '');

define('HTTPS_CATALOG_SERVER', '');

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/store/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '/store/');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

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

Link to comment
Share on other sites

Hi,

 

This is too old a store. The configure says 2002.

 

Download the 2.2ms1 here:

http://www.oscommerce.com/downloads/milestones

 

and go thru the installation in the browser.

 

Put all your files in the root folder like this:

www or htdocs / all your files plus the admin folder

 

Keep a copy of your database in phpmyadmin and your stylesheets and get the new files....you will be better off.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...