I got this notification when trying to run the server:
[Info]: Start checking DB integrity
: DB error - Incorrect table name ''
[Debug]: at char.cpp:2281 - SELECT 1 FROM `` LIMIT 1;
[Fatal Error]: char : A tables is missing in sql-server, please fix it, see (sql-files main.sql for structure)
Char-Server has terminated abnormally.
Restarting in 15 seconds, press Ctrl+C to cancel.
ShowInfo("Start checking DB integrity\n");
for (i=0; i<ARRAYLENGTH(sqltable); i++){ //check if they all exist and we can acces them in sql-server
if( SQL_ERROR == Sql_Query(sql_handle, "SELECT 1 FROM `%s` LIMIT 1;", sqltable[i]) ){
Sql_ShowDebug(sql_handle);
return false;
}
}
I dont know what's wrong with the line 2281, please help me to fix this error
Question
Rizz
I got this notification when trying to run the server:
[Info]: Start checking DB integrity
Char-Server has terminated abnormally.
Restarting in 15 seconds, press Ctrl+C to cancel.
ShowInfo("Start checking DB integrity\n"); for (i=0; i<ARRAYLENGTH(sqltable); i++){ //check if they all exist and we can acces them in sql-server if( SQL_ERROR == Sql_Query(sql_handle, "SELECT 1 FROM `%s` LIMIT 1;", sqltable[i]) ){ Sql_ShowDebug(sql_handle); return false; } }
I dont know what's wrong with the line 2281, please help me to fix this error
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.