Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - HTTP XML API help
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HTTP XML API help

 Post Reply Post Reply Page  <123>
Author
vassabi View Drop Down
Groupie
Groupie


Joined: 13 January 2006
Status: Offline
Points: 87
Post Options Post Options   Thanks (0) Thanks(0)   Quote vassabi Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2008 at 11:06am
I use Russian language pack in my forum can this cause the error?
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: 09 January 2008 at 11:14am
I think you may have missed out parts of the error message so it's a bit hard to work exactly why you get the error.

However, I can tell you line 177 reads in Salt value for the admin password.

Check in your database that you have a main admin account at Author_ID 1 in the tblAuthor table of your database. This is the built in admin account which the API uses to log you in. If this account has been removed for some reason then you would not be able to use this API.
Back to Top
vassabi View Drop Down
Groupie
Groupie


Joined: 13 January 2006
Status: Offline
Points: 87
Post Options Post Options   Thanks (0) Thanks(0)   Quote vassabi Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2008 at 11:21am
Yea the problem is there, I removed Admin account, the account I use has ID = 3, will it work if I just add new account with ID = 1 ?
Back to Top
vassabi View Drop Down
Groupie
Groupie


Joined: 13 January 2006
Status: Offline
Points: 87
Post Options Post Options   Thanks (0) Thanks(0)   Quote vassabi Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2008 at 11:29am
BTW why not just check if the given username and password belongs to someone with admin priveleges?
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: 09 January 2008 at 11:32am
It would work if you change the ID = 1 to ID = 3

The reason for only using the built in Admin account is to reduce the surface attack area.

Also the built in admin account has privileges and options other admin accounts do not have, just like for this, so it is not recommended that you remove this hardcoded account built.
Back to Top
vassabi View Drop Down
Groupie
Groupie


Joined: 13 January 2006
Status: Offline
Points: 87
Post Options Post Options   Thanks (0) Thanks(0)   Quote vassabi Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2008 at 12:33pm
Dear boRg

I have some methods works ok but some of them still has trouble, the method wich creates a forum member is not working on my side it gives the error, the view source shows the following

<?xml version="1.0" encoding="windows-1251" ?> <font face="Arial" size=2>
<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a01f4'</font>
<p>
<font face="Arial" size=2>Variable is undefined: 'isBool'</font>
<p>
<font face="Arial" size=2>/forum/HttpAPI.asp</font><font face="Arial" size=2>, line 1130</font>

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: 14 January 2008 at 12:38pm
Back to Top
vassabi View Drop Down
Groupie
Groupie


Joined: 13 January 2006
Status: Offline
Points: 87
Post Options Post Options   Thanks (0) Thanks(0)   Quote vassabi Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2008 at 1:18pm
Thanks but I guess that's not all

Variable is undefined: 'BoolC'

line 1151

Back to Top
 Post Reply Post Reply Page  <123>

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.