Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images not displaying in admin section?


Guest

Recommended Posts

Posted

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

Posted
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

 

 

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.

Posted

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!

Posted

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?

Posted

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/');

Posted

Hi,

 

You must be on ms1 because that code is not in ms2.

 

I would suggest upgrading to ms2.2

Posted

I'm already using MS2.2 (I downloaded and installed it about 3 weeks ago).

Posted

yes I double checked, I unzipped and installed: oscommerce-2.2ms2.zip as downloaded from the main site... that code is there alright!

Archived

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

×
×
  • Create New...