Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Set Document_root on IIS


dreadspeed

Recommended Posts

Posted

Hi,

 

I'm running OScommerce on a W2k3 server, PHP and MySQL installed and everything seems to be running smoothly.

There's just one issue with loading images on the admin site, and what I've found on the forums is that it is a $document_root issue.

Is there a way to configure $document_root on a system running IIS ?

When I change $document_root to c:\inetpub\wwwroot in (/admin/includes) configure.php I am unable to upload but all the other stuff works fine. When I manually add the image in the database it shows fine in the application (/catalog).

When I use $document_root I get errors like catalog/images/ doesn't exist.......

 

These are the options I use:

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

define('DIR_FS_DOCUMENT_ROOT', 'c:\inetpub\wwwroot');

 

ThX !

Archived

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

×
×
  • Create New...