Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modules not appearing


Gil_e_n

Recommended Posts

When I attempted a test checkout, I realized that none of my modules were appearing. Going to my admin section, all that shows up is "Module Directory: /htdocs/oscommerce/includes/modules/payment (or shipping or order_total/" and an install button.

 

Looking through the website, this is usually a problem with the configuration file. Here's the relevant bits:

  
 define('DIR_FS_DOCUMENT_ROOT', '/htdocs/oscommerce/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/oscommerce/neeco_admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/htdocs/oscommerce/neeco_admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/oscommerce/'); // absolute path required
 define('DIR_FS_CATALOG', '/htdocs/oscommerce/'); // absolute path required
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

 

/htdocs/ is the correct path. Since it's a test system on my computer, I can easily verify that. But I've been staring at the configure.php for the last hour and still haven't figured out what's wrong. If anyone could inform me what I'm missing so I can either stop banging my head against the wall or bang it harder (depending on how stupid my mistake is), I would be grateful.

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Link to comment
Share on other sites

I'm not sure...but this is what my admin/includes/configure.php looks like on a working local installation

 

define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://localhost');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', 'C:/Program Files/xampp/htdocs/testshop/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/testshop/admin/'); // absolute path required
 define('DIR_FS_ADMIN', 'C:/Program Files/xampp/htdocs/testshop/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/testshop/'); // absolute path required
 define('DIR_FS_CATALOG', 'C:/Program Files/xampp/htdocs/testshop/'); // 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/');

 

and catalog/includes/configure.php

 

define('HTTP_SERVER', 'http://localhost'); // 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', 'localhost');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/testshop/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/testshop/');
 define('DIR_WS_HTTPS_CATALOG', '');
 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/');

 

Hope it helps.. :)

Link to comment
Share on other sites

Oddly, copying over your files and making a few minor modifications worked. Apparently I did need the full C:/Program Files/xampp address. I'm an idiot. And thank you.

Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums.

 

Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums

 

Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...