coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: scoobieboy on January 10, 2005, 02:42:38 AM

Title: fopen and fpassthru errors
Post by: scoobieboy on January 10, 2005, 02:42:38 AM
Hi all,
   I have been trying to get cpg running on my webserver for a few days now with no luck.

Config :
Fedora Core 3
Apache 2.0.52
CPG 1.3.2
PHP 4.3.10-3.2
GD 2.0.28

I can get the first page ( install.php ) to show up, I then fill in the boxes and hit "Let's Go", and nothing happeneds....

All I get is a page with the cpg logo at the top.

In the error_log I get this :

[client 67.184.229.84] PHP Warning:  fopen() expects at least 2 parameters, 1 given in /web/html/cpg/install.php on line 524, referer: http://www.mydomain.com/cpg/install.php
[client 67.184.229.84] PHP Warning:  fpassthru(): supplied argument is not a valid stream resource in /web/html/cpg/install.php on line 524, referer: http://www.mydomain.com/cpg/install.php
[client 67.184.229.84] PHP Warning:  fopen() expects at least 2 parameters, 1 given in /web/html/cpg/install.php on line 529, referer: http://www.mydomain.com/cpg/install.php
[client 67.184.229.84] PHP Warning:  fpassthru(): supplied argument is not a valid stream resource in /web/html/cpg/install.php on line 529, referer: http://www.mydomain.com/cpg/install.php

If I follow someone else's thread an enter 'rb' on the offending lines, I get the same empty page and nothing in the logfile.

Any help would be great.

Thanks,
   Sean
Title: Re: fopen and fpassthru errors
Post by: kegobeer on January 10, 2005, 02:59:24 AM
You no longer have the error messages, so let's assume the fopen problem is solved.  You now have the "blank page" during the install process to troubleshoot.

Try this thread:
http://forum.coppermine-gallery.net/index.php?topic=1642.0

It's not for 1.3.2, but the information will hopefully still be of use.
Title: Re: fopen and fpassthru errors
Post by: scoobieboy on January 10, 2005, 06:11:31 AM
Thanks kegobeer, I had to uninstall the whole shooting match and start from scratch. But it work  ;D
Something must have gotten mixed up during the install's  ;)
Title: Re: fopen and fpassthru errors
Post by: kegobeer on January 10, 2005, 12:37:59 PM
No problem.  Glad you got it sorted out.