Hello,
I intalled latest version of Coppermine gallery : here (http://www.valthorens.com/cpg135)
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
Oreo,
I believe this issue is the same as :
http://forum.coppermine-gallery.net/index.php?topic=21840.msg99820#msg99820
Dennis
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...?
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.
yeeeaaahhhhhhhh!!!!!
thanks you very much Nibbler.
it's perfect now
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
Please read the FAQ.
..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.