Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

http:// link


martin76

Recommended Posts

Posted

Hi all.

 

You all did me help ot with my errors on my site.

 

But i do have still a small error.

well for me a big one cuz i dont get rid off it..

 

 

the link on the site are

http://fb-shopping.eu/fb-shopping.eu/product_info.php

 

but it has to be

http://fb-shopping.eu/product_info.php

 

i did edit the configure

 

as discribed here

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

 

if i do this like this

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

 

no pictures and links are showing the graphics.

and the adres balk show only this http:///index.php/cPath/61

 

so the best why is to set it to define('HTTP_SERVER', 'fb-shopping.eu/'); but than the link is showing 2 times the domain name on it (http://fb-shopping.eu/fb-shopping.eu/product_info.php)

 

 

What to do next?

 

Please help me out with it on what PHP file i shall edit this?

 

thank you for your helpso far :)

Posted
Hi all.

 

You all did me help ot with my errors on my site.

 

But i do have still a small error.

well for me a big one cuz i dont get rid off it..

the link on the site are

http://fb-shopping.eu/fb-shopping.eu/product_info.php

 

but it has to be

http://fb-shopping.eu/product_info.php

 

i did edit the configure

 

as discribed here

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

 

if i do this like this

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

 

no pictures and links are showing the graphics.

and the adres balk show only this http:///index.php/cPath/61

 

so the best why is to set it to define('HTTP_SERVER', 'fb-shopping.eu/'); but than the link is showing 2 times the domain name on it (http://fb-shopping.eu/fb-shopping.eu/product_info.php)

What to do next?

 

Please help me out with it on what PHP file i shall edit this?

 

thank you for your helpso far :)

 

in your catalog\includes\configure.php page, I think first you need to change

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

to

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

 

and then you probably have that fb-shopping.eu somewhere else in the config that should be removed - maybe in the define('DIR_WS_HTTP_CATALOG', '/catalog/'); line?

Posted
in your catalog\includes\configure.php page, I think first you need to change

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

to

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

 

and then you probably have that fb-shopping.eu somewhere else in the config that should be removed - maybe in the define('DIR_WS_HTTP_CATALOG', '/catalog/'); line?

 

define('HTTP_SERVER', 'http://fb-shopping.eu/'); // 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', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '');

define('DIR_WS_HTTPS_CATALOG', 'catalog'); <---- it wasnt here

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

 

// define our database connection

define('DB_SERVER', 'db.fb-shopping.eu'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'XXXXXXXX'); <----is set correctly

define('DB_SERVER_PASSWORD', 'nXAEXuTN');

define('DB_DATABASE', 'XXXXXXXX');<----is set correctly

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

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

 

what els coult it be.

becouse it dint change anything.

 

thank you for your first reply :)

Archived

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

×
×
  • Create New...