 |
 |
 |
 |
#280262 - 10/06/04 05:26 PM
Re: Importing the Database
[Re: Intel -*RW*-]
|
Code Monkey
Registered: 11/15/02
Posts: 576
Loc: Great Northwest
|
ok I am getting closer-I zipped the actual database (wwwthreads myi etc files) and had him rename them from wwwthredas.* to efs.* etc. But now I am getting this error<br /><br />Script: /usr/www/efs/ubbthreads/ubbt.inc.php<br />Line#: 1617<br />SQL Error: Table 'efs.w3t_Users' doesn't exist<br />SQL Error #: 1146<br />Query: SELECT U_Username,U_Password,U_SessionId, U_StyleSheet, U_Status, U_Privates, U_FrontPage, U_Number, U_Banned,U_LastOn,U_OC_Userid, U_SideBar FROM w3t_Users WHERE U_Number = '' <br /><br /><br />The tabble exists but it is named w3t_Users. Why is it looking for 'efs.w3t_Users'?<br /><br />Thankyou very much for your help <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
ChAoS Emerald Forest Gaming Servers Official STFU Thread
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#280265 - 10/06/04 07:34 PM
Re: Importing the Database
[Re: barbiro]
|
Code Monkey
Registered: 11/15/02
Posts: 576
Loc: Great Northwest
|
> <br />>As I suspected before, this is because the case for your mysql files is different from what your script appears to expect. <br />> <br />>mysql> SELECT U_Username,U_Password,U_SessionId, U_StyleSheet, U_Status, <br />> -> U_Privates, U_FrontPage, U_Number, U_Banned,U_LastOn,U_OC_Userid, U_SideBar <br />> -> FROM w3t_Users limit 1; <br />>ERROR 1146: Table 'efs.w3t_Users' doesn't exist <br />> <br />>mysql> SELECT U_Username,U_Password,U_SessionId, U_StyleSheet, U_Status, <br />> -> U_Privates, U_FrontPage, U_Number, U_Banned,U_LastOn,U_OC_Userid, U_SideBar <br />> -> FROM w3t_users limit 1; <br /> <br /> <br /> <br />egad! is this a result of going from Windows to Unix? How do I fix this without rewriting Threads?
Edited by ChAoS (10/06/04 08:17 PM)
_________________________
ChAoS Emerald Forest Gaming Servers Official STFU Thread
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#280278 - 10/08/04 07:35 PM
Re: Importing the Database
[Re: barbiro]
|
Code Monkey
Registered: 11/15/02
Posts: 576
Loc: Great Northwest
|
Any idea what could have caused this? <br />Script: /usr/www/efs/ubbthreads/ubbt.inc.php <br />Line#: 491 <br />SQL Error: Can't open file: 'w3t_Online.MYD'. (errno: 145) <br />SQL Error #: 1016 <br />Query: REPLACE INTO w3t_Online (O_Username,O_Last,O_What,O_Board,O_Read,O_Type,O_Extra,O_Agent,O_Refer) VALUES ('-ANON-208.54.15.1','1097282232','index','','','a','','Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20041001 Firefox/0.10.1','') <br /> <br /> <br />Now when I go to the tables It says this about that particular one <br /> <br /> w3t_Online Browse Select Insert Properties Drop Empty in use <br /> <br />and and seems the the file w3t_Online.MYD is no longer in the db folder. All I did was open the entrance page <img src="http://www.ubbdev.com/forum/images/graemlins/frown.gif" alt="" /> <br /> <br />SELECT FROM w3t_Users WHERE U_SQL-Hell > '1'; <br />1 results returned <br />ChAoS
Edited by ChAoS (10/08/04 07:41 PM)
_________________________
ChAoS Emerald Forest Gaming Servers Official STFU Thread
|
|
Top
|
|
|
|
 |
 |
 |
 |
| |