I am running a Win 2k Server using IIS. I have not had any problem running coppermine on my main site but i have a second site that i am having issues with. The two sites are split up by using host headers. When i try to get the photo gallery on the second site i get this message
"Warning: main(include/config.inc.php): failed to open stream: No such file or directory in C:\Inetpub\secondsite\photos\include\init.inc.php on line 135
Fatal error: main(): Failed opening required 'include/config.inc.php' (include_path='.;c:\php4\pear') in C:\Inetpub\secondsite\photos\include\init.inc.php on line 135"
I know php is working on the second site because a php guestbook works
did you successfully run the install script for the second site? Did you set file permissions for the include directory as suggested in the docs? There's no CHMOD on IIS, but there's an equivalent you have to use. Run the install file a second time: if it can be run, you haven't set up write access properly for the user the webserver account runs under.
GauGau
when i try to run the install script it says the paged can not be found. Something tells me it has to do with php and host headers not working together....i don't know
little we can do then: improper server setup imo...
GauGau
so there are no known problems with multiple sites in IIS? Thats basically what i am after, i spent most of the evening trying every possible solution including deleting the second site from iis and recreating it. I also moved it to a different port to see if it was the host headers and it still didn't work. Like i said before, everything works fine on the main site but doesn't work on the second site.
IIS does support multiple sites on one server, you'be only come to the wrong place to look for support on IIS. There are a lot of pages on the internet dealing with this - Google is your friend! ;)
GauGau
maybe i stated it wrong.
are there any known problems with iis and multiple sites and COPPERMINE
no