1

Topic: Change of server configuration?

I had the following include to show the newest topics of my messageboard:

<?php
include('http://www.mydomain.com/extern.php?action=active&show=3');
?>

It works fine, but now I get suddenly the following error:

Warning: main(): URL file-access is disabled in the server configuration in /home/xxx/domains/mydomain.com/public_html/include/user/new.php on line 2

Warning: main(http://www.mydomain.com/extern.php?acti … amp;show=3): failed to open stream: no suitable wrapper could be found in /home/xxx/domains/mydomain.com/public_html/include/user/new.php on line 2

etc.

Has the server configuration changed? Is ist possible to include with the relative path name (I tried it but without any success...)?

Re: Change of server configuration?

That means the php.ini setting 'allow_url_fopen' is disabled. Try enabling it with ini_set('allow_url_fopen', 1); before you do the include.

3 (edited by Shiva 2005-12-26 16:45)

Re: Change of server configuration?

Thank you for the hint!

I think it was a server issue: Now it works again without any changes.