Some of the users are unable to connect to TweetDeck with the API. It appears that the problem comes from a non-enabled function on the servers - apache_request_headers() You need to have the function enabled in order to use the API to connect to TweetDeck. Here is a simple test method to verify whether the function is enabled on your server or no:

if( !function_exists('apache_request_headers') ) {
echo 'bad';
}else echo 'good';

If the result is "bad" then your server doesn't support  apache_request_headers(), if it is "good" you should be able to connect to TweetDeck.

This will be changed in Sharetronix 1.5.1.

  1. Anonymous
    MarcosBL Tried this fix... it provides same funcionality, but doesn't seem to work either...

    if (!function_exists('apache_request_headers')) {
    function apache_request_headers() {
    $headers = array();
    foreach ($_SERVER as $k => $v)
    {
    if (substr($k, 0, 5) == "HTTP_")
    {
    $k = str_replace('_', ' ', substr($k, 5));
    $k = str_replace(' ', '-', ucwords(strtolower($k)));
    $headers[$k] = $v;
    }
    }
    return $headers;
    }
    }
    on 15 Jul 2010
  2. Anonymous
    amir how to fix it's on php cgi?
    on 18 Jul 2010
  3. Anonymous
    roche You can use .htaccess to enable this function
    on 22 Jul 2010
  4. Anonymous
    Tod My problems are un-related. Everytime someone go to the mobile site /m it creates a empty m directory. Then the next time you try and go on mobile, it just goes to this empty directory. Any help would be great. Thanks
    on 22 Jul 2010
  5. Anonymous
    Radu Balanescu Wats the source code for the htacces file in order to enable the apache_request_headers and make tweetdeck work with sharetronix?
    on 18 Aug 2010
Post comment ...
You are not logged in. Do you wish to post an anonymous comment? Login
*
* E-mail address will not be published
* URL address starting with http://
Incorrect characters
Please type in the digits from the image
Comment content cannot be empty.