Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving from Linux to Windows box....catalog pages not showing


cjpopp

Recommended Posts

Posted

Just moved a client to a windows box when I redesigned his website. Was on a linux box.

 

Back-up'd the db and transfered it along with the OSC install - kept OSC in the same directory name (estore).

 

If you go to the store, the menu and items on the home page will show just fine. Click on a item in the menu or on the home page and I get an "page not found" error.

 

Is there something I need to do? The site is http://www.apuzzledworld.com/estore

 

Here's the config for the includes:

 

<?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.apuzzledworld.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', 'http://www.apuzzledworld.com');

define('HTTPS_COOKIE_DOMAIN', 'http://www.apuzzledworld.com');

define('HTTP_COOKIE_PATH', 'http://www.apuzzledworld.com');

define('HTTPS_COOKIE_PATH', 'http://www.apuzzledworld.com');

define('DIR_WS_HTTP_CATALOG', '/estore/');

define('DIR_WS_HTTPS_CATALOG', '/estore/');

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:/Domains/apuzzledworld.com/wwwroot/estore/');

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

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

 

 

// define our database connection

define('DB_SERVER', 'www.apuzzledworld.com'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'puzzledworldosc');

define('DB_SERVER_PASSWORD', '0wner');

define('DB_DATABASE', 'puzzledworldosc');

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

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

?>

Posted

You need to find out if you can do a url rewrite on a Windows server. The site has ultimate seo urls's installed which works off a rewrite using .htaccess and the install says it only works on a linux server. If you can't fix it move them back to a Linux box so they don't loose their SE placement.

Posted
You need to find out if you can do a url rewrite on a Windows server. The site has ultimate seo urls's installed which works off a rewrite using .htaccess and the install says it only works on a linux server. If you can't fix it move them back to a Linux box so they don't loose their SE placement.

 

Can I pull the SE? They didn't do much for the client.

Posted

The contribution is called Ultimate SEO URL's. You can remove it but then they will have the standard osC URL's for products and categories. Any indexing of pages will disappear unless you do a massive amount of redirects back to the standard osC URL's.

 

Ultimate SEO URL's is only a small part of what a web site needs to get good rankings for products and categories. The site should also have Header Tags installed and the two contributions work well together. They will make everything match such as;

 

URL ->chicken-or-egg-p-666.html

 

Title -> Chicken or Egg | Puzzled World

 

Description -> Buy Chicken or Egg at Puzzled World

 

etc ....

 

Without the SEO URL's the site will not be as good as it can be. You can search the forum to see if the SEO URL's can work on a Windows Server but IMO Linux is MUCH better for running osC and for the sake of your customer I would move them back. Having said that the site only has a PR1 so not much will be lost if you do remove it.

 

Also change their DB name, username and password as you posted them in the forum.

Archived

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

×
×
  • Create New...