close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

unknown column error with SA2 Login.php

Thread began 5/31/2011 2:37 pm by Dennis | Last modified 6/09/2011 3:31 pm by Jason Byrnes | 1612 views | 7 replies |

Dennis

unknown column error with SA2 Login.php

Hi,

I have tried at least three times to create a set of pages with SA2. Everytime when I test the Login page I get the error "Unknown column 'DennisTest' in 'where clause'" as the only thing displayed on the page.

This happens only with the remote website & database not with my localhost. The localhost database was created just prior to testing, using the SQLyog Copy Database utility.

To my knowledge 'DennisTest' does not exist in the database either as data or a column name.

Thanks,
Dennis

Attached Files
member_login.zip
Sign in to reply to this post

Dennis

More info

After noticing the Login page appears when accessing from another computer, I deleted cookies & form data from IE the page now works from my main computer.

However I also have the word "undefined" displayed as the beginning of the page as others have mentioned in another thread.

Additional concerns/questions...

I did not see a prompt to specify either, on failure or on success, redirects in the SA2 wizard.

On my installation NO help link was installed in the DreamWeaver Help menu.

How do you utilize a DW Template with the SA2 wizard.

Dennis

Sign in to reply to this post

AlaskaTomBeta Tester

I tried this, and get the exact same errors on both login, and forgot password pages.
After walking through the generated code, and include files, I figured out how to echo back the generated query, and realized there were no quotes around the username and password field data in the query. This appears to be due to incorrect column types (blank column types) being passed to the WA_GetSQLValueString function as the query is being generated.

I looked through the generated code on my login page, and see that the column type is blank
"columnTypes" => explode($WA_Auth_Separator,"".$WA_Auth_Separator.""),

should be
"columnTypes" => explode($WA_Auth_Separator,"text".$WA_Auth_Separator."text"),

and on the forgot password page,
"columnType" => "",

should be
"columnType" => "text",

Since this bug makes the login function and forgot password function unusable, I assume that this happens only under certain circumstances.

I am running Dreamweaver CS5.5 on Windows XP pro.

Hopefully that will help them track it down.

Thanks
Tom

Sign in to reply to this post

Jason ByrnesWebAssist

Denis:

  I did not see a prompt to specify either, on failure or on success, redirects in the SA2 wizard.  



The success and failure are not specified in the wizard with version 2. Instead, version 2 handles login success and failure through messaging that is displayed on the page using authentication rules and the security assist show region behavior.

you can double click on the Security Assist Authenticate user behavior to change the success and failure behaviors.



  On my installation NO help link was installed in the DreamWeaver Help menu.  



the Security Assist help is under WebAssist -> Help -> SecurityAssist -> Help

it is also available on the security assist support page:
securityassist/

by clicking the "Built-In" Help link.

  How do you utilize a DW Template with the SA2 wizard.  



The template will need to be applied to the SecurityAssist pages after they are created.



for the other issues reported, I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Dennis

Thanks Jason,

I do not have a ticket for this thread in my support history.

Dennis

Sign in to reply to this post

Jason ByrnesWebAssist

should be there now.

Sign in to reply to this post

Jediha

I confirm that in my first try the login page gave the same error and I found the same "solution" by putting text between the "".

A second try however gave a perfect login page. I remember that the first time I altered the login page by editing the authenticate user server behavior to add extra session variables.

Hope this helps tracking the bug down.

Hans

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...