Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Fatal Error: Cannot find init.inc.php  (Read 17364 times)

0 Members and 1 Guest are viewing this topic.

sackbut

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
[Solved]: Fatal Error: Cannot find init.inc.php
« 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 !!
« Last Edit: November 24, 2009, 10:55:35 pm by Phill Luckhurst »
Logged

sackbut

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Fatal Error: Cannot find init.inc.php
« Reply #1 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
Logged

sackbut

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Fatal Error: Cannot find init.inc.php
« Reply #2 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 !!
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Fatal Error: Cannot find init.inc.php
« Reply #3 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

sackbut

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: [Solved]: Fatal Error: Cannot find init.inc.php
« Reply #4 on: November 24, 2009, 11:32:59 pm »

Thanks Phil.

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

KT
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.