PHP Classes

PHP oAuth API

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  PHP oAuth API  >  (Un) Subscribe thread alerts  
Subject:PHP oAuth API
Summary:Thanks, it's a great class!
Messages:31
Author:E.F. de moor
Date:2013-10-24 21:45:24
Update:2013-12-20 20:01:58
 
  1 - 10   11 - 20   21 - 30   31 - 31  

  11. Re: PHP oAuth API   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-11-14 18:54:26 - In reply to message 10 from pradeep
You need to include auth_client.php first because it defines the base class for the database_oauth_client_class.

  12. Re: PHP oAuth API   Reply   Report abuse  
Picture of pradeep pradeep - 2013-11-15 05:33:13 - In reply to message 11 from Manuel Lemos
It is not giving me any error this time after doing changes as you have suggested.
But data is not entering into my database table.

var $database = array(
'host'=>'',
'user'=>'',
'password'=>'',
'name'=>'',
'port'=>3328,
'socket'=>''
);

i have used above config.
with my own credentials but not working.

  13. Re: PHP oAuth API   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-11-15 06:31:21 - In reply to message 12 from pradeep
Try setting the debug variable to true and look at the PHP error log file to see what messages appear there. If you have difficulty, post the messages here so I can help figuring the problem.

  14. Re: PHP oAuth API   Reply   Report abuse  
Picture of pradeep pradeep - 2013-11-15 18:15:19 - In reply to message 13 from Manuel Lemos
I checked the error log . no error is coming.


  15. Re: PHP oAuth API   Reply   Report abuse  
Picture of pradeep pradeep - 2013-11-15 18:16:07 - In reply to message 14 from pradeep
but data is not getting entered to database.

  16. Re: PHP oAuth API   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-11-15 18:35:11 - In reply to message 14 from pradeep
You are not doing it right. When you set the debug flag, the class sends messages to the error log. If you are not seeing any messages, you are not making the the class output the messages to error log. Please make sure you are doing what I am telling you.

  17. Re: PHP oAuth API   Reply   Report abuse  
Picture of pradeep pradeep - 2013-11-16 01:46:40 - In reply to message 16 from Manuel Lemos
how to set the debug flag.
please let me know how to do this.

  18. Re: PHP oAuth API   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-11-16 03:53:08 - In reply to message 17 from pradeep
Look at the examples. Usually there is a line like this:

$client->debug = true;

  19. Re: PHP oAuth API   Reply   Report abuse  
Picture of E.F. de moor E.F. de moor - 2013-11-16 07:57:42 - In reply to message 3 from E.F. de moor
Dear Manual,

Just out of curiosity:

Were you able to reproduce my problem (data not posted to DropBox), and did the patch I wrote in the first message help?

(Details in the first and third messages of this thread)

Thanks again for your great code!

Ernst de Moor.

  20. Re: PHP oAuth API   Reply   Report abuse  
Picture of pradeep pradeep - 2013-11-16 09:57:38 - In reply to message 18 from Manuel Lemos
i have recieved all the info in log. after using this $client->debug = true;

 
  1 - 10   11 - 20   21 - 30   31 - 31