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: Install Error  (Read 4800 times)

0 Members and 1 Guest are viewing this topic.

oreo

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Install Error
« on: September 29, 2005, 10:18:55 am »

Hello,
I intalled latest version of Coppermine gallery : here
and there are some errors -->
Code: [Select]
Notice: Undefined index: PATH_TRANSLATED in D:\Net-Advanced\na0041-1\cpg135\index.php on line 21

Notice: Undefined offset: -1 in D:\Net-Advanced\na0041-1\cpg135\index.php on line 22

Warning: Cannot modify header information - headers already sent by (output started at D:\Net-Advanced\na0041-1\cpg135\index.php:21) in D:\Net-Advanced\na0041-1\cpg135\themes\classic\theme.php on line 810

Warning: Cannot modify header information - headers already sent by (output started at D:\Net-Advanced\na0041-1\cpg135\index.php:21) in D:\Net-Advanced\na0041-1\cpg135\themes\classic\theme.php on line 811

Warning: Cannot modify header information - headers already sent by (output started at D:\Net-Advanced\na0041-1\cpg135\index.php:21) in D:\Net-Advanced\na0041-1\cpg135\include\functions.inc.php on line 51

Do you what is the problem?
Thanks you
« Last Edit: September 30, 2005, 08:30:40 am by GauGau »
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Install Error
« Reply #1 on: September 29, 2005, 10:52:17 am »

Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

oreo

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Install Error
« Reply #2 on: September 29, 2005, 04:23:16 pm »

thanks you
I send a private message to Nibbler 'cause I don't understand when he says : "You can safely ignore the error messages."
How can ignore the error if it appears each time I'm connecting on my gallery...?
Logged

Nibbler

  • Guest
Re: Install Error
« Reply #3 on: September 29, 2005, 05:50:17 pm »

You can remove some code from the index.php file

Code: [Select]
// Check if standalone is installed in a portal like phpNuke (added by DJMaze)
$DIR=preg_split("/[\/\\\]/",dirname($_SERVER['PATH_TRANSLATED']));
if ($DIR[count($DIR)-2] == "modules") {
    echo "<html><body><h1>ERROR</h1>You installed the standalone Coppermine into your Nuke portal.<br>".
         "Please download and install a CPG Port: <a href=\"http://sourceforge.net/project/showfiles.php?group_id=89658\">CPG for PostNuke OR CPG for PHPnuke</a></body></html>";
    die();
} // end check

That will remove the error.
Logged

oreo

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Install Error
« Reply #4 on: September 29, 2005, 05:55:18 pm »

yeeeaaahhhhhhhh!!!!!
thanks you very much Nibbler.
it's perfect now
Logged

oreo

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Install Error
« Reply #5 on: September 29, 2005, 07:58:49 pm »

excuse me...last question : is it possible to configure access (all photo, all size, everything...) only for register?
So if not register, link to the login page automaticly
thanks 4 all
Logged

Nibbler

  • Guest
Re: Install Error
« Reply #6 on: September 29, 2005, 08:41:18 pm »

Please read the FAQ.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Install Error
« Reply #7 on: September 30, 2005, 08:30:21 am »

..and respect the "one question per thread" policy you agreed to when signing up. PMing devs is not an option either, you're suppossed to post, not PM. Locking this thread now.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.