FraudRecord Forums

General Discussions => FraudRecord Technical Support => Topic started by: reliablesite on July 17, 2012, 01:34:54 PM

Title: Error: there was a problem querying the client
Post by: reliablesite on July 17, 2012, 01:34:54 PM
When trying to check points from WHMCS, getting the following error:

There was a problem querying the client


-----------------------------------------------
Dedicated Servers (http://www.reliablesite.net/dedicated-servers)
Title: Re: Error: there was a problem querying the client
Post by: harzem on July 17, 2012, 01:44:55 PM
Does it happen with all clients, or a specific one?
Title: Re: Error: there was a problem querying the client
Post by: reliablesite on July 17, 2012, 01:57:01 PM
So far, every client I've tried (about 10) has reported this error. Just trying to check against the e-mail.
Title: Re: Error: there was a problem querying the client
Post by: harzem on July 17, 2012, 02:58:59 PM
What is your whmcs version?
Title: Re: Error: there was a problem querying the client
Post by: reliablesite on July 17, 2012, 03:04:38 PM
Version 5.0.3, haven't yet updated to 5.1.X.
Title: Re: Error: there was a problem querying the client
Post by: harzem on July 17, 2012, 03:13:53 PM
Strange. Let me check some test cases and get back to you.
Title: Re: Error: there was a problem querying the client
Post by: reliablesite on July 17, 2012, 03:32:00 PM
No problem, thanks for the quick replies. We were looking to develop a system exactly like this, two thumbs up!
Title: Re: Error: there was a problem querying the client
Post by: Hidden Street on January 24, 2013, 10:53:40 AM
I just got the same error too. It was previously working fine.
Title: Re: Error: there was a problem querying the client
Post by: Martin on January 25, 2013, 05:12:36 AM
I'm getting the same error now too from WHMCS.

Quote
Error
There was a problem while querying the client.

Whilst doing a lookup online I noticed your SSL certificate for the API has expired, for example by going here I get a warning: https://www.fraudrecord.com/api/?showreport=

Thanks!
Title: Re: Error: there was a problem querying the client
Post by: harzem on January 25, 2013, 06:50:55 AM
Oh yes, the SSL expired without alerting us. I'm reissuing one and I'll make sure it doesn't expire next time.
Title: Re: Error: there was a problem querying the client
Post by: Wajdan on January 27, 2013, 01:41:23 PM
I am still receiving this error on all of our whmcs installations since a week now. Please check.
Title: Re: Error: there was a problem querying the client
Post by: harzem on January 27, 2013, 03:52:25 PM
Can you please tell me your PHP and WHMCS version? I'll try to replicate the issue.
Title: Re: Error: there was a problem querying the client
Post by: Martin on January 27, 2013, 04:00:31 PM
Can you please tell me your PHP and WHMCS version? I'll try to replicate the issue.

I'm still having problems using the addon within WHMCS, so will include my details too:

PHP Version: 5.3.3-7+squeeze14
WHMCS Version: 5.1.3

Thanks.
Title: Re: Error: there was a problem querying the client
Post by: harzem on January 27, 2013, 04:07:14 PM
Is there a "modules/addons/fraudrecord/fraudrecord.log" file in your installation? If there is, can you email it to contact@fraudrecord.com?
Title: Re: Error: there was a problem querying the client
Post by: Martin on January 27, 2013, 06:25:32 PM
Hi,
 
I've checked and I don't have this file.

Thanks
Title: Re: Error: there was a problem querying the client
Post by: harzem on January 27, 2013, 06:57:48 PM
You may be using a previous version of the module then.
http://www.fraudrecord.com/forums/index.php?topic=51.0

Please replace your module files with the version 0.6.1 and try again. At the very least, this version is capable of creating log files. But it is quite possible that the problem will be fixed with the upgrade.
Title: Re: Error: there was a problem querying the client
Post by: Martin on January 27, 2013, 07:13:48 PM
That has fixed it thanks!

Sorry, I didn't know that there was an update available.
Title: Re: Error: there was a problem querying the client
Post by: harzem on January 27, 2013, 07:18:19 PM
I have emailed that announcement to everyone however some people reported that it ended up in spam folders. If you have a twitter account, follow @FraudRecord and I will make sure to update the twitter account more frequently in the future.
Title: Re: Error: there was a problem querying the client
Post by: Wajdan on January 29, 2013, 02:12:00 PM
I dont have this file too.
Title: Re: Error: there was a problem querying the client
Post by: httpeasy on February 26, 2013, 04:06:04 AM
I got this error, too. Updating the module fixed it but the README of the latest module says V 0.5.2.
Title: Re: Error: there was a problem querying the client
Post by: farooqwani19 on March 25, 2013, 04:12:02 AM
Hi,

I am facing this error, i have the latest version. When i try to report a client, it gives me the error.
Title: Re: Error: there was a problem querying the client
Post by: harzem on March 25, 2013, 05:06:17 AM
Please try to locate fraudrecord.log file in the modules folder, and we can find the problem.
Title: Re: Error: there was a problem querying the client
Post by: farooqwani19 on March 25, 2013, 06:26:30 AM
If by locate you mean create, i have created fraudrecord.log file in the modules folder.

What next?
Title: Re: Error: there was a problem querying the client
Post by: harzem on March 25, 2013, 07:10:55 AM
No, I meant "locate", not create. When there is an error, the module creates a log file itself. Can you try to report a client, and see if there is an error file in this location?
/modules/fraudrecord/fraudrecord.log
Title: Re: Error: there was a problem querying the client
Post by: farooqwani19 on March 25, 2013, 07:29:14 AM
Nope, there is no log file created.
Title: Re: Error: there was a problem querying the client
Post by: harzem on March 25, 2013, 07:40:24 AM
Can you please download the fraudrecord.php file in your FTP folder /modules/fraudrecord/fraudrecord.php and send it to contact@fraudrecord?

Also copy and paste the exact error message you are getting when reporting a client.
Title: Re: Error: there was a problem querying the client
Post by: farooqwani19 on March 26, 2013, 12:37:42 PM
A log file has been created and here is the content :

Date:26.03.2013 10:49:22
ERR:API

------
Title: Re: Error: there was a problem querying the client
Post by: harzem on March 27, 2013, 03:37:01 AM
That means you have configured the wrong API Code, or didn't configure it at all. You need to copy your API code from here:
http://www.fraudrecord.com/reporter-profiles.php
And then input it into the module configuration of WHMCS > Setup > Addon Modules > Fraudrecord > Configure
Title: Re: Error: there was a problem querying the client
Post by: SolidShellSecurity on November 05, 2014, 11:54:34 AM
That means you have configured the wrong API Code, or didn't configure it at all. You need to copy your API code from here:
http://www.fraudrecord.com/reporter-profiles.php
And then input it into the module configuration of WHMCS > Setup > Addon Modules > Fraudrecord > Configure
Been having the same issue here. We updated to the latest files but we get the same error in the topic. However, is the API code suppose to show when you save it? Our field shows blank and the log file just shows:

Date:03.11.2014 22:40:25
ERR:API

------

Date:03.11.2014 22:40:51
ERR:API

------

Date:03.11.2014 22:43:27
ERR:API

------

Date:04.11.2014 06:06:32
ERR:API

------

Date:04.11.2014 06:17:16
ERR:API

------


Which looks to be an API issue.
Title: Re: Error: there was a problem querying the client
Post by: WHMCS Services on November 27, 2014, 05:00:41 AM
I see this working fine with no error :)
Title: Re: Error: there was a problem querying the client
Post by: MetricSystem on December 08, 2014, 04:16:46 AM
I, too am having this problem.
I sent you an email with further details. Ticket: 139095

Here's the fraudrecord.php file: https://www.dropbox.com/s/suqrk8ph7x77faf/fraudrecord.php?dl=0