Title: [Plugin: WP SlimStat] fsockopen errors &#8211; site not loading!
Last modified: August 19, 2016

---

# [Plugin: WP SlimStat] fsockopen errors – site not loading!

 *  Resolved [saill](https://wordpress.org/support/users/saill/)
 * (@saill)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/)
 * Hi Camu,
 * I think I didn’t get my last message in the right category…
 * I have moved my site to a new server, and now when Slimstat is activated the 
   site takes many minutes to load! I can barely access the admin area, so it is
   not feasible to make changes to the configuration through the control panel.
 * When I check my Apache error log I see this:
 * > [Fri Apr 22 10:41:11 2011] [error] [client 209.116.60.130] PHP Warning: fsockopen()[
   > [function.fsockopen](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/function.fsockopen?output_format=md)]:
   > unable to connect to updates.browserproject.com:80 (Connection timed out) in/
   > home/icp/public_html/wp-content/plugins/wp-slimstat/browscap.php on line 589
   > [
   > Fri Apr 22 10:41:11 2011] [error] [client 209.116.60.130] PHP Warning: file_put_contents(/
   > home/icp/public_html/wp-content/plugins/wp-slimstat/cache/cache.php) [[function.file-put-contents](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/function.file-put-contents?output_format=md)]:
   > failed to open stream: Permission denied in /home/icp/public_html/wp-content/
   > plugins/wp-slimstat/browscap.php on line 366 [Fri Apr 22 10:41:11 2011] [error][
   > client 209.116.60.130] PHP Warning: browscap::require(/home/icp/public_html/
   > wp-content/plugins/wp-slimstat/cache/cache.php) [[function.browscap-require](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/function.browscap-require?output_format=md)]:
   > failed to open stream: No such file or directory in /home/icp/public_html/wp-
   > content/plugins/wp-slimstat/browscap.php on line 376
 * I have made my /plugins/wp-slimstat/cache/ dir publicly writeable. It seems that
   my server is hanging on fsockopen. Could it be a firewall problem? Help! My client
   REALLY misses slimstat!
 * Saill
 * [http://wordpress.org/extend/plugins/wp-slimstat/](http://wordpress.org/extend/plugins/wp-slimstat/)

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/page/2/?output_format=md)

 *  Thread Starter [saill](https://wordpress.org/support/users/saill/)
 * (@saill)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045539)
 * I wonder if it could be SELinux? The new server is CentOS, and looks like SELinux
   is enabled.
 * Let me see if I can turn it off…
 *  Thread Starter [saill](https://wordpress.org/support/users/saill/)
 * (@saill)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045555)
 * Hmm… That didn’t work.
 *  Thread Starter [saill](https://wordpress.org/support/users/saill/)
 * (@saill)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045568)
 * Fixed it by commenting out a couple elseif’s in browsecap.php to force it to 
   use curl!
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Woohoo! So happy to have slimstat back!
 * Saill
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045664)
 * The easy fix is to disable the AUTOUPDATE option in the corresponding panel in
   WP SlimStat. My plugin is trying to contact the server to download a newer version
   of the browsers’ definition file, but the server is down or your server doesn’t
   allow fsockopen.
 * No need to edit browscap.php, as this issue will reappear as soon you upgrade
   WP SlimStat to the new version.
 * BTW, make sure you have a file called `cache.php` inside the cache folder of 
   my plugin, that’s very important!
 * Camu
 *  Thread Starter [saill](https://wordpress.org/support/users/saill/)
 * (@saill)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045673)
 * Ah – good point about upgrading. As long as I was seeing the error I couldn’t
   access the control panel because the site wasn’t loading.
 * Now AUTOUPDATE is disabled, and cache.php is where it should be, so all is well!
 * Saill
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045674)
 * Good point, maybe I should set the autoupdate to ‘false’ by default, so that 
   it does not cause problems. Then users who want it, will be able to change it
   to true. Thank you for your feedback!
 * Camu
 *  Thread Starter [saill](https://wordpress.org/support/users/saill/)
 * (@saill)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045675)
 * 🙂
 * Thank YOU for slimstat!
 * Saill
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045729)
 * I hope you will be positively impressed with the new version coming out (hopefully)
   this week 🙂
 * Camu
 *  Thread Starter [saill](https://wordpress.org/support/users/saill/)
 * (@saill)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045730)
 * Oooo, how exciting! Looking forward to it!
 * Saill
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045732)
 * Your feedback will be really appreciated 🙂
 *  Thread Starter [saill](https://wordpress.org/support/users/saill/)
 * (@saill)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045733)
 * As always, I will do my best to break it. 🙂
 * Saill
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045734)
 * LOL, then maybe I should send you a preview version before I release it to the
   public 😉
 *  Thread Starter [saill](https://wordpress.org/support/users/saill/)
 * (@saill)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045736)
 * Ok!
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045796)
 * So, do you like the new version?
 *  Thread Starter [saill](https://wordpress.org/support/users/saill/)
 * (@saill)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/#post-2045797)
 * 🙂
 * I LOVE the new version. Especially “Spy View”.
 * Had a tiny problem with the install – for some reason the cache dir became unwritable
   which caused the site to hang. Alarming at first, but easy to fix once I checked
   the Apache error log.
 * Maybe my new CentOS server has some weird permissions rules or something.
 * Saill

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/page/2/?output_format=md)

The topic ‘[Plugin: WP SlimStat] fsockopen errors – site not loading!’ is closed
to new replies.

 * ![](https://ps.w.org/wp-slimstat/assets/icon.svg?rev=2832242)
 * [SlimStat Analytics](https://wordpress.org/plugins/wp-slimstat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-slimstat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-slimstat/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-slimstat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-slimstat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-slimstat/reviews/)

 * 19 replies
 * 2 participants
 * Last reply from: [saill](https://wordpress.org/support/users/saill/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-slimstat-fsockopen-errors-site-not-loading/page/2/#post-2045801)
 * Status: resolved