Error Message when going to index.php or login.php Error Message when going to index.php or login.php
 

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]

Main Menu

Error Message when going to index.php or login.php

Started by hj, December 08, 2005, 12:55:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hj

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


Nibbler

Get your include_path fixed, it should include the dot.

hj

#2
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

Sean6m

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.  ;)

Nibbler

It's in the server's php.ini file, only the server admin can change that.

jwdenzel

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

banjo

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

Joachim Müller