01038: error when allow_url_fopen = Off

Summary: error when allow_url_fopen = Off
Created: 2008-08-02 09:56
Status: Closed
Category: Bug
From: TomH
Priority: 3
Version: 2.2-beta67
OS: WinXP PHP 5.2.6 Apache 2

((N.B. I am NOT getting the same problem on my Linux webserver!)) ((Am looking for diffs in the pmwiki implementations)) ((Found the problem - selfinflicted, sorry for the pollution to the PITS system))

Description: Hello and thanks for a great tool!

I couldn't find any reference to setting this php flag -- so I will post here to raise the flag (maybe the flag of my ignorance?)

I began looking into tightening up security on my webservers and when I added allow_url_fopen = Off to php.ini my PmWiki gives errors.

Error: b>Warning</b>: file() [<a href='function.file'>function.file</a>]: URL file-access is disabled in the server configuration in <b>C:\xampp\htdocs\pmwiki\pmwiki.php(1499) : regexp code</b> on line <b>1</b><br />

This shows up when trying to load pmwiki home page (not when linking to subpages of pmwiki.

Thanks for any help you can provide, TomH