Author Topic: Flat File Troubles...  (Read 1481 times)

0 Members and 1 Guest are viewing this topic.

Offline YoPedro

  • album.pl User
  • *
  • Posts: 2
  • Karma: +0/-0
  • The default text can be nice once in a while.
Flat File Troubles...
« on: October 29, 2002, 22:22:46 »
First the compliment, album.pl is very cool! However, I seem to be doing something wrong as I cannot get the flatfile authentication to work.  It appears that it is finding the user name and password OK in the auth_db.txt file and that these are matching what the user types in, but it still is not happy.  Here is the debug message:

Code: [Select]
2482: Using Flatfile Authentication (type 1)
2528: Username: jim
2529: Entered Password: eathaggis
2530: Stored Password: eathaggis

2535: Authenticated: 0
2543: Did authentication come from a cookie? ($cookielogin): 0
2545: Leaving subroutine: Authenticate


Any thoughts on what is going on here?

Thanks,

Dan
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Flat File Troubles...
« Reply #1 on: October 30, 2002, 05:50:06 »
The "Authenticated: 0" line means that you weren't authenticated. Check out the auth_db.txt file to see if it has whitespace at the end of the line. Also, make sure you FTP it in ASCII mode, not binary...

Cheers
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline YoPedro

  • album.pl User
  • *
  • Posts: 2
  • Karma: +0/-0
  • The default text can be nice once in a while.
Re: Flat File Troubles...
« Reply #2 on: October 30, 2002, 11:19:58 »
Apparently I had uploaded in Binary, not ASCII, so now it is working beautifully.   Thanks much!
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Flat File Troubles...
« Reply #3 on: October 30, 2002, 11:21:20 »
Glad to hear it!
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »