This is a discussion on Error: 1017 within the MySQL forums, part of the Database Server Software category; --> Hi, I had a problem with my wiki homepage reports this error: A database error has occurred Query: SELECT ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I had a problem with my wiki homepage reports this error: A database error has occurred Query: SELECT user_name,user_password,user_newpassword,user_emai l,user_email_authenticated,user_real _name,user_options,user_touched,user_token FROM `user` WHERE user_id = '1' LIMIT 1 Function: User::loadFromDatabase Error: 1017 Can't find file: 'user.MYI' (errno: 2) (localhost) Backtrace: * GlobalFunctions.php line 450 calls wfbacktrace() * Database.php line 397 calls wfdebugdiebacktrace() * Database.php line 347 calls databasemysql::reportqueryerror() * Database.php line 723 calls databasemysql::query() * Database.php line 742 calls databasemysql::select() * User.php line 679 calls databasemysql::selectrow() * User.php line 625 calls user::loadfromdatabase() * Setup.php line 216 calls user::loadfromsession() * index.php line 63 calls require_once()[/quote] Can you help me? Tahnks in advance. |
| ||||
| C wrote: > Hi, I had a problem with my wiki homepage reports this error: > > > > A database error has occurred > Query: SELECT > > user_name,user_password,user_newpassword,user_emai l,user_email_authenticated,user_real > > _name,user_options,user_touched,user_token FROM `user` WHERE user_id = > '1' LIMIT 1 > Function: User::loadFromDatabase > Error: 1017 Can't find file: 'user.MYI' (errno: 2) (localhost) > > Backtrace: > > * GlobalFunctions.php line 450 calls wfbacktrace() > * Database.php line 397 calls wfdebugdiebacktrace() > * Database.php line 347 calls databasemysql::reportqueryerror() > * Database.php line 723 calls databasemysql::query() > * Database.php line 742 calls databasemysql::select() > * User.php line 679 calls databasemysql::selectrow() > * User.php line 625 calls user::loadfromdatabase() > * Setup.php line 216 calls user::loadfromsession() > * index.php line 63 calls require_once()[/quote] > > > > Can you help me? > Tahnks in advance. Just like it says - it can't find your user.myi file, This is the user table in your database. Either your database is loaded in a different place, or it had become corrupted. From the error I would more suspect the latter. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== |