Hi,
My website is online and i am facing the below error from the last couple of months.
CDbException
The table "tbl_user" for active record class "User" cannot be found in the database
The error comes once in 4-5 days and after 10-15 it resolves automatically, and the user is able to login.
I have asked the person where my website is hosted whether the database was down, but they said that the database was up and running.
I dont understand why i am getting this error.
Is there anyone who is facing the same issue. I am using YII version 1.1.12
Regards
Sanjay
Hi Everyone,
Is there anyone facing this issue, because i am getting this issue every week.
Regards
Sanjay
In user model
please change the function
public function tableName() {
return 'your_user_tablename';
}
Hi,
Thanks for your reply… But it is having the correct table name where my user’s is located.
I think there must be problem from the server side which they are hiding.
Thanks
Sanjay
Hi
can you post your model code and user db?
Hi Ankit,
The problem is solved as the server where my domain was hosted was always overutilized with load and also the partition was on critical stage.
Thanks again for your valuable time for looking into my problem.
Regards
Sanjay