News:

Click here for Toll-Free Service for your business starting at $2.00 per month

Main Menu

the php functions that freepgs just blocked

Started by nightmemo, April 11, 2006, 07:18:32 AM

Previous topic - Next topic

nightmemo

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.

pythonpoole

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.

webzone (archived)

chmod the file /bbs/data/bbscache/online.php to 664 instead of 644. You can do that using the online file manager.

nightmemo

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.

webzone (archived)

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.