Guest Posted January 7, 2005 Posted January 7, 2005 I'm sure I saw a post about this ages ago, but I couldn't find it, so sorry to ask if you've already answered this. My images will not display in admin, despite working on the main site perfectly well! Any ideas why? I have no idea why it started doing that.... :S
RyanSmith Posted January 7, 2005 Posted January 7, 2005 I'm sure I saw a post about this ages ago, but I couldn't find it, so sorry to ask if you've already answered this. My images will not display in admin, despite working on the main site perfectly well! Any ideas why? I have no idea why it started doing that.... :S <{POST_SNAPBACK}> I don't know what type of system your using, but I'm using a windows box. I found that to get the admin to be served out through the SSL server, I had to create a virtual directory that pointed to the images directory in catalog. That seemed to fix the problem quite nicely. osCommerce is a great piece of software with wonderful contributions. Spend some time in the contribution area. There are a lot of gems there.
Guest Posted January 13, 2005 Posted January 13, 2005 Erm, I'm not sure I follow..... I'm not using SSL anyway.... it worked, and then stopped working. I'm just not sure why!
Guest Posted January 13, 2005 Posted January 13, 2005 If I right click (in mozilla) and choose "view image" (where there is just a picture holder) I get: Not Found The requested URL /admin/images/IMKS-E0067.jpg was not found on this server. .... so somewhere its telling it to look in the wrong place for the images! anyone know which file?
Guest Posted January 13, 2005 Posted January 13, 2005 ok I got it .... the file: admin\includes\configure.php had the following: define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); and the following fixed it: define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . '../images/');
Guest Posted January 13, 2005 Posted January 13, 2005 Hi, You must be on ms1 because that code is not in ms2. I would suggest upgrading to ms2.2
Guest Posted January 17, 2005 Posted January 17, 2005 I'm already using MS2.2 (I downloaded and installed it about 3 weeks ago).
Guest Posted January 17, 2005 Posted January 17, 2005 yes I double checked, I unzipped and installed: oscommerce-2.2ms2.zip as downloaded from the main site... that code is there alright!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.