Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Links with error


jacafor

Recommended Posts

Posted

Hi:

 

I installed the oscommerce.

 

I can view my index.php in /catalog/, with images and all features.

 

But, the links has an error. For example....

 

The link to page "login.php" is "mypage/catalog/index.php", but i have "mypage/catalog/mypage/catalog/index.php".

 

With this... the links from the index page has error.

 

Thanks for your help.

 

Jaime

Posted

your configure.php is incorrect, post it without the database info and password and we cna try to help

Posted

I have modified this file.

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'usuarios.lycos.es/geopercepcion/'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'usuarios.lycos.es/geopercepcion/'); // 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', 'osco/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Thanks for your help.

 

Jaime

Posted

your document root has no value, you should set this properly:

 

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

 

however in your server_info it doesnt show a path there

Posted
your document root has no value, you should set this properly:

 

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

 

however in your server_info it doesnt show a path there

Hi:

 

Sorry, but I don?t understand you.... I?m new in this forums !

 

I should change "dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));" ???

 

Thanks....

 

Jaime

Archived

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

×
×
  • Create New...