Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - HTTPAPI Problem After upgrading
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HTTPAPI Problem After upgrading

 Post Reply Post Reply
Author
Romnus View Drop Down
Groupie
Groupie


Joined: 16 September 2009
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote Romnus Quote  Post ReplyReply Direct Link To This Post Topic: HTTPAPI Problem After upgrading
    Posted: 13 October 2014 at 5:14am
After I upgraded to version 11 the httpApi does not work, even though I correctly set the username and password and provided them with Admin rights. Any insights what may be causing this?


strhtml "<?xml version="1.0" encoding="utf-8" ?>  <ApiResponse>   <ErrorCode>-101</ErrorCode>   <ErrorDescription>Failed to retrieve Admin Login Data from Database</ErrorDescription>   <ResultData/>  </ApiResponse>" String

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2014 at 8:38am
Make sure that you have the HTTP XML API enabled from the 'General settings' page in the admin area and that you are using the built in super admin account for the authentication.
Back to Top
Romnus View Drop Down
Groupie
Groupie


Joined: 16 September 2009
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote Romnus Quote  Post ReplyReply Direct Link To This Post Posted: 17 October 2014 at 12:38am
Thanks for the suggestion but everything was already set accordingly. Any more suggestions.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 17 October 2014 at 7:13am
The error means that the authentication details you are sending to the HTTP API are incorrect.

You have to use the built in admin account for the authorisation for the HTTP API.

Additional admin accounts that you create can not be used for the HTTP API's authentication.
Back to Top
Romnus View Drop Down
Groupie
Groupie


Joined: 16 September 2009
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote Romnus Quote  Post ReplyReply Direct Link To This Post Posted: 17 October 2014 at 1:38pm
Ok. Thanks.
Back to Top
Romnus View Drop Down
Groupie
Groupie


Joined: 16 September 2009
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote Romnus Quote  Post ReplyReply Direct Link To This Post Posted: 18 October 2014 at 6:07pm
Solved. I had deleted my super admin account, but then recreated it. However, I found within code that the author ID must be 1. So I just change that value to the current ID of my Super User and it worked.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2014 at 10:53am
You should look at recreating the super admin user with the ID of 1 as this account is hard coded in to many places with in the forum to give options that are only available to this super admin user.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.