coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: sackbut on November 24, 2009, 09:58:58 PM

Title: [Solved]: Fatal Error: Cannot find init.inc.php
Post by: sackbut on November 24, 2009, 09:58:58 PM
Using Win7 with IIS7, Apache 2.2.4 , MySQL 5.1.33, PHP 5.2.11, Coppermine 1.4.25

Apache and mySQL and PHP all work OK - e.g. am running Joomla 1.5.15 without any problems

Coppermine installed OK. Made its' database in mySQL etc.. but when I try to start it get the following messages:

----------------
Warning: require_once(include/debugger.inc.php) [function.require-once]: failed to open stream: No such file or directory in C:\ApacheRoot\cpg\include\init.inc.php on line 26
----------------
Fatal error: require_once() [function.require]: Failed opening required 'include/debugger.inc.php' (include_path='c:\PHP_Apache\pear') in C:\ApacheRoot\cpg\include\init.inc.php on line 26
----------------

The folder and the file mentioned are both present. The folder is read/writeable - the installer wrote config.inc.php into it.

HELP !!
Title: Re: Fatal Error: Cannot find init.inc.php
Post by: sackbut on November 24, 2009, 10:09:09 PM
Not a reply - an addition. Cannot find any way of editing the original.

The file it's looking for line 26 of init.inc.php is debugger.inc.php. That file is alos present in the referenced directory

KT
Title: Re: Fatal Error: Cannot find init.inc.php
Post by: sackbut on November 24, 2009, 10:51:06 PM
OK - I found out the problem - the php include path in php.ini was not set correctly
duh !!
Title: Re: Fatal Error: Cannot find init.inc.php
Post by: phill104 on November 24, 2009, 10:55:18 PM
Thanks for resolving your thread. I'll mark it as solved for you but we would prefer it if userd did this themselves by pressing the little tick in the top right of their post.
Title: Re: [Solved]: Fatal Error: Cannot find init.inc.php
Post by: sackbut on November 24, 2009, 11:32:59 PM
Thanks Phil.

I understand now about marking the thread as Solved. Will do next time

KT