FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: nightmemo on April 11, 2006, 07:18:32 AM

Title: the php functions that freepgs just blocked
Post by: nightmemo on April 11, 2006, 07:18:32 AM
the popen and pclose fuctions that freepgs just blocked seems to have caused a minor problem on my site, which hosts a php forum. no fatal damage, but lines of error messages kept popping up, like
"Warning: fopen(/fpgs/fpgshttpd/nightmemo/bbs/data/bbscache/online.php) [function.fopen]: failed to open stream: Permission denied in /fpgs/fpgshttpd/nightmemo/bbs/require/userglobal.php on line 112"
and so on...
it kind of bothers me, so i'm thinking of using a second forum program instead of the current one, which doesn't use these functions.
anyone has an idea which forums does not use the functions that freepgs have blocked?
thanks a lot.
Title: Re: the php functions that freepgs just blocked
Post by: pythonpoole on April 11, 2006, 08:40:05 AM
I think thats a chmodding problem, not the function problem. Freepgs did not disable fopen, but they did do some changes to the file access rights I think, and it maybe fixed with a simple chmod of the file causing the problem, which won' take 30 seconds to do.
Title: Re: the php functions that freepgs just blocked
Post by: webzone (archived) on April 11, 2006, 10:22:13 AM
chmod the file /bbs/data/bbscache/online.php to 664 instead of 644. You can do that using the online file manager.
Title: Re: the php functions that freepgs just blocked
Post by: nightmemo on April 11, 2006, 02:36:59 PM
thanks pythonepoole and webzone! changing to 664 worked!
i was trying to chmod userglobal.php before, but seems to be working on the wrong file.
Title: Re: the php functions that freepgs just blocked
Post by: webzone (archived) on April 11, 2006, 07:11:36 PM
Quotei was trying to chmod userglobal.php before, but seems to be working on the wrong file.

You need to chmod the files that get changed, not the scripts that make the changes. It is a little difference that often causes trouble.