Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Image Path


ineedfootwear

Recommended Posts

Posted

How would I go about changing my image path. Whenever someone goes to my site, almost all the images just show up as red X's.

 

At this time all the images are saved like this:

ineedfootwear.hostwq.net/images/someimage.jpg

 

How would I change the path to make it like this:

ineedfootwear.com/images/someimage.jpg

 

I think it involves changing the 'configure.php'.

 

Any help will be gratly appreciated. :D

Posted

You are correct it is your configure.php files. If you need help sorting them post the file but do NOT post the Database information at the bottom of the file. It is private and not needed to sort it out.

 

Make a backup before you make any changes.

Posted

Could you let me know what needs to be changed and replaced with what?

 

<?php

define('HTTP_SERVER', 'http://ineedfootwear.hostwq.net');

define('HTTPS_SERVER', 'http://ineedfootwear.hostwq.net');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'ineedfootwear.hostwq.net');

define('HTTPS_COOKIE_DOMAIN', 'ineedfootwear.hostwq.net');

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/vol2/hostwq.net/hq_1737986/htdocs/');

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

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

 

 

Thanks!

Posted

Your images seem to work fine to me.

 

Presuming you don't want the site accessed through the usual www. You don't have SSL atm so I left it blank.

 

<?php

define('HTTP_SERVER', 'http://ineedfootwear.com');

define('HTTPS_SERVER', '');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'ineedfootwear.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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

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

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

Archived

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

×
×
  • Create New...