Search the web
Sign In
New User? Sign Up
speckcms · Speck CMS
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Error setting up database security   Message List  
Reply | Forward Message #725 of 830 |
Hello - I am trying to set up the Speck security file to pull from a
database as opposed to a file. However I get a ColdFusion error.

Here is my .users file

[options]
source = c:\Program Files\Apache
Group\Apache2\htdocs\CRAFT\Craft_QA_OcalaNF_v08.24.2007.mdb

[database]
userlist = SELECT user_name AS user, user_real_name AS fullname,
user_password AS password, user_email AS email FROM [User]
userget = SELECT user_real_name AS fullname, user_password AS
password, user_email AS email, user_id AS id FROM [User] WHERE
UPPER(user_name)=UPPER(%)

And the error I get is
The string "st.User.WHERE UPPER(user_name)" is not a valid ColdFusion
variable name.
Valid variable names must start with a letter, and can only contain
letter, numbers, and underscores.

Removing the UPPER functions does not solve ths issue. What am I
missing? Thanks,
Todd Pierce
Research Scientist
University of North Carolina - Asheville





Fri Feb 1, 2008 5:01 pm

tpierceint
Offline Offline
Send Email Send Email

Forward
Message #725 of 830 |
Expand Messages Author Sort by Date

Hello - I am trying to set up the Speck security file to pull from a database as opposed to a file. However I get a ColdFusion error. Here is my .users file ...
tpierceint
Offline Send Email
Feb 1, 2008
5:13 pm

Hi, Mark ... The value of the source setting should be either "file" or "database" (without the quotes). This isn't the cause of the error though - the code...
Mark Woods
markthickpaddy
Offline Send Email
Feb 1, 2008
5:44 pm

... Um, dunno what happened there, thunderbird voodoo ;-) Mark...
Mark Woods
markthickpaddy
Offline Send Email
Feb 1, 2008
5:47 pm

Thanks - I have it working now - I had missed the datasource tag. The lines below work for me now! Todd [options] source=database [database] ...
tpierceint
Offline Send Email
Feb 1, 2008
8:10 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help