It looks like your web server is having a problem accessing other sites.
What happens when you look at a widget or shortcode on the site itself?
Martin
This is output of widget:
Problem retrieving data from Twitter
Wordpress error code: http_request_failed – couldn’t connect to host
Please check your PHP and server settings.
Which options should be adjusted on web server?
Regards
Omid
I’m not sure. Is the server connected to the internet?
One option is to try installing the Core Control plug-in and disabling cURL.
Yes, server is connected to Internet.
I`ve installed Core Control but I can not find any option with cURL name!
These are available options:
Updates Module, Filesystem Module,HTTP Access Module, Cron Module, HTTP Access Logger Module
Regards
Omid
If you switch on the HTTP Access Module, it should let you control the cURL option.
Hope this helps,
Martin
Thank you Martin, I disabled cURL.
Now I receive this error when I want to store required keys:
Error message received from Twitter: fopen() function could not connect to https://api.twitter.com/1.1/statuses/user_timeline.json?oauth_consumer_key=B6U … Please check your API key, secret,
What does it mean?
in my server PHP settings allow_url_fopen is On for both Local value and Master value.
Did you only switch cURL off? It sounds like everything is switched off!?!
Martin
Yes, I do, only cURL has been disabled.
please have a view on this screenshot.
Many thanks.
Do you know what might be causing all those ‘undefined’ settings?
Are you able to update plug-ins, download templates etc. directly to your WordPress installation?
Separate from the cURL setting, have you tried switching off the ‘Verify SSL connection to Twitter’ setting on the Rotating Tweets page?
Do you know what might be causing all those ‘undefined’ settings?
No, I don`t π
Are you able to update plug-ins, download templates etc. directly to your WordPress installation?
Yes, I am.
Separate from the cURL setting, have you tried switching off the ‘Verify SSL connection to Twitter’ setting on the Rotating Tweets page?
Yes, I did but there was no difference.
Honestly there is one hint about my internet access; twitter website is blocked in my country and I use VPN services to access this website.
May it affect on plugin performance with or without using VPN?
That’s probably the problem. WordPress will be using the default settings of your server to access Twitter – and so is getting blocked.
I don’t know how easy it is to get your server to use a VPN.
Alternatively, you may want to use a JavaScript or iFrame based solution to show your tweets since the data will not go via your server – and should display automatically for people outside your country.
PS: There might be an option to fix this via options for /lib/wp_twitteroauth.php
, but I’m afraid I don’t know enough about VPNs to tell you what they might be…
Thank you Martin!
Internet filtering in my country is so complicated and anything is possible to cause such this problem.
Temporary I will use this plugin (it shows tweets even without VPN or Web Proxies) but I don`t remove your plugin and try to dig more later!
Sincerely
Omid
Interesting. Perhaps it’s the SSL security that causes a problem.
The plug-in you’re using uses the old (unsecured) API that’s due to switch off on June 11, 2013.
I wonder if Twitter have thought this through!