coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Rental Metard on June 06, 2004, 11:56:52 PM

Title: multiple site problem
Post by: Rental Metard on June 06, 2004, 11:56:52 PM
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
Title: Re: multiple site problem
Post by: Joachim Müller on June 07, 2004, 12:08:33 AM
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
Title: Re: multiple site problem
Post by: Rental Metard on June 07, 2004, 12:35:15 AM
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
Title: Re: multiple site problem
Post by: Joachim Müller on June 07, 2004, 01:03:24 AM
little we can do then: improper server setup imo...

GauGau
Title: Re: multiple site problem
Post by: Rental Metard on June 07, 2004, 03:17:56 AM
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.
Title: Re: multiple site problem
Post by: Joachim Müller on June 07, 2004, 09:03:48 AM
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
Title: Re: multiple site problem
Post by: Rental Metard on June 07, 2004, 01:19:33 PM
maybe i stated it wrong.

are there any known problems with iis and multiple sites and COPPERMINE
Title: Re: multiple site problem
Post by: Joachim Müller on June 07, 2004, 05:39:04 PM
no