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: MOD Implementation
 Error- pop_profile.asp after active users install
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ryan
Average Member

USA
858 Posts

Posted - 14 June 2003 :  17:31:04  Show Profile  Visit Ryan's Homepage
When I installed the active users MOD I got this error when I go to submit my profile after I have changed it:
Microsoft JET Database Engine error '80040e14'

Syntax error (comma) in query expression 'M_NAME = 'Le Quack' AND M_PASSWORD = 'e778b37e1d5be611f2b8c8a2231b18c5c412260625420f70e89693c1b7754a70', M_AUHIDE = '1''.

/reducks87/tplforum/pop_profile.asp, line 1250

You may view the txt of my pop_profile.asp at http://www.thepoultrylink.com/snitzviewer.htm
Any suggestions?

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help

masterao
Senior Member

Sweden
1678 Posts

Posted - 14 June 2003 :  17:38:30  Show Profile  Visit masterao's Homepage
That is because you have pasted some lines wrong (marked red below).


			if strBio = "1" then
				strSql = strSql & ",	M_BIO = '" & ChkString(Request.Form("Bio"),"message") & "'"
			end if
			strSql = strSql & " WHERE M_NAME = '" & ChkString(Request.Form("Name"), "SQLString") & "' "
			if strAuthType = "db" then 
				strSql = strSql & " AND   M_PASSWORD = '" & ChkString(Request.Form("Password-d"), "SQLString") & "'"
			end if
			if strAUAnon = "1" then 
				strSql = strSql & ",	M_AUHIDE = '" & ChkString(Request.Form("AUHide"),"") & "'" 
			end if


The above should be like this:


			if strBio = "1" then
				strSql = strSql & ",	M_BIO = '" & ChkString(Request.Form("Bio"),"message") & "'"
			end if
			if strAUAnon = "1" then 
				strSql = strSql & ",	M_AUHIDE = '" & ChkString(Request.Form("AUHide"),"") & "'" 
			end if
			strSql = strSql & " WHERE M_NAME = '" & ChkString(Request.Form("Name"), "SQLString") & "' "
			if strAuthType = "db" then 
				strSql = strSql & " AND   M_PASSWORD = '" & ChkString(Request.Form("Password-d"), "SQLString") & "'"
			end if

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 14 June 2003 :  18:01:38  Show Profile  Visit Ryan's Homepage
Great thanks!

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 14 June 2003 :  18:21:09  Show Profile  Visit masterao's Homepage
Your welcome

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07