Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Missing / After .com


GTZ

Recommended Posts

Posted
Something stupid I'm overlooking in a configuraion file, I know, driving me nuts.

eg. Everything is linked as http://www.xxxxxx.comproduct_info.php/?products_id=37 missing the / after .com

 

Thanks for the help,

G

 

I suspect its in the "public_html/admin/includes/configure.php" file there is a missing "/"? Maybe u can paste that file here to see?

Posted

check this line in your includes/configure.php

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

Make sure the slash is on the end of it.

Posted

admin/includes/configure

 

define('HTTP_SERVER', 'http://www.xxxxxx.com/'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.xxxxx.com/');
 define('HTTPS_CATALOG_SERVER', 'https://xxxxx.com/');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/kunden/homepages/30/d127570203/htdocs/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/amdin/'); // absolute path required
 define('DIR_FS_ADMIN', '/kunden/homepages/30/d127570203/htdocs/amdin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/'); // absolute path required
 define('DIR_FS_CATALOG', '/kunden/homepages/30/d127570203/htdocs/'); // 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 our database connection
 define('DB_SERVER', 'db505.perfora.net'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'xxxxx');
 define('DB_SERVER_PASSWORD', 'xxxxx');
 define('DB_DATABASE', 'xxxxx');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

Archived

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

×
×
  • Create New...