Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug

 Post Reply Post Reply
Author
WAKO View Drop Down
Groupie
Groupie
Avatar

Joined: 18 July 2003
Location: United States
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote WAKO Quote  Post ReplyReply Direct Link To This Post Topic: Bug
    Posted: 10 August 2003 at 4:53pm

Noticed now that when a user signs up with alt tags in front of there name when you go to make the user inactive it gives you this error

Microsoft JET Database Engine error '80040e21'

The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data.

/wprules/forum/register.asp, line 776

 

username: =MAD=@Microsoft

Is there any way to fix this problem?

 

WAKO
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: 11 August 2003 at 2:31am
Increase the field size of Username in the tblAuthor table.
Back to Top
WAKO View Drop Down
Groupie
Groupie
Avatar

Joined: 18 July 2003
Location: United States
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote WAKO Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2003 at 2:49am

I increased the size from 25 to 50 and still getting the same error.

 

WAKO
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: 11 August 2003 at 3:12am
Increase the size of the User_code field in the same table.
Back to Top
WAKO View Drop Down
Groupie
Groupie
Avatar

Joined: 18 July 2003
Location: United States
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote WAKO Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2003 at 5:53am

Worked Great thats what it was To Many Characters

Im trying to filter out these characters any suggestion

("@""!""#""%""^""&""*""("")""+""=""<"">""?""/""\",0)

on the register.asp for username i want to validate with a message

saying these charecters are not allowed ect.

I noticed its validating the length to 4 but I want these filtered out as well



Edited by WAKO
WAKO
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: 11 August 2003 at 6:47am
You could use JavaScript in the part of the register page that checks the form before submitting and get it to display a javascript message if the username contains these characters.
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.