Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ERROR


Guest

Recommended Posts

Posted

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

Posted

You have typos in your configure.php - the paths must be contained inside quotes, eg. 'https://convoymail.no'

Posted
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

Posted
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

Posted
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/');

Posted
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/');

Posted

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

Posted
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/');

Posted

No one who understand this? I can't figure it out for sure. :cry:

Posted

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/');

Archived

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

×
×
  • Create New...