Menu

#42 Can't login as admin or as user

MySQL_Error
closed-works-for-me
nobody
2
2000-06-25
2000-06-04
Anonymous
No

The script seems to work right, i can register as a user and I get an email but when I try to login as either I get an incorrect login. Here is what my authors table looks like:

+------+------+-----------------------------------+------------------------+---------------+
| aid | name | url | email | pwd |
+------+------+-----------------------------------+------------------------+---------------+
| God | God | http://god.com | god@god.com | $1$gsGzaetb$y |
| gote | gote | http://www.rocket-arena.com/xgote | xgote@rocket-arena.com | zm55dxc3 |
+------+------+-----------------------------------+------------------------+---------------+

the first entry was the default entry, and the second is one I manually entered myself. I suspect it is the way I have something configured?

Discussion

  • David Norman

    David Norman - 2000-06-05
    • priority: 5 --> 2
    • status: open --> open-works-for-me
     
  • David Norman

    David Norman - 2000-06-05

    I think this is a problem on your end. The crypt() option for password storage won't work on all systems. Try changing to $crypt=0 (or $crypt=2 if you're running a fairly recent CVS version) in config.php3, and I bet that'll fix it.

     
  • -mat- filid brandy

    With which version did this happened?
    Did you have an elder version installed and running before?

     
  • David Norman

    David Norman - 2000-06-25
    • status: open-works-for-me --> closed-works-for-me
     
  • David Norman

    David Norman - 2000-06-25

    I'm closing this and blaming it on a weird crypt function on your box (I'm not very up on the different algorithms that different distros use). Just stick with $crypt=0 or $crypt=2 in config.php3 and you should be fine.

     

Log in to post a comment.