Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

modules problem in oscommerce 2.1 and 2.2


Recommended Posts

Hi all,


i am using win2k, iis5, php4 and both versions of oscommerce (2.1 and 2.2)

both in a virtual directory each on a second partition h:.


1. In Version 2.1 no standard module is working, error in the admin section and in the catalog section



PHP Warning: Failed opening '//ecommerce/catalog/includes/data/rates.php' for inclusion (include_path='.;c:inetpubwwwroot;') in H:Programmeecommerceadminincludesinclude_once.php on line 4 PHP Warning: OpenDir: Invalid argument (errno 22) in H:Programmeecommerceadminpayment_modules.php on line 71



2. In Version 2.2 the standard cc module is working somehow (Kreditcard information is asked), but can not be configured. Only the path of the modules in the admin section is displayed.



Module Directory: /oscommerce/catalog/includes/modules/payment/



The configure file of version 2.2 (first part of the admin section)



define('HTTP_SERVER', 'http://lifebookup'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://lifebookup/');

define('HTTPS_CATALOG_SERVER', 'https://lifebookup/');

define('ENABLE_SSL_CATALOG', 'true'); // 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', '/oscommerce/admin/');


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



Anybody an idea what is wrong or why the modules are not displayed.


I searched the forum, but none of the answers fit to my problem


Thanks in advance for the help



Link to comment
Share on other sites


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

  • Create New...