<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Hi,<br>
<br>
We're using PmWiki 2.2.0<br>
I am trying to get the recipecheck recipe to work. Our wiki is behind a
Corp firewall. The error I get is:<br>
<br>
<blockquote>Warning: fopen() [function.fopen]: Unable to access
<a class="moz-txt-link-freetext" href="http://www.pmwiki.org/pmwiki/recipelist">http://www.pmwiki.org/pmwiki/recipelist</a> in
/opt/coolstack/apache2/htdocs/pmwiki/cookbook/recipecheck.php on line 77<br>
  <br>
Warning: fopen(<a class="moz-txt-link-freetext" href="http://www.pmwiki.org/pmwiki/recipelist">http://www.pmwiki.org/pmwiki/recipelist</a>)
[function.fopen]: failed to open stream: No such file or directory in
/opt/coolstack/apache2/htdocs/pmwiki/cookbook/recipecheck.php on line 77<br>
  <br>
Warning: fclose(): supplied argument is not a valid stream resource in
/opt/coolstack/apache2/htdocs/pmwiki/cookbook/recipecheck.php on line 84<br>
PmWiki can't process your request<br>
  <br>
Unable to retrieve cookbook data from
<a class="moz-txt-link-freetext" href="http://www.pmwiki.org/pmwiki/recipelist">http://www.pmwiki.org/pmwiki/recipelist</a><br>
  <br>
We are sorry for any inconvenience.<br>
  <br>
Return to <a class="moz-txt-link-freetext" href="http://gsc-wiki.uk.sun.com/pmwiki/pmwiki.php">http://gsc-wiki.uk.sun.com/pmwiki/pmwiki.php</a><br>
  <br>
</blockquote>
In the recipecheck cookbook page it states:<br>
<br>
<blockquote><i>Unable to retrieve cookbook data from url<br>
The recipecheck.php script currently requires that PHP be configured to
allow "url fopens" to fetch pmwiki.org's recipe list. For security
reasons many web hosting providers and PHP distributions have url
fopens disabled or blocked by default. If this is the case, see if
PHP's 'allow_url_fopen' setting can be enabled, or try the
PmWiki.SiteAnalyzer approach. <br>
  </i><br>
</blockquote>
So I checked the status of allow url open in phpinfo. This shows:<br>
<br>
Configuration&nbsp;&nbsp; PHP Core<br>
<u>Directive&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Local Value&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; Master Value</u><br>
allow_call_time_pass_reference&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; On&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
On<br>
allow_url_fopen&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; On&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; On<br>
allow_url_include&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; Off&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Off<br>
<br>
I think this means that url opens is set correctly - but I'm not a php
expert by any means - so perhaps I have misunderstood something.<br>
<br>
Any help you can give on how to get recipecheck working would be very
much appreciated.<br>
<br>
Thanks<br>
<br>
Graham<br>
<br>
</body>
</html>