coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: squash35 on September 06, 2006, 12:48:19 AM

Title: Login.php giving an error message
Post by: squash35 on September 06, 2006, 12:48:19 AM
Ok, I am brnad new to Coppermine, but have tried to do my due dilligence in searching for this in the other posts to no avail...here goes

Brand new install....first thing first, I am running WINDOWS XP Pro, not UNIX, not LINUX.  I am getting:

Warning: require_once(include/debugger.inc.php) [function.require-once]: failed to open stream: No such file or directory in C:\WebServer\Apache2\htdocs\rotcer\cpg148\include\init.inc.php on line 26

Fatal error: require_once() [function.require]: Failed opening required 'include/debugger.inc.php' (include_path='C:\WebServer\PHP') in C:\WebServer\Apache2\htdocs\rotcer\cpg148\include\init.inc.php on line 26

when loading the login.php page.  I successfully went through the install without incident.  Every post I can find says to add a .(dot) to you include, but My include path is not for UNIX (/usr/etc)....remember I am running WINDOWS XP Pro not UNIX.  My include path is standard UNC path. 

Please help!

Josh
Title: Re: Login.php giving an error message
Post by: Joachim Müller on September 06, 2006, 05:53:15 AM
1) Windows XP is not a server operating system. You shouldn't run your own webserver

2)
Quote from: squash35 on September 06, 2006, 12:48:19 AMMy include path is standard UNC path.
No, it is not. An UNC path would be \\foo\bar\bla\

3)
Quote from: squash35 on September 06, 2006, 12:48:19 AMEvery post I can find says to add a .(dot) to you include, but My include path is not for UNIX (/usr/etc)
The dot needs to be in the include_path in Windows as well. Just the separator differs between Lunix and Windows (in Lunix, it's colon, in Windows a semi-colon. Subsequently, your include path should read
Quote.;C:\WebServer\PHP
instead of
QuoteC:\WebServer\PHP

4) Did I already mention that we don't recommend self-hosting at all? Oh, seems I already have ;).