dreadspeed Posted October 22, 2008 Posted October 22, 2008 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 !
dreadspeed Posted October 25, 2008 Author Posted October 25, 2008 Problem solved, the proper setting under windows is c:/inetpub/wwwroot. Took some time to figure this on <_< e out !
Recommended Posts
Archived
This topic is now archived and is closed to further replies.