Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Windows server 2003 IIS Installation


4x4dude

Recommended Posts

Posted

I need Help I have windows Sever 2003 with IIS and im try to install OSCommerce to it. I can't get any thing to work right I need some help my some good Ponters on how to go about doing this so i can get the web page up.

 

Thank you

lewis

Posted

do u own the server and is it in house or on a web host somewhere?

 

usually it is because of incorrect version of php (php5) php 4.3.11 is the one to use.

Posted

I own the server it is in house.

 

where can i get a good version of php (php5) php 4.3.11

  • 2 weeks later...
Posted

Warning Warning: I am able to write to the configuration file: <some path that i prefer to hide>\wwwroot\zone/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

Warning Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

 

I have a warning like above. why should i do ? and also i already create tmp folder. but i still get the error msg. I wondering why is has slash (/) and back slash (\) ?

 

Currently use :

Windows 2003 IIS6

MySQL 4.0.20a-debug

PHP Version 4.3.11

Posted
Warning Warning: I am able to write to the configuration file: <some path that i prefer to hide>\wwwroot\zone/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

Warning Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

 

I have a warning like above. why should i do ? and also i already create tmp folder. but i still get the error msg. I wondering why is has slash (/) and back slash (\) ?

 

Currently use :

Windows 2003 IIS6

MySQL 4.0.20a-debug

PHP Version 4.3.11

 

It has been my experience that installing and using osC on a Windows platform can be sketchy. Basically I came across the same issue as you did, and tried the following:

 

1) removed inherited permissions from configure.php

2) made sure to remove write permissions for any and all users in the Security tab for the properties of the configure.php file

3) explicitly denied write access for "Users"

4) went back through and explicitly denied write permissions for *all* users

 

 

All of this to no avail, that particular warning message persisted.

 

Ultimately what I ended up doing was to going into the includes directory of the root for the osC site, opened up "application_top.php", and at the very bottom adjusted the part where certain checks which throw the warnings in question are located.

 

What you will look for is:

 

"define('WARN_CONFIG_WRITEABLE', 'true');"

 

You want to change this to :

 

"define('WARN_CONFIG_WRITEABLE', 'false');"

 

Save the file and the error should be gone.

 

Another thing that will save you some sanity is that you should strongly consider unchecking/disabling "Cache ISAPI Applications" for your osC site.

 

Like I said, running osC on Windows has it's moments...so far the CVS install of MS3 is even more depressing.

 

Hope this helps.

Archived

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

×
×
  • Create New...