Hi, I have the following ZSQL-Method: arguments : login --------------------- select user_passwd as real_password from users where users.user_login=<dtml-sqlvar name=login type=string> when I now press "change and test" and insert a valid login into the Login-field I get: Error, Missing Input: Missing input variable, login The database works just fine as do other ZSQL-Methods ... Thanks, Mario
Try using an argument other than 'login' Change it to something else because login could easily be a reserved keyword. To test this simply change it to xlogin or something similar. Let me know if that helps. -Andy -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mario Premke Sent: 10 July 2000 13:58 To: zope@zope.org Subject: [Zope] HEELLPP - Please !!! Hi, I have the following ZSQL-Method: arguments : login --------------------- select user_passwd as real_password from users where users.user_login=<dtml-sqlvar name=login type=string> when I now press "change and test" and insert a valid login into the Login-field I get: Error, Missing Input: Missing input variable, login The database works just fine as do other ZSQL-Methods ... Thanks, Mario _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I think this line:
where users.user_login=<dtml-sqlvar name=login type=string>
Should be: where users.user_login=<dtml-sqlvar login type=string> <--- no name= DR
Hi, I have the following ZSQL-Method:
arguments : login ---------------------
select user_passwd as real_password from users where users.user_login=<dtml-sqlvar name=login type=string>
when I now press "change and test" and insert a valid login into the Login-field I get:
Error, Missing Input: Missing input variable, login
The database works just fine as do other ZSQL-Methods ...
Thanks, Mario
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Daniel Rusch wrote:
I think this line:
where users.user_login=<dtml-sqlvar name=login type=string>
Should be: where users.user_login=<dtml-sqlvar login type=string> <--- no name=
I'm sure that shouldn't make a difference.... Is this another example of DTML being sucky? ;-) Chris
I changed the variable name from login to xlogin ... that worked. login seems to be reserved for some reason ... Mario
Daniel Rusch wrote:
I think this line:
where users.user_login=<dtml-sqlvar name=login type=string>
Should be: where users.user_login=<dtml-sqlvar login type=string> <--- no name=
I'm sure that shouldn't make a difference....
Is this another example of DTML being sucky? ;-)
Chris
participants (4)
-
Andy Dawkins -
Chris Withers -
Daniel Rusch -
Mario Premke