Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Configure Module For Windows


Mr Evans

Recommended Posts

Hi all

 

I have tried to fix this for a few days. I had osCommerce working ok on the localHost but I have now changed to a windows server.

 

My main problem is that I can not see any of my modules. The page loads with as normal. there is an install button. But there are no modules. Just a files path, and I have tried many different file paths. Obviously not the right one.

 

Also, when I go to the Server Info I get the following error.

 

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers.

 

I have read many posts and most of them point to the admin/includes/configure.php

Here is my file;

/*

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://thewebsite.co.nz'); // eg, httP://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://thewebsite.co.nz');

 

define('HTTPS_CATALOG_SERVER', 'https://thewebsite.co.nz');

 

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

 

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where the pages are located on the server

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

 

define('DIR_FS_ADMIN', 'D:/HostingSpaces/thewebsite.co.nz/admin/'); // absolute pate required

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

 

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); // 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

Xxxxxxx

?>

 

 

Can any one please help me to get my modules up and running?

Link to comment
Share on other sites

  • 2 weeks later...

I'm having the same problem, possibly for different reasons - trying a number of different things. Would love to see an answer to this...

 

Hi all

 

I have tried to fix this for a few days. I had osCommerce working ok on the localHost but I have now changed to a windows server.

 

My main problem is that I can not see any of my modules. The page loads with as normal. there is an install button. But there are no modules. Just a files path, and I have tried many different file paths. Obviously not the right one.

 

Also, when I go to the Server Info I get the following error.

 

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers.

 

I have read many posts and most of them point to the admin/includes/configure.php

Here is my file;

/*

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://thewebsite.co.nz'); // eg, httP://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://thewebsite.co.nz');

 

define('HTTPS_CATALOG_SERVER', 'https://thewebsite.co.nz');

 

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

 

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where the pages are located on the server

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

 

define('DIR_FS_ADMIN', 'D:/HostingSpaces/thewebsite.co.nz/admin/'); // absolute pate required

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

 

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); // 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

Xxxxxxx

?>

Can any one please help me to get my modules up and running?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...