Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

images upload to my admin dir?


Guest

Recommended Posts

Posted

Hi there

 

ok ive looked at all teh posts on images and the drama people have :) but its 3am and i cant find anything or fathom it out i know its going to be something simple but here goes.

 

i had the site working fine locally then i uploaded it all to my web hosting then came a few tweaks here n there and wallah all works fine, my only probelme is that when i upload an image for a catagory or product it uploads to my admin dir, which then means it shows up fine when im in admin but doesnt show when im in the shop :) i moved my admin to visitadmin dir now when i hit properties om an image i get

 

http://www.canadiankoalamusic.com/[color=r...gories_bass.jpg

 

as apposed to

 

http://localhost/basestore/images/catagories_bass.jpg

 

when run locally, so all i need to know is how to get rid of the visitadmin in red :)

 

thansk in advance for any help, seeya, bedtime for this little black duck

Posted

btw here is my admin configure.php

 

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

define('HTTP_CATALOG_SERVER', 'http://www.canadiankoalamusic.com/');

define('HTTPS_CATALOG_SERVER', 'https://localhost');

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

define('DIR_FS_DOCUMENT_ROOT', '/home/koala/canadiankoalamusic-www/'); // where the pages are located on the server

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

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

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

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

 

just incase it helps, thanks

 

regards

Warren

Archived

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

×
×
  • Create New...