General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 18th, 2003, 04:21 AM
pjp pjp is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 10 pjp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy database server error

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.

Reply With Quote
  #2  
Old February 19th, 2003, 08:13 PM
rathaur rathaur is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Malaysia
Posts: 82 rathaur User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 57 sec
Reputation Power: 7
Hi,

Could please paste here the error messages . That would help us to suggest something.
__________________
Rathaur
======================
Knowledge is Power

Reply With Quote
  #3  
Old February 20th, 2003, 10:46 AM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 236 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 1 h 50 m 19 sec
Reputation Power: 6
Send a message via AIM to CHornJr Send a message via MSN to CHornJr Send a message via Yahoo to CHornJr
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

Reply With Quote
  #4  
Old February 20th, 2003, 02:45 PM
pjp pjp is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 10 pjp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > database server error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT