Numerous exceptions thrown by base_facebook.php [closed] - facebook

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
I have a Facebook Application which works but every day I get an exception while testing. All exceptions are being thrown by base_facebook.php - is anyone else encountering these exceptions? Anyone has a stable base_facebook.php that they can share?
Update:
Seems like others are experiencing such exceptions as I found a bug opened with Facebook on high priority. How come nobody reported it yet on Stackoverflow?
http://developers.facebook.com/bugs/267344716670841
-
Fatal error: Uncaught CurlException: 28: connect() timed out! thrown in /home/dev-mpm/public_html/client/PHP3/base_facebook.php on line 814
Fatal error: Uncaught CurlException: 28: SSL connection timeout thrown in /home/dev-mpm/public_html/client/PHP3/base_facebook.php on line 814
Fatal error: Uncaught CurlException: 28: Operation timed out after 60001 milliseconds with 0 bytes received thrown in /home/dev-mpm/public_html/client/PHP3/base_facebook.php on line 814
Fatal error: Uncaught CurlException: 56: SSL read: error:00000000:lib(0):func(0):reason(0), errno 104 thrown in /home/dev-mpm/public_html/client/PHP3/base_facebook.php on line 814
Fatal error: Uncaught Exception: 102: parameters user or session key required thrown in /usr/share/nginx/html/client/PHP3/base_facebook.php on line 708
Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in /usr/share/nginx/html/client/PHP3/base_facebook.php on line 1053

Related

ERROR Error: Uncaught (in promise): EmptyError: no elements in sequence vendor-es2015.js:43770

I'm developing my Ionic/Angular app, and I'm running into the following error when I try to log in through back-end login api. Any ideas as to why? I googled it, but I could find any relevant info, the issue still remains. What causes this error?
vendor-es2015.js:43770 ERROR Error: Uncaught (in promise): EmptyError: no elements in sequence
at resolvePromise (polyfills-es2015.js:4147)
at resolvePromise (polyfills-es2015.js:4104)
at polyfills-es2015.js:4208
at ZoneDelegate.invokeTask (polyfills-es2015.js:3741)
at Object.onInvokeTask (vendor-es2015.js:73623)
at ZoneDelegate.invokeTask (polyfills-es2015.js:3740)
at Zone.runTask (polyfills-es2015.js:3518)
at drainMicroTaskQueue (polyfills-es2015.js:3909)
at ZoneTask.invokeTask [as invoke] (polyfills-es2015.js:3819)
at invokeTask (polyfills-es2015.js:4953)
Finally, I found the cause of the issue. It's due to an error code returned by a back-end api call. After getting rid of the error code, the login functions well.

fatal error : 'couldn't connect to host' ! (Facebook API) [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I'm trying to add Facebook API on my web application..
But when I tried to post links using the Graph API.. I got this error:
Fatal error: Uncaught exception 'Facebook\FacebookSDKException' with
message 'couldn't connect to host' in
/home/u614270703/public_html/test/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:156
Stack trace: #0
/home/u614270703/public_html/test/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php(248):
Facebook\HttpClients\FacebookCurlHttpClient->send('https://graph.f...',
'POST', Array) #1 /home/u614270703/public_html/test/session2.php(32):
Facebook\FacebookRequest->execute() #2 {main} thrown in
/home/u614270703/public_html/test/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php
on line 156
I don't have any idea what is going on. What does this error means? I don't know why I can't 'connect to host'.
Your server probably blocks outgoing CURL requests, contact your provider and ask him if he could open access to the Facebook API server (graph.facebook.com).
There are other threads about this too:
Fatal error: Uncaught CurlException: 7: couldn't connect to host thrown in ....src/base_facebook.php on line 887
How to resolve cURL Error (7): couldn't connect to host?
https://stackoverflow.com/questions/9425406/facebook-api-exception-object-error-on-facebook-app

DB2 Error while proccesing UNIONALL between two queries

I'm getting the following error while proccessing union all between two queries. Any suggestion of what might be the cause? I searched by the error code but don't know which error code is the cause and what might be the fix.
"
An error occurred while processing the results. - [jcc][t4][2030][11211][4.16.53] A communication error occurred during operations on the connection's underlying socket, socket input stream,
or socket output stream. Error location: Reply.fill() - socketInputStream.read (-1). Message: Read timed out. ERRORCODE=-4499, SQLSTATE=08001
[jcc][10120][10943][4.16.53] Invalid operation: statement is closed. ERRORCODE=-4470, SQLSTATE=null
"
Thanks

how to catch Uncaught SoapFault exception [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I am getting the following error. What is wrong? How I can catch or solve this exception.
Fatal error: Uncaught SoapFault exception: [a:InternalServiceFault] The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs. in G:\work\htdocs\Robi_Francis_API\application\controllers\mirsValidation.php:117 Stack trace: #0 G:\work\htdocs\Robi_Francis_API\application\controllers\mirsValidation.php(117): SoapClient->__call('processPayment', Array) #1 G:\work\htdocs\Robi_Francis_API\application\controllers\mirsValidation.php(117): SoapClient->processPayment(Array) #2 [internal function]: MirsValidation->process('13774373733576') #3 G:\work\htdocs\Robi_Francis_API\system\core\CodeIgniter.php(359): call_user_func_array(Array, Array) #4 G:\work\htdocs\Robi_F in G:\work\htdocs\Robi_Francis_API\application\controllers\mirsValidation.php on line 117
Try this:
<?php
try {
$url = "/api/TestService.asmx?wsdl";
$client = new SoapClient($url, array("trace" => 1, "exception" => 0));
} catch (SoapFault $exception) {
echo $exception->getMessage();
}
?>

Uncaught CURLEXCEPTION in facebook login - php sdk

Sometimes, especially, when I am not logged in Facebook, an error shows in my login page with the code pasted from the php-sdk. You can see the output at http://jnfp.tk/login.php. When I refresh the page, sometimes the error goes and the correct output shows but sometimes, the following error shows up :-
Fatal error: Uncaught CurlException: 7: Failed to connect to 2a03:2880:10:cf01:face:b00c:0:4: Network is unreachable thrown in /home/vhosts/www.jnfp.tk/src/base_facebook.php on line 977.
Please tell me how to fix it...