[horde] Facebook
Rodrigo Abantes Antunes
rodrigoantunes at pelotas.ifsul.edu.br
Thu Jun 28 20:57:40 UTC 2012
I did some debug in code and It seems that no requestoken is
generated, in the file Oauth/Consumer.php the function getRequestToken
returns nothing.
return Horde_Oauth_Token::fromString($response->getBody());
An echo in $response->getBody() shows nothing and it should show the
oauth_token.
Is there some class or extension that I may have missed? I installed
horde with "pear install -a -B horde/webmail".
During the installation I saw some warnings:
Failed to download pear/SOAP within preferred state "stable", latest
release is version 0.13.0, stability "beta", use
"channel://pear.php.net/SOAP-0.13.0" to install
Failed to download pear/Date_Holidays within preferred state "stable",
latest release is version 0.21.6, stability "alpha", use
"channel://pear.php.net/Date_Holidays-0.21.6" to install
Failed to download pear/Text_CAPTCHA within preferred state "stable",
latest release is version 0.4.3, stability "alpha", use
"channel://pear.php.net/Text_CAPTCHA-0.4.3" to install
Failed to download pecl/sasl within preferred state "stable", latest
release is version 0.1.0, stability "alpha", use
"channel://pecl.php.net/sasl-0.1.0" to install
Failed to download pecl/idn within preferred state "stable", latest
release is version 0.2.0, stability "beta", use
"channel://pecl.php.net/idn-0.2.0" to install
Failed to download pecl/ssh2 within preferred state "stable", latest
release is version 0.11.3, stability "beta", use
"channel://pecl.php.net/ssh2-0.11.3" to install
WARNING: "pear/HTTP_Request" is deprecated in favor of "pear/HTTP_Request2"
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
Failed to download pear/XML_Serializer within preferred state
"stable", latest release is version 0.20.2, stability "beta", use
"channel://pear.php.net/XML_Serializer-0.20.2" to install
WARNING: "pear/Console_Color" is deprecated in favor of "pear/Console_Color2"
WARNING: "pear/Auth_SASL" is deprecated in favor of "pear/Auth_SASL2"
Unknown remote channel: pear.phpunit.de
WARNING: "pear/Net_URL" is deprecated in favor of "pear/Net_URL2"
horde/kronolith can optionally use package "pear/Date_Holidays"
(version >= 0.21.0)
horde/Horde_Core can optionally use package "pear/Text_CAPTCHA"
horde/Horde_Auth can optionally use package "pecl/sasl"
horde/Horde_Http can optionally use PHP extension "curl"
horde/Horde_Http can optionally use PHP extension "http"
horde/Horde_Mime can optionally use package "pecl/idn"
horde/Horde_Mime can optionally use PHP extension "intl"
horde/Horde_Rpc can optionally use PHP extension "xmlrpc"
horde/Horde_Vfs can optionally use package "pecl/ssh2" (version >= 0.10)
pear/Services_Weather can optionally use package "pear/SOAP" (version
>= 0.7.5)
pear/Services_Weather can optionally use package "pear/XML_Serializer"
(version >= 0.8)
horde/Horde_Imap_Client can optionally use PHP extension "imap"
horde/Horde_Test requires package "channel://pear.phpunit.de/PHPUnit"
(version >= 3.5.0)
horde/Horde_Ldap requires PHP extension "ldap"
horde/Horde_Cache can optionally use PHP extension "eaccelerator"
(version >= 0.9.5)
horde/Horde_Translation can optionally use package "horde/Horde_Test"
(version >= 1.0.0, version <= 2.0.0, excluded versions: 2.0.0)
horde/Horde_Kolab_Server can optionally use package "horde/Horde_Ldap"
(version >= 1.0.0, version <= 2.0.0, excluded versions: 2.0.0)
horde/Horde_Kolab_Server can optionally use package
"channel://pear.phpunit.de/PHPUnit_Story"
horde/Horde_Kolab_Server can optionally use PHP extension "ldap"
horde/Horde_Kolab_Storage can optionally use PHP extension "imap"
horde/Horde_Kolab_Format can optionally use package "horde/Horde_Test"
(version >= 1.0.0, version <= 2.0.0, excluded versions: 2.0.0)
MDB2: Optional feature fbsql available (Frontbase SQL driver for MDB2)
MDB2: Optional feature ibase available (Interbase/Firebird driver for MDB2)
MDB2: Optional feature mysql available (MySQL driver for MDB2)
MDB2: Optional feature mysqli available (MySQLi driver for MDB2)
MDB2: Optional feature mssql available (MS SQL Server driver for MDB2)
MDB2: Optional feature oci8 available (Oracle driver for MDB2)
MDB2: Optional feature pgsql available (PostgreSQL driver for MDB2)
MDB2: Optional feature querysim available (Querysim driver for MDB2)
MDB2: Optional feature sqlite available (SQLite2 driver for MDB2)
MDB2: To install optional features use "pear install pear/MDB2#featurename"
Heres is my phpinfo extensions:
/etc/php5/apache2/conf.d/curl.ini, /etc/php5/apache2/conf.d/gd.ini,
/etc/php5/apache2/conf.d/imagick.ini,
/etc/php5/apache2/conf.d/intl.ini, /etc/php5/apache2/conf.d/ldap.ini,
/etc/php5/apache2/conf.d/mcrypt.ini,
/etc/php5/apache2/conf.d/memcache.ini,
/etc/php5/apache2/conf.d/mysql.ini,
/etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini,
/etc/php5/apache2/conf.d/pdo_mysql.ini,
/etc/php5/apache2/conf.d/sasl.ini, /etc/php5/apache2/conf.d/ssh2.ini,
/etc/php5/apache2/conf.d/tidy.ini
Please help me to debug this to discover where is the problem. Thanks
--
Rodrigo Abrantes Antunes
Técnico em Tecnologia da Informação
Coordenadoria de Manutenção e Redes
Instituto Federal Sul-rio-grandense - Campus Pelotas
Quoting Michael J Rubinsky <mrubinsk at horde.org>:
> Quoting Rodrigo Abantes Antunes <rodrigoantunes at pelotas.ifsul.edu.br>:
>
>> With Twitter I had similar problem. Twitter says there isn't a
>> solicitation token and in logs I got this:
>> NOTICE: HORDE [horde] PHP ERROR: Undefined index: oauth_token [pid
>> 18330 on line 48 of "/usr/share/php/Horde/Oauth/Token.php"]
>> NOTICE: HORDE [horde] PHP ERROR: Undefined index:
>> oauth_token_secret [pid 18330 on line 48 of
>> "/usr/share/php/Horde/Oauth/Token.php"]
>
> I don't see this error, but I am having some other issues. It's
> possible some API call has been changed/deprecated. I'll have to
> look into this.
>
>> I think this is related to another problem, I set a directory to
>> keep token files in "Token System" tab in horde config and set 777
>> permissions to it but it seems no tokens are created.
>
> This is completely unrelated to oauth tokens.
> --
> mike
>
> The Horde Project (www.horde.org)
> mrubinsk at horde.org
More information about the horde
mailing list