coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: crazypilot3 on June 14, 2005, 07:19:03 AM

Title: HELP! Loads of Errors!
Post by: crazypilot3 on June 14, 2005, 07:19:03 AM
Basically I am running Win XP PRO on IIS 5.0 server. Also have PHP 5 and MySQL 4.3. I downloaded coppermine version 1.3 and unzipped it, placed in "Inetpub/wwwroot/mysite/PhotoGallery/". I read the instructions to CHMOD two folders i believe. I had no clue what to do so I went into my IIS control and right clicked those two folders and checked Write, and click apply. I thought everything was going good until I went to localhost/mysite/PhotoGallery and got this error:


Notice: Undefined index: PATH_TRANSLATED in c:\Inetpub\wwwroot\FamilyCentral\PhotoGallery\index.php on line 21

Notice: Undefined offset: -1 in c:\Inetpub\wwwroot\FamilyCentral\PhotoGallery\index.php on line 22

Coppermine Photo Gallery seems not to be installed correctly, or you're running coppermine for the first time. You'll be redirected to the installer. If your browser doesn't support redirect, click here.



hmm ok ... then it transferred me to the installation page. I can see the installation setup, but above it there are more errors:

Notice: Undefined index: PATH_TRANSLATED in c:\Inetpub\wwwroot\FamilyCentral\PhotoGallery\install.php on line 21

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



I havent edited anything yet so I dont know what to do. I plan to integrate this with phpbb. Please help me!

Thankyou

Anthony
Title: Re: HELP! Loads of Errors!
Post by: Abbas Ali on June 14, 2005, 08:00:43 AM
These are not errors, just notices. Proceed with installation, fill all the required parameters in respective fields and report the results here.
Title: Re: HELP! Loads of Errors!
Post by: Joachim Müller on June 14, 2005, 09:17:24 AM
permissions: http://coppermine.sourceforge.net/tutorial/permissions/iis.php

Sidenote: your IIS install is so extremely "out-of-the-box", you're very vulnerable as far as I can see against standard root kits. Change your webroot. Windows XP is not a server operating system, I strongly suggest to review the whole idea of running your own webserver publicly unless you're very, very experienced.
Title: Re: HELP! Loads of Errors!
Post by: crazypilot3 on June 14, 2005, 06:16:51 PM
ok Everything installed, now I get these errors (btw my website is called FamilyCentral):


Notice: Undefined index: PATH_TRANSLATED in c:\Inetpub\wwwroot\FamilyCentral\PhotoGallery\index.php on line 21

Notice: Undefined offset: -1 in c:\Inetpub\wwwroot\FamilyCentral\PhotoGallery\index.php on line 22

Warning: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\FamilyCentral\PhotoGallery\index.php:21) in c:\Inetpub\wwwroot\FamilyCentral\PhotoGallery\themes\classic\theme.php on line 810

Warning: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\FamilyCentral\PhotoGallery\index.php:21) in c:\Inetpub\wwwroot\FamilyCentral\PhotoGallery\themes\classic\theme.php on line 811

Warning: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\FamilyCentral\PhotoGallery\index.php:21) in c:\Inetpub\wwwroot\FamilyCentral\PhotoGallery\include\functions.inc.php on line 51


Also when I logged in, it said something about how my IE browser doesnt accept cookie scripts... How do I fix that... I have my cookies to accept all.
Title: Re: HELP! Loads of Errors!
Post by: crazypilot3 on June 14, 2005, 06:44:05 PM
hmm cant figure this out
Title: Re: HELP! Loads of Errors!
Post by: Joachim Müller on June 15, 2005, 09:17:52 AM
link?
Title: Re: HELP! Loads of Errors!
Post by: crazypilot3 on June 15, 2005, 06:35:19 PM
i pmed the link to u
Title: Re: HELP! Loads of Errors!
Post by: Tranz on June 15, 2005, 08:12:59 PM
Please do not PM unless requested, as GauGau's signature says.
Title: Re: HELP! Loads of Errors!
Post by: crazypilot3 on June 16, 2005, 12:13:06 AM
The solution is below.

erased my ip for security purpose:
Title: Re: HELP! Loads of Errors!
Post by: kegobeer on June 16, 2005, 12:47:10 AM
Turn off error messages in php.ini.

display_errors = Off

Your cookie problems are probably the result of a strange server configuration.  That's usually the cause for the browser cannot accept cookie message.
Title: Re: HELP! Loads of Errors!
Post by: crazypilot3 on June 16, 2005, 12:50:58 AM
thankyou