Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Problem: Guest post error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem: Guest post error

 Post Reply Post Reply
Author
Per.. View Drop Down
Newbie
Newbie
Avatar

Joined: 12 January 2004
Location: Denmark
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Per.. Quote  Post ReplyReply Direct Link To This Post Topic: Problem: Guest post error
    Posted: 27 October 2005 at 2:09pm
I am running Wiz forum 7.9. MS Access?
 
I have a forum in which I would like all users to write.
But when a guest try to post he get this error:
 
*********************
Microsoft JET Database Engine error '80040e21'

You cannot add or change a record because a related record is required in table 'tblAuthor'.

/post_message.asp, line 756

***********
I wonder if itīs becuace my guest has author_ID 134 in database
I hope someone have the answer
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: 27 October 2005 at 2:13pm
When a guest posts they use the built in guest account.

The built in guest account needs to have the Author_ID of 2 in the database, and the admin Author_ID of 1

If you change either of these your forum will not only be insecure, but fail to run correctly.
Back to Top
Per.. View Drop Down
Newbie
Newbie
Avatar

Joined: 12 January 2004
Location: Denmark
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Per.. Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2005 at 2:35pm
Thanks for the quick response!
 
hmm.... cant I just replace user_id=2 to user_id=134?
Back to Top
aks427 View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 06 December 2003
Location: United States
Status: Offline
Points: 276
Post Options Post Options   Thanks (0) Thanks(0)   Quote aks427 Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2005 at 4:27pm
If you do, you will have to change a lot of code.  The guest account ID is hardcoded into the forum.
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.