Install Error Install Error
 

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

Install Error

Started by oreo, September 29, 2005, 10:18:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

oreo

Hello,
I intalled latest version of Coppermine gallery : here
and there are some errors -->
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

artistsinhawaii

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

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...?

Nibbler

You can remove some code from the index.php file

// 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.

oreo

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

oreo

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

Nibbler


Joachim Müller

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