-
AuthorPosts
-
glenng Friend
glenng
- Join date:
- February 2012
- Posts:
- 256
- Downloads:
- 24
- Uploads:
- 64
- Thanks:
- 45
- Thanked:
- 7 times in 1 posts
February 2, 2013 at 1:47 pm #184613I have checked settings again and again, all ok… And “Enabled cache” section is NO now but I can’t see anything. Any suggestion?
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
February 4, 2013 at 9:56 am #482332glenng Friendglenng
- Join date:
- February 2012
- Posts:
- 256
- Downloads:
- 24
- Uploads:
- 64
- Thanks:
- 45
- Thanked:
- 7 times in 1 posts
February 5, 2013 at 7:14 pm #482566Thank you for your reply. Here is the settings:
(I use a different screen/twitter name)-
Luna Garden Moderator
Luna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
February 6, 2013 at 10:09 am #482673glenng Friendglenng
- Join date:
- February 2012
- Posts:
- 256
- Downloads:
- 24
- Uploads:
- 64
- Thanks:
- 45
- Thanked:
- 7 times in 1 posts
March 8, 2013 at 2:11 pm #485812It was just an example. I use a twitter username but it doesn’t work.
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
March 11, 2013 at 2:41 am #485928glenng Friendglenng
- Join date:
- February 2012
- Posts:
- 256
- Downloads:
- 24
- Uploads:
- 64
- Thanks:
- 45
- Thanked:
- 7 times in 1 posts
March 11, 2013 at 9:47 pm #486066Thanks I just sent you.
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
March 13, 2013 at 10:32 am #486325dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
March 13, 2013 at 10:10 pm #486386Same problem for us.
If you have a solution ??dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
March 14, 2013 at 9:24 pm #486542Hello,
any news about this bug ?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 15, 2013 at 5:30 am #486573<em>@glenng 363904 wrote:</em><blockquote>Thanks I just sent you.</blockquote>
Hi glenng,
I have spent lot of my time to check your problem. When i debug to function makeRequest($url, $post = array()) function on this file:modules/mod_jatwitter/jatwitter.php
function makeRequest($url, $post = array())
{
if ($this->_iscurlinstalled()) {
//use curl to get content from url
$handle = curl_init();curl_setopt($handle, CURLOPT_URL, $url);
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($handle, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
curl_setopt($handle, CURLOPT_TIMEOUT, 400);if ($this->_auth != '') {
curl_setopt($handle, CURLOPT_USERPWD, $this->_auth);
}
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($handle, CURLOPT_HTTPHEADER, array('Expect:'));
$response = curl_exec($handle);
$this->_status = curl_getinfo($handle, CURLINFO_HTTP_CODE);
curl_close($handle);
if ($this->_format == 'json') {
$this->_output = strstr($response, "[{");
if (empty($this->_output)) {
$this->_output = strstr($response, "{");
}
}
$pos = strpos($response, '<?xml');
if ($pos) {
$this->_output = substr($response, $pos, strlen($response));
}
return;
} else {
$response = '';
$out = parse_url($url);
$errno = $errstr = '';
$host = $out['host'];
$path = $out['path'] . '?' . $out['query'];
$header = "GET $path HTTP/1.1rn";
$header .= "Host: $hostrn";
$header .= "Content-Type: application/x-www-form-urlencodedrn";
$header .= "Accept-Encoding: nonern";if ($this->_auth != '') {
$header .= "Authorization: Basic " . base64_encode("$this->_auth") . "rn";
}
$header .= "Connection: Closernrn";$sock = fsockopen($host, 80, $errno, $errstr, 400);
if (!$sock) {
return null;
} else {
fwrite($sock, $header);
while (!feof($sock)) {
$response .= fgets($sock, 128);
}
fclose($sock);
if ($this->_format == 'json') {
$this->_output = strstr($response, "[{");
if (empty($this->_output)) {
$this->_output = strstr($response, "{");
}
$this->_status = 200;
}
$pos = strpos($response, '<?xml');
if ($pos) {
$this->_output = substr($response, $pos, strlen($response));
$this->_status = 200;
}
return true;
}
}
}
Data connect to API Twitter always return to NULL data, you need to contact with system admin check it, maybe your hosting is disconnecting you from Twitter.
Regards
1 user says Thank You to Ninja Lead for this useful post
glenng Friendglenng
- Join date:
- February 2012
- Posts:
- 256
- Downloads:
- 24
- Uploads:
- 64
- Thanks:
- 45
- Thanked:
- 7 times in 1 posts
March 15, 2013 at 10:35 am #486611All right, thanks a lot. I’ll contact them.
glenng Friendglenng
- Join date:
- February 2012
- Posts:
- 256
- Downloads:
- 24
- Uploads:
- 64
- Thanks:
- 45
- Thanked:
- 7 times in 1 posts
March 15, 2013 at 10:44 am #486613This is what they told me:
“Can you contact him and ask if he using curl to connect to it. As we had an issue on curl connection being blocked but we are releasing an update later today that should fix this and best to check if it works after.”Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 15, 2013 at 10:48 am #486614<em>@glenng 364626 wrote:</em><blockquote>This is what they told me:
“Can you contact him and ask if he using curl to connect to it. As we had an issue on curl connection being blocked but we are releasing an update later today that should fix this and best to check if it works after.”</blockquote>Great, hope they will fix as soon
-
AuthorPosts
Viewing 14 posts - 1 through 14 (of 14 total)This topic contains 14 replies, has 4 voices, and was last updated by Ninja Lead 11 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum