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: Error Message when going to index.php or login.php  (Read 9564 times)

0 Members and 1 Guest are viewing this topic.

hj

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Error Message when going to index.php or login.php
« 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

« Last Edit: December 09, 2005, 09:28:57 am by GauGau »
Logged

Nibbler

  • Guest
Re: Error Message when going to index.php or login.php
« Reply #1 on: December 08, 2005, 09:28:38 pm »

Get your include_path fixed, it should include the dot.
Logged

hj

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Error Message when going to index.php or login.php
« Reply #2 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
« Last Edit: December 09, 2005, 09:28:36 am by GauGau »
Logged

Sean6m

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Error Message when going to index.php or login.php
« Reply #3 on: February 07, 2006, 04:38:40 pm »

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

Nibbler

  • Guest
Re: Error Message when going to index.php or login.php
« Reply #4 on: February 07, 2006, 04:40:18 pm »

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

jwdenzel

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Error Message when going to index.php or login.php
« Reply #5 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
Logged

banjo

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Error Message when going to index.php or login.php
« Reply #6 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error Message when going to index.php or login.php
« Reply #7 on: June 25, 2008, 07:02:15 pm »

what I do?
First of all: don't hijack other's threads! Locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.