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: instal probs  (Read 4432 times)

0 Members and 1 Guest are viewing this topic.

blackcs

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
instal probs
« on: April 11, 2005, 04:54:55 pm »

Hi,

Just setup coppermine(well i think i have)
installe latest evrsion form site. along with latest php and mysql.
all seems to be ok.

goto to install.php and get the following error above all the setup info

Notice: Undefined index: PATH_TRANSLATED in D:\www\bart\coppermine\install.php on line 21

Notice: Undefined offset: -1 in D:\www\bart\coppermine\install.php on line 22


still filled out all the info and hit lets go then get the same info above just the coppermine logo.
Anybody know what i am doing wrong.

thanks in advance

Logged

Nibbler

  • Guest
Re: instal probs
« Reply #1 on: April 11, 2005, 05:01:47 pm »

Specific version numbers are helpful. If you are using php5 then you need to enable long arrays in your php.ini
Logged

blackcs

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: instal probs
« Reply #2 on: April 11, 2005, 05:03:43 pm »

hi sorry,

its php 5.04
mysql  4.1.11
coppermine 1.3.2

just checked and long arrays is set to on

regards
Logged

John_Gault

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: instal probs
« Reply #3 on: April 12, 2005, 03:17:20 am »

Having the same trouble:
Notice: Undefined index: PATH_TRANSLATED in \coppermine\install.php on line 21

Notice: Undefined offset: -1 in \coppermine\install.php on line 22

Installed Standalone Coppermine 1.3.2 and then tried 1.3.1 with the same results each.

Apache2.0, PHP 5+

Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: instal probs
« Reply #4 on: April 12, 2005, 03:29:49 am »

Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

John_Gault

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: instal probs
« Reply #5 on: April 13, 2005, 03:13:53 am »

I feel you. I should become an expert at PHP and Apache configurations, and likely an expert with SQL first and then I can run simple programs like Coppermine. Thanks for the help?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: instal probs
« Reply #6 on: April 13, 2005, 04:04:30 am »

That link explains different ways to get the server variables that are available to you.  If PATH_TRANSLATED isn't available, that would explain why you get that error.

Just like this simple script:

Code: [Select]
<?php
echo $_SERVER['PATH_TRANSLATED'];
?>

Make a php file, put that code in it, and execute it. Do you get anything?  If not, comment out lines 21-26 in install.php and try again.  If you do, comment out those lines anyway and try again.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Nibbler

  • Guest
Re: instal probs
« Reply #7 on: April 13, 2005, 02:29:23 pm »

The error message is not important, it's just the nuke install check.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.