instal probs instal probs
 

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

instal probs

Started by blackcs, April 11, 2005, 04:54:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

blackcs

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


Nibbler

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

blackcs

hi sorry,

its php 5.04
mysql  4.1.11
coppermine 1.3.2

just checked and long arrays is set to on

regards

John_Gault

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+


kegobeer

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

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?

kegobeer

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:

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

The error message is not important, it's just the nuke install check.