zpupster Posted July 13, 2010 Share Posted July 13, 2010 hello, 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> thanks, zpupster Link to comment Share on other sites More sharing options...
zpupster Posted July 13, 2010 Author Share Posted July 13, 2010 well i could not figure it out, so reinstalled, still i can not see the images in the http://myserver:8080/mysite/catalog/. i made sure that the folder gave full control over images folder. the path is correct. thanks, zpupster Link to comment Share on other sites More sharing options...
zpupster Posted July 13, 2010 Author Share Posted July 13, 2010 hello, i found this that in the catalog/includes/configure.php file. <?php 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('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); 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. thanks. zpupster Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.