Koozali.org: home of the SME Server

fopen/fget problem

Offline ElFroggio

  • *
  • 262
  • +0/-0
fopen/fget problem
« on: January 14, 2008, 08:35:04 PM »
Hi,

This problem exist only since the 7.3 upgrade:
Code: [Select]
Jan  8 07:41:26 ethelbert httpd: PHP Warning:  fopen(): URL file-access is disabled in the server configuration in /home/e-smith/files/ibays/sqlhacks.pm/html/cookbook/googleblogping.php on line 52
Jan  8 07:41:26 ethelbert httpd: PHP Warning:  fopen(http://blogsearch.google.com/ping?name=SQLHacks&url=http%3A%2F%2Fwww.sqlhacks.com%2Findex.php%2FMain%2FHomePage): failed to open stream: no suitable wrapper could be found in /home/e-smith/files/ibays/sqlhacks.pm/html/cookbook/googleblogping.php on line 52
Jan  8 07:41:26 ethelbert httpd: PHP Warning:  fgets(): supplied argument is not a valid stream resource in /home/e-smith/files/ibays/sqlhacks.pm/html/cookbook/googleblogping.php on line 53
Jan  8 07:41:26 ethelbert httpd: PHP Warning:  fclose(): supplied argument is not a valid stream resource in /home/e-smith/files/ibays/sqlhacks.pm/html/cookbook/googleblogping.php on line 54

The problem is in the php.ini, it is set to:
Code: [Select]
allow_url_fopen = Off
Even if I change it to:
Code: [Select]
allow_url_fopen = On
it does not work. Where else can I set this?

Thanks

Offline ElFroggio

  • *
  • 262
  • +0/-0
Re: fopen/fget problem
« Reply #1 on: January 14, 2008, 09:02:53 PM »
I am replying to my own post, as this was already answered on post: http://forums.contribs.org/index.php?topic=39629.0

I was too quick to post without checking further back.

Thanks