coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: hj on December 08, 2005, 12:55:28 PM

Title: Error Message when going to index.php or login.php
Post by: hj on December 08, 2005, 12:55:28 PM
Hi

Once I have copied the files changed permissions on the directories and sub files and folders as specified. I go to install.php fill in all the details. It goes to the next screen with the following:


Coppermine is now properly configured and ready to roll.

Login using the information you provided for your admin account. Do not hit back, do not re-submit the installer form!

Your server supports the following image package(s): ImageMagick (im), GD Library version 1.x (gd1), GD Library version 2.x (gd2), the installer selected 'im'.


When I click on "Let's Continue!"
I get the following....


Warning: main(include/debugger.inc.php): failed to open stream: No such file or directory in /srv/www/htdocs/cpg142/include/init.inc.php on line 26

Fatal error: main(): Failed opening required 'include/debugger.inc.php' (include_path='/usr/share/php') in /srv/www/htdocs/cpg142/include/init.inc.php on line 26


if I change the init.inc.php file on line 26 from
require_once('include/debugger.inc.php');
to
require_once('./include/debugger.inc.php');

it goes on to the next error :


Fatal error: main(): Failed opening required 'include/config.inc.php' (include_path='/usr/share/php') in /srv/www/htdocs/cpg142/include/init.inc.php on line 151

adding ./ to line 151 as in line 26 it goes onto the next error.

If I change all the lines that give errors I get a blank screen.

Any ideas?

Regards
hj

Title: Re: Error Message when going to index.php or login.php
Post by: Nibbler on December 08, 2005, 09:28:38 PM
Get your include_path fixed, it should include the dot.
Title: Re: Error Message when going to index.php or login.php
Post by: hj on December 09, 2005, 08:19:27 AM
Hi

Thanks for putting me in the right direction.

Solution:

In the /etc/php.ini file
Change the line
include_path = "/usr/share/php"
to
include_path = ".:/usr/share/php"
(just adding the .:)

Thanks for the help.

Regards
hj
Title: Re: Error Message when going to index.php or login.php
Post by: Sean6m on February 07, 2006, 04:38:40 PM
Quote from: hj on December 09, 2005, 08:19:27 AM
Hi

Thanks for putting me in the right direction.

Solution:

In the /etc/php.ini file
Change the line
include_path = "/usr/share/php"
to
include_path = ".:/usr/share/php"
(just adding the .:)

Thanks for the help.

Regards
hj


Hi people so the include_path =

Is that in the init.inc.php file where I am looking to change. Sorry for the dumb question but I a newbie to php and coppermine.  ;)
Title: Re: Error Message when going to index.php or login.php
Post by: Nibbler on February 07, 2006, 04:40:18 PM
It's in the server's php.ini file, only the server admin can change that.
Title: Re: Error Message when going to index.php or login.php
Post by: jwdenzel on February 10, 2006, 02:12:16 AM
Very nice!    Just wanted to let you all know that I had the same problem.   Thank you for taking the time to post the solution.

FYI, I am using SUSE 10.0, Apache2, and coppermine 1.4.3

-J
Title: Re: Error Message when going to index.php or login.php
Post by: banjo on June 25, 2008, 02:39:52 PM
Hi Guys!
Can Help Me?

version 1.4.18

the error:
http://www.eternamultimidia.com.br/ban/

the info:
http://www.eternamultimidia.com.br/phpinfo.php

init.inc.php file:
in lines: 26; 155; 176; 213; 222 and 239 set include_path as default = require_once('include/*.php');

I cann´t access the file php.ini to edit;
what I do?

thanks,

Banjo
Title: Re: Error Message when going to index.php or login.php
Post by: Joachim Müller on June 25, 2008, 07:02:15 PM
Quote from: banjo on June 25, 2008, 02:39:52 PM
what I do?
First of all: don't hijack other's threads! Locking.