fopen and fpassthru errors fopen and fpassthru errors
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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