|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
please please please help?
i have created with the help of ben rowe a members login area, i have no problem with registering new user, but when i try to log in i get a database server error, this error is then logged in my log table, can anyone see a reason why this is so perhaps its mysql, apache, really i dont know what to do. |
|
#2
|
|||
|
|||
|
Hi,
Could please paste here the error messages . That would help us to suggest something.
__________________
Rathaur ====================== Knowledge is Power |
|
#3
|
||||
|
||||
|
Did you copy the code fromt he article or did you use the support material at the end of the article (I forgot which article it was attached to, but i believe it was 2) cause there were some minor errors int he code in the article, but the code in the support material was fine
__________________
CHornJr "One day I'll know what I am doing" ![]() My Blog Suanhacky Lodge #49 Rebel Squadrons |
|
#4
|
|||
|
|||
|
i used the code from the article for part 2 and the support material for part one. the reason fro this is because i could'nt find any support material for the registration and login scripts.
what happens is that when i attempt to log in i simple get a bank page that says Database Error: Go Back when i select * from the log table i see that the error Database Server error, Login, encrypted password, ip address, date, & time i understand that this piece of code is responsible for the error $strLog = "Database Server Error: Login, $strUser, $strPass, {$_SERVER['REMOTE_ADDR']}," . mysql_error() . "," . date("d/m/Y h:i:m A"); $dtlsSecurity->AddLog($strLog); When i select * from user table it showns that tere is nothing in it. if anyone wishes to see all my code then i will gladly send it on to you,and maybe you can find the problem. Last edited by pjp : February 20th, 2003 at 02:50 PM. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > database server error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|