Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

catalog images


Recommended Posts



i installed oscommerce on my localhost(wamp server) no problem everything was looking good. i was helping a friend so i was doing

a test locally first, i have dyndns so i wanted to show what it looked like. i put it online--- when he went to the url

http://mydyndns:8080/afolder/www/catalog/ there were no images on the catalog page. when i look at it in my browser all the images are there.


i went to view the source code and the first image:

<img src="images/store_logo.png" border="0" alt="afolder" title=" afolder " width="227" height="50">


i follwed in my directory and the image is in the C:\wamp\www\afolder\www\catalog\images\store_logo.png


i am stumped why are the images not being served outside of my local wamp server??


i could not get the admin page outside either>





Link to comment
Share on other sites



i found this that in the catalog/includes/configure.php file.




define('HTTP_SERVER', 'http://localhost:8080');

define('HTTPS_SERVER', 'http://localhost:8080');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'localhost');

define('HTTPS_COOKIE_DOMAIN', 'localhost');

define('HTTP_COOKIE_PATH', '/mysite/catalog/');

define('HTTPS_COOKIE_PATH', '/mysite/catalog/');

define('DIR_WS_HTTP_CATALOG', '/mysite/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/mysite/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', 'C:/wamp/www/mysite/catalog/');

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



define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'user');

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'oscommerce');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');








the site is set to 'http://localhost:8080' and should be 'http://mysite'


i guess i would have to cahnge this for the images to show outside offline mode.






Link to comment
Share on other sites


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

  • Create New...