Title: allow_url_fopen Error
Last modified: August 22, 2016

---

# allow_url_fopen Error

 *  Resolved [3dperuna](https://wordpress.org/support/users/3dperuna/)
 * (@3dperuna)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/allow_url_fopen-error/)
 * Looking for some help with allow_url_fopen errors. I’ve enabled and running phpinfo();
   shows that it’s enabled. I’m still getting:
 * `Warning: fopen() [function.fopen]: http:// wrapper is disabled in the server
   configuration by allow_url_fopen=0 in /home/domain/public_html/domain/wp-content/
   plugins/congresslookup/CongressLookup.php on line 145`
 * `Warning: fopen(http://assets.sunlightfoundation.com/moc/40x50.zip) [function.
   fopen]: failed to open stream: no suitable wrapper could be found in /home/domain/
   public_html/galt/wp-content/plugins/congresslookup/CongressLookup.php on line
   145`
 * Any troubleshooting helps? I also disabled all plugins except this one. The front
   end is fine, I’m only seeing this on the dashboard.
 * [https://wordpress.org/plugins/congresslookup/](https://wordpress.org/plugins/congresslookup/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [trishahdee](https://wordpress.org/support/users/trishahdee/)
 * (@trishahdee)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/allow_url_fopen-error/#post-5197912)
 * Can you send me your website url to: [plugins@constructivegrowth.net](https://wordpress.org/support/topic/allow_url_fopen-error/plugins@constructivegrowth.net?output_format=md)
   soI can check a couple things? Thank you.
 *  Plugin Contributor [Gopal Singh](https://wordpress.org/support/users/gsnarawat/)
 * (@gsnarawat)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/allow_url_fopen-error/#post-5198149)
 * [@3dperuna](https://wordpress.org/support/users/3dperuna/)
 *  allow_url_fopen is a PHP configuration setting on server and It is disabled 
   on the server You are using for your website, and this plugin uses this function
   for a functionality.
 *  So if you can enable “allow_url_fopen” on your server, this problem will resolved.
   Ask your host to enable this, if you don’t know about it.
 *  Thank You,
    Gopal Singh
 *  Thread Starter [3dperuna](https://wordpress.org/support/users/3dperuna/)
 * (@3dperuna)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/allow_url_fopen-error/#post-5198214)
 * Gopal,
 * From my original post: I’ve enabled and running phpinfo(); shows that it’s enabled.
 * I’ve submitted a ticket with my hosting company.
 * One other piece of info: I’m running multi-site.
 *  [neilpayne](https://wordpress.org/support/users/neilpayne/)
 * (@neilpayne)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/allow_url_fopen-error/#post-5198284)
 * I had the same error after updating php.ini and also use multi-site hosting. 
   I spoke to godaddy tech support and they suggested upgrading php to 5.4 (this
   is an old hosting account that was running php 5.2).
 * After upgrading php to 5.4, it’s working.
 * Thanks to the authors, this plugin is great to have!
 *  Plugin Author [ConstructiveGrowth](https://wordpress.org/support/users/constructivegrowth/)
 * (@constructivegrowth)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/allow_url_fopen-error/#post-5198285)
 * Thank you for both the kind words, meilpayne, as well as the PHP fix that worked
   for you.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘allow_url_fopen Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/congresslookup_b89295.svg)
 * [CongressLookup](https://wordpress.org/plugins/congresslookup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/congresslookup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/congresslookup/)
 * [Active Topics](https://wordpress.org/support/plugin/congresslookup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/congresslookup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/congresslookup/reviews/)

## Tags

 * [allow_url_fopen()](https://wordpress.org/support/topic-tag/allow_url_fopen/)
 * [php configuration](https://wordpress.org/support/topic-tag/php-configuration/)

 * 5 replies
 * 5 participants
 * Last reply from: [ConstructiveGrowth](https://wordpress.org/support/users/constructivegrowth/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/allow_url_fopen-error/#post-5198285)
 * Status: resolved