Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can someone look at this code?


soulfinger

Recommended Posts

When I go into my admin page and go to Modules, payment, shipping, and order total are the choices. When I click on any of them I get code that says (Module Directory: DIR_FS_CATALOG_MODULESorder_total/). Everyone is saying to check the admin/includes/configure.php file. I pulled it and can't find what's wrong. Can some one help me to find where I need to fix this problem. Thanks.

 

define('HTTP_SERVER', 'http://yomimedia.net'); // eg, http://localhost - should not be NULL for productive servers

define('HTTPS_SERVER', 'http://yomimedia.net'); // eg, https://localhost - should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://yomimedia.net');

define('HTTPS_CATALOG_SERVER', 'http://yomimedia.net');

define('ENABLE_SSL', 'false'); // secure webserver for administration tool

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

define('DIR_FS_DOCUMENT_ROOT', '/home/yomi/public_html/shop/'); // 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', '/shop/admin/');

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

define('DIR_FS_CATALOG', 'home/yomi/public_html/shop/');

define('DIR_WS_IMAGES', DIR_WS_ADMIN . 'images/');

define('DIR_WS_ICONS', DIR_WS_ADMIN . '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_PAYMENT_MODULES', DIR_FS_CATALOG . '/includes/modules/payment/');

define('DIR_FS_SHIPPING_MODULES', DIR_FS_CATALOG . '/includes/modules/shipping/');

define('DIR_FS_CACHE', '/tmp/'); // cache from the catalog

define('DIR_FS_BACKUP', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN . 'backups/');

Link to comment
Share on other sites

This is incorrect:

 

 

 

define('DIR_FS_DOCUMENT_ROOT', '/home/yomi/public_html/shop/');

 

 

 

 

Should be:

 

define('DIR_FS_DOCUMENT_ROOT', '/home/yomi/public_html');

 

...and perhaps this also:

 

  define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

Link to comment
Share on other sites

You've got a couple of other problems too.

 

define('DIR_FS_PAYMENT_MODULES', DIR_FS_CATALOG . '/includes/modules/payment/'); 

define('DIR_FS_SHIPPING_MODULES', DIR_FS_CATALOG . '/includes/modules/shipping/');

needs the leading slashes removing, to become

define('DIR_FS_PAYMENT_MODULES', DIR_FS_CATALOG . 'includes/modules/payment/'); 

define('DIR_FS_SHIPPING_MODULES', DIR_FS_CATALOG . 'includes/modules/shipping/');

 

More importantly, you are actually missing the entry for DIR_FS_CATALOG_MODULES, which I think should be

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

Regards, Wizzud

"It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...