fopen and fpassthru errors fopen and fpassthru errors
 

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

fopen and fpassthru errors

Started by scoobieboy, January 10, 2005, 02:42:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scoobieboy

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

kegobeer

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

scoobieboy

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  ;)

kegobeer

No problem.  Glad you got it sorted out.
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