multiple site problem multiple site problem
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

multiple site problem

Started by Rental Metard, June 06, 2004, 11:56:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rental Metard

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

Joachim Müller

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

Rental Metard

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

Joachim Müller

little we can do then: improper server setup imo...

GauGau

Rental Metard

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.

Joachim Müller

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

Rental Metard

maybe i stated it wrong.

are there any known problems with iis and multiple sites and COPPERMINE

Joachim Müller