multibyte Posted May 13, 2015 Report Posted May 13, 2015 Hello, I have just installed the Logic Boxes module for Reseller Club. I have managed to get everything to work and taken my first order. I do however have 1 question when going into manage the domain on blesta client. I am unable to access the Whois tab or the Settings Tab. Has anyone come across this and know how to fix it. Thanks Quote
0 Tyson Posted May 15, 2015 Report Posted May 15, 2015 Yes that would be really great if you could Tyson, I really appreciate that and I am more then willing to pay for your time. Thank-you very much and I look forward to hearing from you! Attached to my post is an update to the Logicboxes module, v2.1.2. Backup and overwrite your old file at /components/modules/logicboxes/logicboxes.php. Then let me know if you continue to encounter any more errors. logicboxes.zip Michael 1 Quote
0 Michael Posted May 13, 2015 Report Posted May 13, 2015 Looks like you are missing a few files..? Have you upgraded before and forgot to run /upgrade/? It works fine for me: http://screencast.com/t/iNZ7QkfWYqjd Quote
0 multibyte Posted May 13, 2015 Author Report Posted May 13, 2015 Looks like you are missing a few files..? Have you upgraded before and forgot to run /upgrade/? It works fine for me: http://screencast.com/t/iNZ7QkfWYqjd Hello Licensecart, no this was a fresh Install, thanks Quote
0 Michael Posted May 13, 2015 Report Posted May 13, 2015 Hello Licensecart, no this was a fresh Install, thanks ok I recommend re-uploading the files to see if you have missed a few in the logicboxes module. Quote
0 Tyson Posted May 13, 2015 Report Posted May 13, 2015 After you get that error, go to the module logs under [Tools] -> [Logs], click on the top row to see the Input/Output data from the whois/settings request. It seems like there is no response, or the data received from Logicboxes is unexpected. If you can include the log information, it may be helpful in seeing why you get that error and whether it is something we can work around. Feel free to redact any sensitive information. Quote
0 multibyte Posted May 13, 2015 Author Report Posted May 13, 2015 Hello Tyson please see the top two from the logs for Logicboxes, hope this helps Please note words with *word* is stuff I have hidden:- First Input: https://httpapi.com/api/customers/search.json a:5:{s:8:"username";s:30:"*EMAIL*";s:13:"no-of-records";i:10;s:7:"page-no";i:1;s:11:"auth-userid";s:6:"595870";s:7:"api-key";s:32:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";} Second Output: https://httpapi.com/api/customers/search.json {"recsonpage":"1","recsindb":"1","1":{"customer.username":"EMAIL","customer.name":"James Wallace","customer.totalreceipts":"0.000","customer.resellerid":"595870","customer.country":"GB","customer.city":"*MY CITY*","customer.websitecount":"0","customer.customerstatus":"Active","customer.company":"Multibyte Web Services","customer.customerid":"12934360"}} Quote
0 Tyson Posted May 13, 2015 Report Posted May 13, 2015 That request looks fine, but it is also a different API request than would have led to the error. Instead of the URL shown as https://httpapi.com/api/customers/search.json, the request I'm looking for should begin with the URL https://httpapi.com/api/domains/details.json Do you have any logs for domains/details? Also, what version of Blesta and the Logicboxes module are you using? Blesta's version is shown in the admin footer, and the Logicboxes version is shown under [settings] -> [Modules] -> [installed]. Quote
0 multibyte Posted May 13, 2015 Author Report Posted May 13, 2015 Hello Please see below as requested:- There was no domains/details but there was a domains register please see below input and output for this:- Input: https://httpapi.com/api/domains/register.json a:12:{s:11:"domain-name";s:21:"multibytestatus.co.uk";s:5:"years";s:1:"1";s:11:"customer-id";s:8:"12934360";s:14:"reg-contact-id";i:44010858;s:16:"admin-contact-id";i:-1;s:15:"tech-contact-id";i:-1;s:18:"billing-contact-id";i:-1;s:14:"invoice-option";s:9:"NoInvoice";s:15:"protect-privacy";s:5:"false";s:2:"ns";a:2:{i:0;s:20:"ns1.multi-byte.co.uk";i:1;s:20:"ns2.multi-byte.co.uk";}s:11:"auth-userid";s:6:"595870";s:7:"api-key";s:32:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";} Output: https://httpapi.com/api/domains/register.json {"actiontypedesc":"Registration of multibytestatus.co.uk for 1 year","actionstatus":"Success","entityid":"60457884","status":"Success","eaqid":"296480572","actiontype":"AddNewDomain","description":"multibytestatus.co.uk","actionstatusdesc":"Domain registration completed Successfully"} I am using Blesta 3.4.2 and LogicBoxes 2.1.2 Thanks again. Quote
0 Tyson Posted May 13, 2015 Report Posted May 13, 2015 The register request looks good too. It seems like fetching the domain details results in an unexpected response, as if the expected fields are missing. Even if we fixed the error, the page wouldn't display any whois information because of it. I see that the domain details are not being logged (likely because it contains a lot of redundant data that may be re-accessed and re-logged frequently), I would suggest updating the module to add logging in so that we can see what the response is from Logicboxes. If you're able to update a file, find and backup /components/modules/logicboxes/logicboxes.php from your Blesta installation. Then open it and find this line: $response = $domains->details(array('order-id' => $fields->{'order-id'}, 'options' => array("RegistrantContactDetails", "AdminContactDetails", "TechContactDetails", "BillingContactDetails"))); Below that line, add: $this->processResponse($api, $response); Save the file and overwrite the one from your Blesta installation. Then go to the Whois tab for a service. Once you see the error, check the module logs again, and you should have an entry for domain/details. What does it contain? ariq01 1 Quote
0 multibyte Posted May 13, 2015 Author Report Posted May 13, 2015 Hello Tyson, Please see below details after following your request:- Input: https://httpapi.com/api/domains/details.json a:4:{s:8:"order-id";s:8:"60457884";s:7:"options";a:4:{i:0;s:24:"RegistrantContactDetails";i:1;s:19:"AdminContactDetails";i:2;s:18:"TechContactDetails";i:3;s:21:"BillingContactDetails";}s:11:"auth-userid";s:6:"595870";s:7:"api-key";s:32:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";} Output: https://httpapi.com/api/domains/details.json {"isImmediateReseller":"false","classkey":"thirdleveldotuk","isOrderSuspendedUponExpiry":"false","classname":"com.logicboxes.foundation.sfnb.order.domorder.ThirdLevelDotUk","registrantcontact":{"emailaddr":"james.wallace@multi-byte.co.uk","country":"GB","contactstatus":"Active","contacttype":["thirdleveldotuk"],"name":"James Wallace","parentkey":"999999999_314815_595870","address2":"Chester-le-street","company":"Multibyte Web Services","city":"Durham","address1":"*FIRST LINE OF MY ADDRESS*","contactid":"44010858","telnocc":"44","zip":"*MY POST CODE*","telno":"1111111","state":"DUR","customerid":"12934360","type":"UkContact"}} Quote
0 multibyte Posted May 14, 2015 Author Report Posted May 14, 2015 Hello Tyson, Did you manage to have any ideas regarding the above? Quote
0 Tyson Posted May 14, 2015 Report Posted May 14, 2015 I see that not all expected fields are returned by Logicboxes. They may have updated their API to change the values it returns, or there may be permissions on your account blocking the data that is returned. In any case, what we can do is update the module to only display whois information for the contacts that Logicboxes responds with. In your example, you would have the Registrant Contact, but would not have any Admin Contact, Billing Contact, or Technical Contact. Although the module added these contacts when the service was created in Blesta, they don't appear to be available via the API for some reason. The same is likely true for the other "domsecret" error you received. This update would fix the errors you receive, but functionality may be more limited since, for instance, you cannot update some contacts from the Whois tab. I can look into fixing this this week and send you a private message with the update so you can test the fixes, since I do not experience this issue myself. Quote
0 multibyte Posted May 14, 2015 Author Report Posted May 14, 2015 Yes that would be really great if you could Tyson, I really appreciate that and I am more then willing to pay for your time. Thank-you very much and I look forward to hearing from you! Quote
0 Blesta Addons Posted May 14, 2015 Report Posted May 14, 2015 Hello, I have just installed the Logic Boxes module for Reseller Club. I have managed to get everything to work and taken my first order. I do however have 1 question when going into manage the domain on blesta client. I am unable to access the Whois tab or the Settings Tab. Has anyone come across this and know how to fix it. Thanks picture 3.JPG picture 2.JPG can you test my logicbox reloaded and test if you get the same result . Quote
0 multibyte Posted May 15, 2015 Author Report Posted May 15, 2015 can you test my logicbox reloaded and test if you get the same result . Hello Naja7Host, I will give this a try when I get in tonight, i didn't realize you had made a different one. I will report my finding, thanks Quote
0 multibyte Posted May 15, 2015 Author Report Posted May 15, 2015 Attached to my post is an update to the Logicboxes module, v2.1.2. Backup and overwrite your old file at /components/modules/logicboxes/logicboxes.php. Then let me know if you continue to encounter any more errors. Thanks so much Tyson, that worked a treat I owe you big time! thanks again Quote
Question
multibyte
Hello,
I have just installed the Logic Boxes module for Reseller Club.
I have managed to get everything to work and taken my first order.
I do however have 1 question when going into manage the domain on blesta client. I am unable to access the Whois tab or the Settings Tab.
Has anyone come across this and know how to fix it.
Thanks
16 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.