500 ERROR OUT OF NO WHERE - CDbCommand failed to execute the SQL statement

KeithMails

New Member
HEY GUYS NEED HELP BADLY.

NOT SURE WHAT HAPPENED BUT ALL OF A SUDDEN WHEN I GO TO LOGIN IN THE CUSTOMER AREA, THIS IS THE ERROR I GET

Error 500!
CDbCommand failed to execute the SQL statement: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'mw_session' already exists
 

twisted1919

Administrator
Staff member
No idea how you could get such error after you install the app, it's just impossible, given the app creates that table when it is installed then there's nowhere in the code any attempt to create it again.

Try reinstalling it, maybe that helps. As far as i am concerned, there's nothing caused by the app.
 

twisted1919

Administrator
Staff member
There's a cache, apps/common/runtime/cache folder, you can remove it's contents, but i don't see how that will help.
The table is mw_session, you can try empty it from phpmyadmin for example.
 
Top