HELP...can't get past install.php... HELP...can't get past install.php...
 

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

HELP...can't get past install.php...

Started by aznmaverick, April 05, 2005, 12:03:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aznmaverick

First of all i get these two error messages on top of the install form of install.php...
Notice: Undefined index: PATH_TRANSLATED in c:\Inetpub\wwwroot\image\install.php on line 21

Notice: Undefined offset: -1 in c:\Inetpub\wwwroot\image\install.php on line 22

Next, i have installed MySQL4.0 Imagemagick and am using it with IIS on win2k. I can get to the install.php form. i enter all my info, but when i submit the form...the next page is just a page with the coppemine logo on it with the two errors i noted above.

I have followed the directions of setting up mysql, i've set passwords and tested the mysql server, it seems to be okay. i am out of ideas, please help me

Thanks,

Nibbler

Have you verified that mysql is working properly - have you installed any other script that uses mysql to test ?

and what version of php are you using ?

aznmaverick

I have run the tests for mysql...but nothing more than that. I have php5.0.4 installed

kegobeer

Have you searched the forums yet?  There are many posts that talk about a blank install page, like this one.
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

nommiiss

I have this same problem..... Have you resolved your problem?

Please let me know

Simon

kegobeer

Simon, have you searched the forums or tried the link I provided?  Have you tried those possible solutions?
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

nommiiss

Yeah i fixed this problem

I took out the top lines of code that check for errors.

I think it might have somthing todo with IIS running PHP.

I will post the fix tonight when i get home to help  people that are having the same problem. :o

Simon Brownridge.

nommiiss

I remarked thease lines of code in index.ini

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


Hope this helps everyone.

Regards Simon

kotun

Hi,

I am testing on localhost (including to develop new static pages before transfering to a shared server) - using windows XP Pro, IIS 5.1, PHP 5.0.4, MySQL 4.1.12 and Coppermine 1.3.3

I have tried and tested the following as suggested on the forum:
1) register_long_arrays = On
2) switching to a lower PHP4.x
3) change all occurance of HTTP_POST_VARS to _POST
4) use http://computername/coppermine/install.php instead of http://localhost/coppermine/install.php
5) setting cookies

My problem is that I keep getting the following line that is causing me not to install Coppermine.

Notice: Undefined index: PATH_TRANSLATED in C:\inetpub\wwwroot\New_Folder\mytshungtsin\install.php on line 21

Notice: Undefined offset: -1 in C:\inetpub\wwwroot\New_Folder\mytshungtsin\install.php on line 22

and that causes me to not be able to see anything but the lines above and a coppermine logo that have texts saving that my installation wasn't performed or signing in the first time and then redirect me to install.php.

For your information, I am using movabletype for testing also in my localhost and it works fine...and that I am dialing up to the Internet and I have not have the chance to download phpmyadmin to give you guys some more clues.

I do hope someone out there can help as I am really not sure what to do next.


Nibbler

You can safely cut that code out of install.php

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


or disable/reduce error reporting in your php.ini

kegobeer

In your php.ini you probably have

display_errors = On

Turn it off.
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