jacafor Posted February 21, 2004 Share Posted February 21, 2004 Hi: I installed the oscommerce. I can view my index.php in /catalog/, with images and all features. But, the links has an error. For example.... The link to page "login.php" is "mypage/catalog/index.php", but i have "mypage/catalog/mypage/catalog/index.php". With this... the links from the index page has error. Thanks for your help. Jaime Link to comment Share on other sites More sharing options...
Guest Posted February 21, 2004 Share Posted February 21, 2004 your configure.php is incorrect, post it without the database info and password and we cna try to help Link to comment Share on other sites More sharing options...
jacafor Posted February 21, 2004 Author Share Posted February 21, 2004 I have modified this file. // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'usuarios.lycos.es/geopercepcion/'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'usuarios.lycos.es/geopercepcion/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', 'osco/catalog/'); 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/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Thanks for your help. Jaime Link to comment Share on other sites More sharing options...
Guest Posted February 21, 2004 Share Posted February 21, 2004 your document root has no value, you should set this properly: define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); however in your server_info it doesnt show a path there Link to comment Share on other sites More sharing options...
jacafor Posted February 21, 2004 Author Share Posted February 21, 2004 your document root has no value, you should set this properly: define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); however in your server_info it doesnt show a path there Hi: Sorry, but I don?t understand you.... I?m new in this forums ! I should change "dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));" ??? Thanks.... Jaime Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.