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: Re: "Fatal Error" on index/login page -- Help?  (Read 3409 times)

0 Members and 1 Guest are viewing this topic.

AnnaYoung

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: "Fatal Error" on index/login page -- Help?
« on: September 02, 2006, 03:21:53 am »

I don't know if I'm allowed to "tag along" on this trhead, but I got a similar error message after a successful install

Fatal error: main() [function.require]: Failed opening required '../../cpg148/include/include/debugger.inc.php' (include_path='.:/usr/local/lib/php') in /homepages/16/d90858583/htdocs/Gallery/include/init.inc.php on line 26

I tried re-installing coppermine a few times (deleted the install.lock file and/or edited the include/config.inc.php) I either got an "already exists" error (which did NOT let me install cpg successfully) or I'd be successfull, click 'let's continue' and I'd get this error.

Could it be becase my coppermine folder on my server and local (my computer) is names "Gallery"?  I tried changing that in the include/config.inc.php file with no luck.  Myabe I just did it wrong?  Help is greatly appreciated.

--Anna

www.zimmermanzinger.com/gallery/admin or www.zimmermanzinger.com/gallery/login
« Last Edit: September 03, 2006, 09:32:29 am by GauGau »
Logged

Nibbler

  • Guest
Re: "Fatal Error" on index/login page -- Help?
« Reply #1 on: September 02, 2006, 03:28:26 am »

I think you have a different issue. Please post line 26 of include/init.inc.php here.

Also since this is fresh install it would be a good idea to start with the latest stable version, 1.4.9
Logged

AnnaYoung

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: "Fatal Error" on index/login page -- Help?
« Reply #2 on: September 03, 2006, 03:51:52 am »

This is what line 26 says:

require_once('../../cpg148/include/include/debugger.inc.php');

(just in case I accidentally gave you the wrong line or something, here's line 1-31. . I don't know, for context or something : )

<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2006 Coppermine Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  ********************************************
  Coppermine version: 1.4.8
  $Source$
  $Revision: 3116 $
  $Author: gaugau $
  $Date: 2006-06-08 00:11:54 +0200 (Do, 08 Jun 2006) $
**********************************************/

define('COPPERMINE_VERSION', '1.4.8');
define('COPPERMINE_VERSION_STATUS', 'stable');

if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}

// Store all reported errors in the $cpgdebugger
require_once('../../cpg148/include/include/debugger.inc.php');

set_magic_quotes_runtime(0);
// used for timing purpose
$query_stats = array();
$queries = array();

After my very first installation and I got the error, I tried a re-install, same error, then I tried turning my debugger value to 1 in PHPMyAdmin, re-installed, and still the same error (I didn't know how to read the debug error report or anything)

Thanks for helping me.

--Anna
Logged

AnnaYoung

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: "Fatal Error" on index/login page -- Help?
« Reply #3 on: September 03, 2006, 05:19:30 am »

Hi!

I downloaded the 1.4.9 version and, after deleting 148 from my server, uploaded 149, ran the install and it worked!  :D So, maybe it was just a bug or something that you guys patched with the .9 version.

Thanks for the advice!  Hopefully you won't have to hear from me again! :)

--Anna
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: "Fatal Error" on index/login page -- Help?
« Reply #4 on: September 03, 2006, 06:51:58 am »

That was not bug !
Quote
require_once('../../cpg148/include/include/debugger.inc.php');
this is not the orginal code ! (we don't have hard coded path under standard file) that should be :
Code: [Select]
require_once('include/debugger.inc.php');
probably you've edited the init.inc.php
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 15 queries.