[BlueOnyx:14891] Re: trouble with API
Chris Gebhardt - VIRTBIZ Internet
cobaltfacts at virtbiz.com
Sat Mar 8 14:34:05 -05 2014
Hi Michael,
On 3/8/2014 1:03 PM, Michael Stauber wrote:
> Please do this:
>
> In /usr/sausalito/ui/web/base/api/index.php you find this code on the
> lines 117 and 118:
>
> $payload = json_decode($_POST['payload']);
> if (isset($payload->clientsdetails)) {
>
> Wiggle this line in between them:
>
> error_log("BlueOnyx API Payload: $payload");
>
> So the result looks like this:
>
> $payload = json_decode($_POST['payload']);
> error_log("BlueOnyx API Payload: $_POST['payload']");
> if (isset($payload->clientsdetails)) {
>
> Then try that transaction again and watch /var/log/admserv/adm_error to
> see if the line "BlueOnyx API Payload:" shows up. The $_POST['payload']
> is the JSON encoded array with key/value pairs that got passed to your
> BlueOnyx. Please do *not* post that here, as it contains sensitive
> information.
>
> It should not be empty, though. If it is empty, then that might be the
> problem.
Uh oh... it's empty.
[Sat Mar 08 13:32:07 2014] [error] [client 208.77.216.242] BlueOnyx API:
Access from 208.77.216.242 to port 81
[Sat Mar 08 13:32:07 2014] [error] [client 208.77.216.242] BlueOnyx API
Payload:
And that's it.
If you want to take it offlist and have me set you up with access just
let me know. Or I'm happy to keep it onlist in the event it helps
someone in the future.
--
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ
More information about the Blueonyx
mailing list