Re: [Logicampus-general] First time (absolutely newbie!) problem!!
Brought to you by:
trilexcom
From: mark <ma...@ta...> - 2004-07-20 03:22:43
|
On Monday 19 July 2004 10:15 pm, Dra. Victoria Loisi wrote: > Hello all!! > > I=B4ve got a poblem ... LC didn=B4t recognize my pass! > I=B4ve edited the auth file: > > define(HERC_USER,'user'); > define(HERC_PASSWD,'pass'); > //set to 1 to use md5 passwords > define(PASSWD_IS_MD5,0); <--- I tried it with 0 and 1 > ?> Herc has nothing to do with it, pretend herc doesn't exist for the time bei= ng. > And I tried adding on the sql table the user and pass... > INSERT INTO lcUsers VALUES ('', 'user', 'pass', '', '', '', '') This truly should ahve worked. Are you sure you got an error after inserti= ng=20 into the SQL table? You cannot leave all the fields blank and get a workin= g=20 user. Here is the SQL to enter. You can paste it into any mysql client. INSERT INTO `lcUsers` ( `pkey` , `username` , `password` , `email` ,=20 `groups` , `createdOn` , `userType` )=20 VALUES ( '', 'user', 'pass', 'address@email', '|public|reg|admin|faculty', NOW(), 1 ); The 1 is for user type admin, 3 is faculty, 2 is student, and 0 is for=20 registered users who are not enrolled at the institution. > > And nothing happened... > > Error: > There was an error with your username or password. Please try again. > > Can you give me some advice? I=B4m sure that I=B4m doing something wrong = here! > > Thanks again for all your help!!!!!!!! > > Victoria |