Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation Problems


Tyreal2012

Recommended Posts

Posted

I recently installed version 2.2 on a webhost for demoing purposes and styling for prospective clients however ive encountered a problem

 

i go through the setup as told in the documentation

 

i load up the index page fine then i click on a link to go to a section and it throws up a 404 page not found

 

i looked at the url that the link was pointing to and noticed that it was duplicating the domain url so i went through the setup again and didnt add the url i now get this response

 

http://mycatalogsite.co.uk/catalog/:///index.php?cPath=2&osCsid=b3eec19d90c7becdc788108b50da8a6d

 

the bolded area contain the characters i have to delete everytime that i want to view anywhere on the catalog

 

can anyone provide insight into how i can stop this happening?

 

TIA

Posted

oooh thanks

 

define('HTTP_SERVER', '://'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', '://');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/content/DesignerPlus/a/s/aspirecreative.co.uk/web/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/content/DesignerPlus/a/s/aspirecreative.co.uk/web/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/content/DesignerPlus/a/s/aspirecreative.co.uk/web/catalog/'); // absolute path required

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

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

define('DB_SERVER', 'xxxxx'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxxxx');

define('DB_SERVER_PASSWORD', 'xxxxx');

define('DB_DATABASE', 'xxxxxx');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

thast from admin/

 

define('HTTP_SERVER', '://'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'aspirecreative.co.uk');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_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', '/content/DesignerPlus/a/s/aspirecreative.co.uk/web/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'xxxx'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxx');

define('DB_DATABASE', 'xxxxxxx');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

and thats from include

 

thanks

 

im currently searching the boards for possible solutions as well :D

Posted

catalog/admin/includes/configure.php

-------------------------

define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.yourdomain.com');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/content/DesignerPlus/a/s/aspirecreative.co.uk/web/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/content/DesignerPlus/a/s/aspirecreative.co.uk/web/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

 

catalog/includes/configure.php

----------------------------------

define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.aspirecreative.co.uk');

define('HTTPS_COOKIE_DOMAIN', '');

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

define('HTTPS_COOKIE_PATH', '');

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

define('DIR_WS_HTTPS_CATALOG', '');

 

Vger

Posted
define('HTTP_SERVER', '://'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', '://');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

 

thast from admin/

 

define('HTTP_SERVER', '://'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'aspirecreative.co.uk');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

 

and thats from include

 

Ok from what I can see you need to change the above in your admin/includes/configure.php to this:

 

 

define('HTTP_SERVER', 'http://www.YourSite.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.YourSite.com');

define('HTTPS_CATALOG_SERVER', 'If you have a SSL: https://www.YourSite.com');

define('ENABLE_SSL_CATALOG', 'IF you have a SSL connection set this to: true if not leave false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/content/DesignerPlus/a/s/aspirecreative.co.uk/web/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/content/DesignerPlus/a/s/aspirecreative.co.uk/web/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', 'try: /catalog/ or /web/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/content/DesignerPlus/a/s/aspirecreative.co.uk/web/catalog/'); // absolute path required

 

 

 

For your /includes/configure.php file:

 

define('HTTP_SERVER', 'http://www.YourSite.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'If you have a SSL: https://www.YourSite.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', IF you have a SSL connection set this to: true if not leave false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'aspirecreative.co.uk');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', I would leave this as /catalog/ unless you want different');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/catalog/ or if the catalog is in a sub folder /mainfolder/catalog/');

define('DIR_WS_HTTPS_CATALOG', '');

 

 

Hope that helps you some.

 

Sheesh Vger! Give the little guy a chance to post! lol :D

Archived

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

×
×
  • Create New...