Guest Posted September 4, 2003 Posted September 4, 2003 Hey ya all.. I have upgraded to MS 2.2 but when I chose something when I'm in my webshop a page comes up who says: ERROR The requested URL could not be retrieved -------------------------------------------------------------------------------- While trying to retrieve the URL: www.convoymail.nodir_ws_http_catalogindex.php:443 The following error was encountered: Invalid URL Some aspect of the requested URL is incorrect. Possible problems: Missing or incorrect access protocol (should be `http://'' or similar) Missing hostname Illegal double-escape in the URL-Path Illegal character in hostname; underscores are not allowed </UL What can be wrong here?? The page is on https://www.convoymail.no/catalog
Guest Posted September 4, 2003 Posted September 4, 2003 You have typos in your configure.php - the paths must be contained inside quotes, eg. 'https://convoymail.no'
Guest Posted September 4, 2003 Posted September 4, 2003 You have typos in your configure.php - the paths must be contained inside quotes, eg. 'https://convoymail.no' Yeah I know. I have done that. Like this: define('HTTP_SERVER', 'https://www.convoymail.no'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_SERVER', 'http://www.convoymail.no'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://www.convoymail.no'); // eg, https://localhost - should not be NULL for productive servers Still not working
Guest Posted September 4, 2003 Posted September 4, 2003 You have typos in your configure.php - the paths must be contained inside quotes, eg. 'https://convoymail.no' Yeah I know. I have done that. Like this: define('HTTP_SERVER', 'https://www.convoymail.no'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_SERVER', 'http://www.convoymail.no'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://www.convoymail.no'); // eg, https://localhost - should not be NULL for productive servers Still not working
Guest Posted September 4, 2003 Posted September 4, 2003 post more of the file <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'https://www.convoymail.no'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_SERVER', 'http://www.convoymail.no'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://www.convoymail.no'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname 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', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', '/home/convoy/public_html'); define('DIR_FS_CATALOG', '/home/convoy/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
Guest Posted September 4, 2003 Posted September 4, 2003 post more of the file <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'https://www.convoymail.no'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_SERVER', 'http://www.convoymail.no'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://www.convoymail.no'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname 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', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', '/home/convoy/public_html'); define('DIR_FS_CATALOG', '/home/convoy/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
Guest Posted September 4, 2003 Posted September 4, 2003 You have HTTP_SERVER defined twice - once as your secure server - delete: define('HTTP_SERVER', 'https://www.convoymail.no'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
Guest Posted September 4, 2003 Posted September 4, 2003 You have HTTP_SERVER defined twice - once as your secure server - delete: define('HTTP_SERVER', 'https://www.convoymail.no'); // eg, http://localhost or - https://localhost should not be NULL for productive servers No I have deleted it. But not helping now it looks like this. <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.convoymail.no'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://www.convoymail.no'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname 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', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', '/home/convoy/public_html'); define('DIR_FS_CATALOG', '/home/convoy/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
Guest Posted September 4, 2003 Posted September 4, 2003 No one who understand this? I can't figure it out for sure. :cry:
Guest Posted September 4, 2003 Posted September 4, 2003 Now I have fixed it but one issue.. Now the images don't apear.. <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.convoymail.no'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.convoymail.no'); // 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', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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/');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.