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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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