coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: blackcs on April 11, 2005, 04:54:55 PM

Title: instal probs
Post by: blackcs 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

Title: Re: instal probs
Post by: Nibbler 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
Title: Re: instal probs
Post by: blackcs 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
Title: Re: instal probs
Post by: John_Gault 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+

Title: Re: instal probs
Post by: kegobeer on April 12, 2005, 03:29:49 AM
http://www.experts-exchange.com/Web/Web_Languages/PHP/PHP_Windows/Q_20591770.html

Good info about various server variables.
Title: Re: instal probs
Post by: John_Gault 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?
Title: Re: instal probs
Post by: kegobeer 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:

<?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.
Title: Re: instal probs
Post by: Nibbler on April 13, 2005, 02:29:23 PM
The error message is not important, it's just the nuke install check.