Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Two slashes // after index.php address


rayjuan

Recommended Posts

hi all,

 

may i know why does my website display two // (Slashes) infront of my index.php ? please see sample below

 

http:// ecommercevalue.com/customerpreview1//index.php

 

the site still loads fine..

 

any idea where i can edit this?

 

ive looked thru both configure.php files in /includes and /admin/includes/

 

here is the actual file codes below

 

FOR /includes/configure.php

 

<?php
 define('HTTP_SERVER', 'http://ecommercevalue.com/customerpreview1/');
 define('HTTPS_SERVER', 'https://ecommercevalue.com/customerpreview1');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', 'ecommercevalue.com/customerpreview1');
 define('HTTPS_COOKIE_DOMAIN', 'ecommercevalue.com/customerpreview1');
 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', '/home/customerpreview1//public_html/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 define('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', 'ecommerva_cult1');
 define('DB_SERVER_PASSWORD', 'rayray');
 define('DB_DATABASE', 'ecommerva_cult1');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

 

 

for /admin/includes/configure.php

 

<?php
 define('HTTP_SERVER', 'http://ecommercevalue.com/customerpreview1/');
 define('HTTP_CATALOG_SERVER', 'http://ecommercevalue.com/customerpreview1/');
 define('HTTPS_CATALOG_SERVER', 'https://ecommercevalue.com/customerpreview1/');
 define('ENABLE_SSL_CATALOG', false);
 define('DIR_FS_DOCUMENT_ROOT', '/home/customerpreview1/public_html/');
 define('DIR_WS_ADMIN', '/admin/');
 define('DIR_FS_ADMIN', '/home/customerpreview1/public_html/admin/');
 define('DIR_WS_CATALOG', '/');
 define('DIR_FS_CATALOG', '/home/customerpreview1/public_html/');
 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('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 define('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', 'ecommerva_cult1');
 define('DB_SERVER_PASSWORD', 'rayray');
 define('DB_DATABASE', 'ecommerva_cult1');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

 

 

 

cheers

Link to comment
Share on other sites

ive looked thru both configure.php files in /includes and /admin/includes/

 

here is the actual file codes below

 

FOR /includes/configure.php

 

<?php
 define('HTTP_SERVER', 'http://ecommercevalue.com/customerpreview1/');
?>

Remove the traliling slash from the above. Also, be sure to change the database login since you've just made it available to all hackers by posting it here and they will use it.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...