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: Fresh Install of 1.3.2 - no issues but...  (Read 4620 times)

0 Members and 1 Guest are viewing this topic.

adaytay

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Fresh Install of 1.3.2 - no issues but...
« on: October 13, 2004, 01:40:54 pm »

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:

Quote
Notice: 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
« Last Edit: October 14, 2004, 04:30:15 am by GauGau »
Logged

Nibbler

  • Guest
Re: Fresh Install of 1.3.2 - no issues but...
« Reply #1 on: October 13, 2004, 02:03:42 pm »

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

adaytay

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Fresh Install of 1.3.2 - no issues but...
« Reply #2 on: October 13, 2004, 02:15:42 pm »

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
Logged

Nibbler

  • Guest
Re: Fresh Install of 1.3.2 - no issues but...
« Reply #3 on: October 13, 2004, 02:21:07 pm »

OK, open your index.php and remove this block

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
Logged

adaytay

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Fresh Install of 1.3.2 - no issues but...
« Reply #4 on: October 13, 2004, 02:21:15 pm »

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
Logged

adaytay

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Fresh Install of 1.3.2 - no issues but...
« Reply #5 on: October 13, 2004, 11:13:31 pm »

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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Fresh Install of 1.3.2 - no issues but...
« Reply #6 on: October 13, 2004, 11:22:46 pm »

Please post in another thread. It makes it easier to track issues, as we can now mark this thread as Solved.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.