![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Help, pls, w/ CiviCRM::Client::REST->login() failures . . .by hesco (Deacon) |
on Oct 09, 2009 at 18:02 UTC ( #800352=perlquestion: print w/replies, xml ) | Need Help?? |
hesco has asked for the wisdom of the Perl Monks concerning the following question:
Seeking advice on use of CiviCRM::Client::REST, pls. I went into the module itself and added debug statements to dump the url's posted to, to STDERR. I'm told by those on the #civicrm irc channel that the API uses the field names provided by the database tables as keys in its methods. I've checked the drpl_users table and in fact the keys in my login method's arguments do in fact match those field names from the table. When I harvest the url from output, and run that in a browser, it gets me to an access denied page, with a login form. Using these credentials on that login form gets me to the civiCRM menu page, suggesting to me that the url is at least reasonably well formed. There are several other tests coded and failing at this point, but they are all expected to (and in fact do) fail unless the ->login() method succeeds. Any and all ideas for how to move past this issue would be appreciated.
Thanks,
gives me this output:
if( $lal && $lol ) { $life++; } if( $insurance->rationing() ) { $people->die(); }
Back to
Seekers of Perl Wisdom
|
|