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,
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 ?
I have run the tests for mysql...but nothing more than that. I have php5.0.4 installed
Have you searched the forums yet? There are many posts that talk about a blank install page, like this one. (http://forum.coppermine-gallery.net/index.php?topic=13517.msg62228;topicseen#msg62228)
I have this same problem..... Have you resolved your problem?
Please let me know
Simon
Simon, have you searched the forums or tried the link I provided? Have you tried those possible solutions?
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.
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
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.
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
In your php.ini you probably have
display_errors = On
Turn it off.