Title: WP_PROXY support?
Last modified: August 21, 2016

---

# WP_PROXY support?

 *  [jblewett](https://wordpress.org/support/users/jblewett/)
 * (@jblewett)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/wp_proxy-support/)
 * So, I’m working with a site that will be running behind a proxy, and we’ve got
   the WP_PROXY stuff going in wp-config.php.
 * We have a version running on our testing tier, which works perfectly, and a version
   running on our production system that is not working – the only difference between
   the two tiers is that outbound requests from the server must be run through a
   proxy for security reasons.
 * It looks like SYG blows a gasket when it tries to get the youtube user profile?
   Fatal error: Call to a member function getFeedLink() on a non-object in /wp-content/
   plugins/sliding-youtube-gallery/engine/SygYouTube.php on line 58
 * Any help or insight into this issue would be greatly appreciated.
 * [http://wordpress.org/plugins/sliding-youtube-gallery/](http://wordpress.org/plugins/sliding-youtube-gallery/)

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

 *  Plugin Contributor [webEng](https://wordpress.org/support/users/webeng/)
 * (@webeng)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/wp_proxy-support/#post-4355883)
 * Hi,
    I use Zend gdata library that could be used under a proxy by acting on class
   constructor engine/lib/Zend/Http/Client/Adapter/Proxy.php . A workaround should
   be setting in that class the following parameters manually:
 *     ```
       protected $config = array(
               'ssltransport'  => 'ssl',
               'sslcert'       => null,
               'sslpassphrase' => null,
               'sslusecontext' => false,
               'proxy_host'    => '',
               'proxy_port'    => 8080,
               'proxy_user'    => '',
               'proxy_pass'    => '',
               'proxy_auth'    => Zend_Http_Client::AUTH_BASIC,
               'persistent'    => false
           );
       ```
   
 * To apply this solution (if the security level is very strict), I suggest you 
   to protect this file with the rights permission or by using apache security features.
   Plus, when you deploy a new version in production, take care not to overwriting
   the lib folder (you can use a simple ftp script). Keep me updated if it works.
 * Luca
 * Sources:
 * [http://gdatatips.blogspot.it/2008/09/using-php-client-library-through-proxy.html](http://gdatatips.blogspot.it/2008/09/using-php-client-library-through-proxy.html)
   
   [http://zend-framework-community.634137.n4.nabble.com/howto-use-demo-Calendar-ClientLogin-php-behind-http-proxy-td675095.html](http://zend-framework-community.634137.n4.nabble.com/howto-use-demo-Calendar-ClientLogin-php-behind-http-proxy-td675095.html)
 *  Thread Starter [jblewett](https://wordpress.org/support/users/jblewett/)
 * (@jblewett)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/wp_proxy-support/#post-4355915)
 * Hey, Luca!
 * Thanks for the response – unfortunately, when we configured those settings on
   our production servers, it didn’t seem to change anything. We kept right on getting
   that same error message, and our proxy server recorded no requests from it.
 * We’re still kinda stumped on this one!
 *  Plugin Contributor [webEng](https://wordpress.org/support/users/webeng/)
 * (@webeng)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/wp_proxy-support/#post-4355918)
 * Hey!
    Ok I will try to reproduce the problem in my local system. Which proxy 
   do you use in your company?
 * Thanks, Luca
 *  Thread Starter [jblewett](https://wordpress.org/support/users/jblewett/)
 * (@jblewett)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/wp_proxy-support/#post-4355926)
 * My apologies for the delay – it’s a squid proxy.
 *  Plugin Contributor [webEng](https://wordpress.org/support/users/webeng/)
 * (@webeng)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/wp_proxy-support/#post-4355928)
 * Ok I will try.

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

The topic ‘WP_PROXY support?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sliding-youtube-gallery_484848.svg)
 * [Sliding Youtube Gallery](https://wordpress.org/plugins/sliding-youtube-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sliding-youtube-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sliding-youtube-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/sliding-youtube-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sliding-youtube-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sliding-youtube-gallery/reviews/)

## Tags

 * [etc.](https://wordpress.org/support/topic-tag/etc/)

 * 5 replies
 * 2 participants
 * Last reply from: [webEng](https://wordpress.org/support/users/webeng/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/wp_proxy-support/#post-4355928)
 * Status: not resolved