CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 login problems with ccs2 beta 1

Print topic Send  topic

Author Message
thomas
Posted: 01/05/2003, 3:25 PM

sometimes it runs sometimes not, here is the error message

Database error: Invalid SQL: SELECT FROM users WHERE ='admin' AND ='admin'
MySQL Error: 1064 (You have an error in your SQL syntax near 'FROM users WHERE ='admin' AND ='admin'' at line 1)
Session halted.

is it of course a buggy version ? they lost informations, why ?

i built up 3 shops, after a while they got all the same problem. before that they run fine...

thomas
RonB
Posted: 01/07/2003, 2:48 PM

You didn't state what language you are using. In PHP the login procedure can be found in the common.php file. The only way this can go wrong is when you altered the site and re published. The sql for the login is hardcoded in the common.php file so that would never mess up 'after a while'. Looks like CCS messes up the common.php file wich you then publish. The missing bits in the sql are the fields of your login table.
Go to common.php in CCS and check the CCLoginUser function (almost at the bottom of the page). If you imported the site from a previous CSS 1.0.7 version go to the common.php file in CCS and remove all code. Then regenerate the common page.
Ron

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.