Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Site standing but Links dont work


Cem

Recommended Posts

Hi

I installed the site on a win2kserver and its there.

nice first page.

Its all at mall.cedora.net

 

I think I have some code-error in

configure.php also under admin

 

normal configure.php

  define('HTTP_SERVER', ''); // 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', 'mall.cedora.net/');

 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', 'D:/WWW/mallcedora/');

 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

and here is the configure.php for the admin

 

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

 define('HTTP_CATALOG_SERVER', '://');

 define('HTTPS_CATALOG_SERVER', '');

 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

 define('DIR_FS_DOCUMENT_ROOT', 'D:/WWW/mallcedora/'); // where the pages are located on the server

 define('DIR_WS_ADMIN', ''); // absolute path required

 define('DIR_FS_ADMIN', '/cmyk/'); // absolute pate required

 define('DIR_WS_CATALOG', ''); // absolute path required

 define('DIR_FS_CATALOG', ''); // 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/');

 

Can anybody help ?

 

/Cem

Finland

Link to comment
Share on other sites

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

 define('HTTP_COOKIE_DOMAIN', 'mall.cedora.net');

 define('HTTP_COOKIE_PATH', '/');

 define('DIR_WS_HTTP_CATALOG', '/');

 define('DIR_FS_CATALOG', 'D:/WWW/mallcedora');

Link to comment
Share on other sites

I cant see the images if I do this line as you said.

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

 

I have to leave it this way empty:

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

 

My truoble is if I click on create an account I get this link

http://mall.cedora.net/mall.cedora.net/cre...ate_account.php

I have 2 times mall.cedora.net

 

??

 

Regards

Cem

Link to comment
Share on other sites

Yes, the reason that you are getting that is that you have mall.cedora.net as your DIR_WS_CATALOG. The code that I posted is correct. If images do not work with it, then we should find out what is broken there and fix it, rather than relying on other broken settings.

 

It would be helpful to know which images are broken (i.e. how I can get to broken images).

 

Hth,

Matt

Link to comment
Share on other sites

So far I got it running

thx for Your help

 

I needed just your words

.....what is broken there and fix it, rather than relying on other broken settings.  

 

Regards

Cem

Link to comment
Share on other sites

Thanks Matt

 

I am still playing arround and it will be a playground for me.

Try to find out how to include regional salesoffice which should handle the order. Regional salesoffices have their own stock and should deliver the order taking products from other regional salesoffices. That means that each product has to have a parameter for the stockplace. The customer gets a bill from their standard reseller and salesofices can bill to each other.

 

How it's sounds.

 

Keep on smiling..

 

Regards

Cem

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...