RE: [PHPLIB] Error - Authenticate From: Chris Johnson (chris <email protected>)
Date: 01/27/00

It appears your database is corrupt or something. The "user_profile"
table consists of 3 files (at least, under MySQL 3.21 and 3.22):
user_profile.ISD, user_profile.ISM, and user_profile.frm. It looks like
an entire file is missing or inaccessible.

..chris

> -----Original Message-----
> [mailto:phplib-owner <email protected>]On Behalf Of Evandro Piana
> Sent: Monday, January 24, 2000 10:49 PM
> Subject: [PHPLIB] Error - Authenticate

> I'm using PHP Version 3.0.11 upon Windows NT 5.0.
>
> I'm trying to run:
> if (authenticateUser($form_user_id, $form_password)){
>
> and found error bellow:
> internal error 1017:Can't find file: 'user_profile.frm' (errno: 2)
>
> The body function is:
> function authenticateUser($user, $password)
> {
> global $DB_SERVER, $HTTP__HOST, $DB_LOGIN, $DB_PASSWORD, $DB,
> $DOCROOT ;
>
> // Open a persistent connection with the MySQl server
> if (!($link = mysql_pconnect ($DB_SERVER,$DB_LOGIN, $DB_PASSWORD))) {
> // DisplayErrMsg(sprintf("internal error %d:%s\n",
> // mysql_errno(), mysql_error()));
> DisplayErrMsg(sprintf("internal error %s %s %s
> %d:%s\n",$DB_SERVER, $DB_LOGIN, $DB_PASSWORD,
> mysql_errno(), mysql_error()));
> return 0 ;
> }
>
>
> Thanks, Evandro

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.