Fresh Install of 1.3.2 - no issues but... Fresh Install of 1.3.2 - no issues but...
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Fresh Install of 1.3.2 - no issues but...

Started by adaytay, October 13, 2004, 01:40:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

adaytay

Hi everyone - firstly thanks to the team for producing such a great bit of software!!

I'm working on a site for a client and have Coppermine for the first time ever.

Now knowing me I've prolly missed something, but I followed the instructions to the letter, amending the permissions to the relevant folders once everything was uploaded.

I've also made the necessary alterations to the bridge file cpg works with the forum on the site.

No issues - worked flawlessly - great stuff even for a n00b like me.

The issue I'm currently facing is...  Well, I'll paste the error messages that appear at the top of most pages:

QuoteNotice: Undefined index: PATH_TRANSLATED in D:\Clients\9903\gallery\index.php on line 21

Notice: Undefined offset: -1 in D:\Clients\9903\gallery\index.php on line 22

Warning: Cannot modify header information - headers already sent by (output started at D:\Clients\9903\gallery\index.php:21) in D:\Clients\9903\gallery\themes\project_vii\theme.php on line 833

Warning: Cannot modify header information - headers already sent by (output started at D:\Clients\9903\gallery\index.php:21) in D:\Clients\9903\gallery\include\functions.inc.php on line 51

Any ideas?  I'm not overly familiar with php (but learning FAST) - would appreciate any input.  What could be causing these errors to appear?

Many thanks in advance, and greetings from the UK,

Ad

Nibbler

Just disable notices in debug mode, or disable debug mode completely, it is nothing to worry about.

adaytay

Hi - thanks for the response.  I followed your suggestions (Misc Settings - changed "Enable debug mode" to No, and changed "Display debug notices" to No.

The error messages still occur on the front page however.

Cheers,

Ad

Nibbler

OK, open your index.php and remove this block

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

adaytay

Thanks I'll do that once I get back home tonight - in around 6 hours.

I'll post back into this thread on the outcome!

Thank you,

Ad

adaytay

Hi,

That hit the mark - thank you so much.  I now appear to have another issue regarding not being able to upload files to the album.  Can I post in this thread or should I start another one for that?  I have more errors...

Many thanks,

Ad

Tranz

Please post in another thread. It makes it easier to track issues, as we can now mark this thread as Solved.