help me ....
Warning: First parameter must either be an object or the name of an existing class in /data/www/Yahoo-GA/yahoo-lib/Yahoo.php on line 1372
Warning: First parameter must either be an object or the name of an existing class in /data/www/Yahoo-GA/yahoo-lib/Yahoo.php on line 1372
Warning: Cannot modify header information - headers already sent by (output started at /data/www/Yahoo-GA/weather.php:29) in /data/www/Yahoo-GA/yahoo-lib/Yahoo.php on line 343
in yahoo.inc 1372 code
if(property_exists($requestToken, "sessionHandle")) {
$parameters["oauth_session_handle"] = $requestToken->sessionHandle;
}
in yahoo.inc 343 code
function redirectForAuthorization($consumerKey, $consumerSecret, $callback = NULL, $sessionStore = NULL) {
$url = YahooSession::createAuthorizationUrl($consumerKey, $consumerSecret, $callback, $sessionStore);
if(!is_null($url)) {
header(sprintf("Location: %s", $url));
exit();
}
else {
// TODO: throw a YahooException
YahooLogger::error("Failed to create authorization URLs");
}
}