Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can't fix it


nacbreda

Recommended Posts

Posted

i still have the next error at the admin page :

Warning: Failed opening '/apache/htdocs/apache/htdocs/catalog/includes/data/rates.php' for inclusion (include_path='.; apacheincludes;apachehtdocs;apachehtdocsphpmyadmin') in C:apachehtdocsadminincludesinclude_once.php on line 4

 

 

define('HTTP_SERVER', 'http://localhost');

 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . '/apache/htdocs'); // where your pages are located on the server.. needed to delete images.. (eg, /usr/local/apache/htdocs)

 define('DIR_FS_LOGS', '/apache/logs/');

 define('DIR_WS_ADMIN', '/admin/');

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

 define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

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

 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_PAYMENT_MODULES', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG . 'includes/modules/payment/');

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

 

somebody please tell me what's wrong

Posted

Does /apache/htdocs/apache/htdocs/catalog/includes/data/rates.php exist? You might want to try changing the DIR_FS_DOCUMENT_ROOT define to say

  define('DIR_FS_DOCUMENT_ROOT', 'C:apachehtdocs');

since it looks like it is including /apache/htdocs twice. Btw, I may not be getting the path right, so you may need to adjust it.

 

Good luck,

Matt

Archived

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

×
×
  • Create New...