Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

installation problem


pinbrook

Recommended Posts

I have my test site at www.pinbrookdesigns.com

 

i've changed abit of the design, but I can not cure the problem I have when going from page to page, I lose my css file and images.

 

Having looked in the forums for help I can't see any errors in the config.php file

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.pinbrookdesigns.com'); // 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', 'www.pinbrookdesigns.com');

define('HTTPS_COOKIE_DOMAIN', '');

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/sites/www.pinbrookdesigns.com/web/');

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

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

 

// define our database connection

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

define('DB_SERVER_USERNAME', 'xxx');

define('DB_SERVER_PASSWORD', 'xxx');

define('DB_DATABASE', 'xxx');

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

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

?>

 

 

Thanks in advance for any help

Link to comment
Share on other sites

I believe the following is incorrect:

 

define('DIR_FS_CATALOG', '/home/sites/www.pinbrookdesigns.com/web/');

 

Matti

Link to comment
Share on other sites

that may well have done it, I replaced the line with

 

 

define('DIR_FS_CATALOG', '/home/sites/site1/web/');

 

all seems ok ay now

 

A Huge Thank You......

Link to comment
Share on other sites

Well, the above sort of fixed it. I still have problems.

 

What is the difference between /web/oscadmin/includes/configure.php and /web/includes/configure.php

 

 

When I said I had fixed the problem with losing pathnames I made the change to /web/includes/configure.php

 

as I have been working today, I also have changed /web/oscadmin/includes/configure.php

 

ie /home/sites/www.pinbrookdesigns.com/web/ was changed to /home/sites/site1/web/ it seems that Raq4s allow you to interchange the 2.

 

but now I seem to have lost my modules ie shipping, payment etc. I look on the server and the php files are there in

/home/sites/site1/web/includes/modules/payment/

 

but if I click on install within the admin panel nothing happens

Link to comment
Share on other sites

In the hope that I am not talking to myself, I have now discovered that the pages where I lose my images and stylesheet have

 

<base href=""> in the source code

 

if I do "back" from the page the next page displays ok and has a complete

 

<base href="http://www.pinbrookdesigns.com/">

 

Anyone hazard a guess as to how/why this happens?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...