Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Link PROBLEM


jacoben

Recommended Posts

on the home page of OsCommerce

some links dont work because of the wrong link adress.

 

for example;

 

"Cart Contents" at the top right of the screen -> http://127.0.0.1/catalog/shopping_cart.php

 

the link is correct.

 

But;

 

"My Account", "Checkout" links are wrong !!!

https://localhostaccount.php/

https://localhostcheckout_shipping.php/

 

these links must be like this to work:

 

https://localhost/account.php/

https://localhost/checkout_shipping.php/

 

 

My question is :

 

HOW can i change the links of these ?

Link to comment
Share on other sites

please can someone help ?

 

i'm waiting...

i dont know in which php file i can change those links.

 

 

None of the links you have posted work for me - what is in your configure.php file ?

 

Post for review without the db connection strings

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

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

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

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

define('HTTP_COOKIE_DOMAIN', '127.0.0.1');

define('HTTPS_COOKIE_DOMAIN', '');

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

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/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', 'c:/program files/easyphp1-8/www/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', '127.0.0.1'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'root');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'store');

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

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

?>

Link to comment
Share on other sites

the address is my local host, not on internet.

 

the problem is the link.

i changed the values on configure.php but it still didnt work.

when i click on the "create an account", i cant access to the create_account.php

Link to comment
Share on other sites

the address is my local host, not on internet.

 

the problem is the link.

i changed the values on configure.php but it still didnt work.

when  i click on the "create an account", i cant access to the create_account.php

 

 

Have you got SSL on your local host ?

 

if not make enable SSL false

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

is there a problem with the link or with the php file ?

 

create_account.php ? 

 

https://localhostcreate_account.php/  ?  -> link doesnt work

i changed the link configuration on configure.php

 

https://localhost/create_account.php/ -> still doesnt work

i think, i cant access to .php files on "https" ?

 

 

You are trying to access the page with an SSL settign - if you do not have an installed SSL certificate on your local host - this will NOT work

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...