Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PATH_TRANSLATED is incorrect


WhyWait

Recommended Posts

Posted

Hi

 

I stuffed up on my install and am now trying to get it back into shape.

 

My last hurdle, or so I believe is that my PATH_TRANSLATED is incorrect.

It keeps coming up with "d:\inetpub\sites\www.vixenjewellery.co.za\web\shop\admin\server_info.php"

 

Where do set this variable to point to my web site and not my local hard drive?

 

Thanks in advance

 

Kevin

Posted

problem is in your includes/configure.php. Post it here, minus your databsae username/password info.

 

-jared

Posted

Hi

 

As you asked, here is the file. I have been playing with it to get the images and other stuff to work.

 

 

define('HTTP_SERVER', 'http://www.vixenjewellery.co.za'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.vixenjewellery.co.za/shop/');

define('HTTPS_CATALOG_SERVER', '');

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/shop/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

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

Posted

That look like your admin/includes/configure.php, not your includes/configure.php. Did you mix them up, or overwrite one of them with the other?

 

-jared

Posted

Hi

 

Yes it was. Here is the one you asked for.

 

// Define the webserver and path parameters

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

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

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

define('HTTPS_COOKIE_DOMAIN', '');

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

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/shop/');

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

 

Thanks

 

Kevin

Posted

it is possible that you have a configure.php file in your includes/local directory, if so delete it (both catalog and admin)

Posted
it is possible that you have a configure.php file in your includes/local directory, if so delete it (both catalog and admin)

 

Hi

 

There is no configure.php in either directory.

 

Thanks

 

Kevin

Archived

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

×
×
  • Create New...