tobyj21 Posted April 12, 2008 Posted April 12, 2008 We're running oscommerce on a windows server and php 4 (not ideal I know, but needed an ASP page for payment), which has worked without problems until the last week, when without any change OScommerce will no longer find the modules folder. On the admin pages it no longer lists the modules but gives the following: Module Directory: D:\Inetpub\vhost\ourdomain.co.uk\httpdocs\/includes/modules/payment/ I've tried every combination I can think of in the config.php file, wondering if the \/ after httpdocs was causing a problem, but it doesn't seem to be. I can't understand why it worked without issue then would stop seemingly without cause. I've contacted the hosting company, who claim nothing has changed on their side and say they can be of no help. I've tried replacing the admin folder with a previously functional backup, which had no effect. Here's our config.php define('HTTP_SERVER', 'http://ourdomain.co.uk/'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://ourdomain.co.uk/'); define('HTTPS_CATALOG_SERVER', 'http://ourdomain.co.uk/'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'D:\\Inetpub\\vhost\\ourdomain.co.uk\\httpdocs\\'); // 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', 'admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_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/'); Any help would be really appreciated as we're loosing a lot of sales because of this problem
Guest Posted April 13, 2008 Posted April 13, 2008 Any thoughts from anyone? Don't know, but define('DIR_FS_DOCUMENT_ROOT', 'D:\\Inetpub\\vhost\\ourdomain.co.uk\\httpdocs\\'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) does not look right. You could try 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) otherwise, look in your admin tools serverinfo to get the path.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.