<div>The first thing you need to do, is figure out what function is being called.<br></div><div>Looking at line 4339 in <a href="http://core.trac.wordpress.org/browser/branches/3.2/wp-includes/functions.php">http://core.trac.wordpress.org/browser/branches/3.2/wp-includes/functions.php</a> we find it belongs to get_file_data().</div>

<div><br></div><div>get_file_data() itself is called from a few places in core, but in none of those should it be passing a url.</div><div>To me, it sounds like you might have something calling get_theme_data() with a url to the stylesheet rather than a path to the stylesheet.</div>

<div><br></div><div>This probably isn&#39;t the best location to get PHP help or Theme PHP Development tips however, I&#39;d suggest the wp-hackers mailing list myself.</div><div><br></div><div>Cheers</div><div>Dion Hulse / @dd32</div>

<br><div class="gmail_quote">On 21 September 2011 16:52, Ryan Frankel <span dir="ltr">&lt;<a href="mailto:ryan.frankel@gmail.com">ryan.frankel@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hello all,<br>
<br>
I have had someone who downloaded my theme today report that they are getting the following error:<br>
<br>
Warning: fopen() [function.fopen]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /usr/www/users/derrph/subdomains/support/wp-includes/functions.php on line 4339<br>
<br>
While it seems reasonably common to get this error this user is the only one to ever get it.  I have checked with other users an on my own server and we all have allow_url_fopen=0 in our php.ini.  Obviously, it is a bad idea to change this to =1.<br>


<br>
My question is this….how do I go about finding the actual line that caused this issue?  My functions.php looks like below….<br>
<br>
&lt;?php<br>
//**********************************************************************<br>
// Includes for Functionality of Swamp Bugs - Please do not edit!<br>
//**********************************************************************<br>
if ( ! isset( $content_width ) ) $content_width = 1100;<br>
load_theme_textdomain( &#39;swamp-bugs&#39;, TEMPLATEPATH.&#39;/languages&#39; );<br>
<br>
$basics_path = TEMPLATEPATH . &#39;/basics.php&#39;;<br>
$upgrade_path = TEMPLATEPATH . &#39;/upgrade.php&#39;;<br>
require_once($basics_path);<br>
if (file_exists($upgrade_path)) {<br>
        require_once($upgrade_path);<br>
}<br>
//**********************************************************************<br>
// END Includes -  You can place your custom functions below.<br>
//**********************************************************************<br>
?&gt;<br>
<font color="#888888"><br>
Ryan<br>
</font><div><div class="h5">_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div></div></blockquote></div><br>