Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Error While Registering
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

SalmanKhana
Average Member

USA
961 Posts

Posted - 18 July 2001 :  14:46:56  Show Profile
Hi,

I am getting this error after installing the ban ip mod. Kindly let know the fix for it please.. I would appreciate it

Thanks

Microsoft JET Database Engine error '80040e14'

Number of query values and destination fields are not the same.

/portal/content/register.asp, line 310


This Error comes after I installed the ban Ip mod.

the line 310 has the following data

if strQuote = "1" then
strSql = strSql & ", '" & ChkString(Request.Form("Quote"),"message") & "'"
else
strSql = strSql & ", ''"
end if

strSql = strSql & ")" <----- this is line 310

my_Conn.Execute (strSql)

docount

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 July 2001 :  14:50:48  Show Profile
Did you add the necessary code to both the top and bottom parts of the INSERT statement?
Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 18 July 2001 :  14:55:47  Show Profile
The problem is fine now. but i 'hope' ban ip works too.

i just removed one code from these similar lines.

strSql = strSql & ", " & "1"

strSql = strSql & ", '" & Request.ServerVariables("REMOTE_ADDR") & "'"
strSql = strSql & ", '" & Request.ServerVariables("REMOTE_ADDR") & "'"
strSql = strSql & ", '" & Request.ServerVariables("REMOTE_ADDR") & "'"
if strfullName = "1" then



what do u say ?

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 July 2001 :  15:00:57  Show Profile
I'm not sure. As long as what you have is what the instructions said to do.
Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 18 July 2001 :  15:09:16  Show Profile
alrighty . thanx anyways.

i have emailed the files to davio ( ban mod) and tshive ( portal ) to have a look n lemme know

thanx again

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 18 July 2001 :  21:23:56  Show Profile
I don't see anything wrong with your files.
I have sent you back an email with some debugging code in the file.
Post the code here when you run into the error again.

- David
Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 19 July 2001 :  00:24:59  Show Profile
thanx davio.... remember you emailed me the files earlier ? I used one of the register.asp files from that email... It works fine now.

SHould i still use this file and see the error ?

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 19 July 2001 :  00:39:48  Show Profile
I did??
ohh umm, ok.
Well, if you don't get the error no more, no need to do any debugging.
Don't trouble it if it's working, is one of my mottos. hehe

- David
Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 20 July 2001 :  04:29:11  Show Profile
thanx dude.. now theres one more problem with the slash mod..... i've told about it to richard.... lets hope its gets over soon .....

thanx again for ur help .. i appreciate it... like ur motto alot

take it easy

sal.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07