NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
How to debug Oauth client-server application ?


Joined: 10 Mar 2012
Posts: 1
Reply with quote
I read a lot of topics about debugging a client-server application (most concerned SOAP client-server).

I also wach the parallel debbugging video tutorial.

My question is how can I debug an Oauth client-server applicaion with PHPEd.

This is the client code

Code:

<?php
   $oauth_client = new Oauth("key","secret");
   $oauth_client->enableDebug();
   try {
      $info = $oauth_client->getRequestToken("http://localhost/oauth/oauth/request_token?oauth_callback=http://localhost/oauth/client/callback.php");
      
   } catch(OAuthException $E){
      echo "<pre>".print_r($E->debugInfo,true)."</pre>";
   }
?>


I tryed to put the DebugBreak(); function in the server code but I received an error "faild to resolve client adress".

All the server and client files are on the same linux remote server.
View user's profileFind all posts by paul.necsoiuSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
There might be something in this thread that will assist http://forum.nusphere.com/remote-debug-when-server-receives-a-request-t8269.html
View user's profileFind all posts by plugnplaySend private message
How to debug Oauth client-server application ?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic