Incorrect information in file: 'ac_companies.frm'
Page: 1
I've been using activeCollab for over a month without any problems, but now I can't access it and I get nothing more then a Fatal Error message.
ERROR DETAILS (after setting debug to true):
==============================
ERROR PARAMS
-------------------
File: /home/torontot/public_html/stikimedia/clientsection/environment/library/database/adapters/AbstractDBAdapter.class.php
Line: 371
Sql: SELECT * FROM `ac_companies` WHERE `client_of_id` = '0'
Error number: 1033
Error message: Incorrect information in file: './torontot_collab1/ac_companies.frm'
BACKTRACE
---------------
#0 /home/torontot/public_html/stikimedia/clientsection/environment/library/database/adapters/AbstractDBAdapter.class.php(289): AbstractDBAdapter->prepareAndExecute('SELECT * FROM `...', NULL)
#1 /home/torontot/public_html/stikimedia/clientsection/environment/library/database/DB.class.php(171): AbstractDBAdapter->executeAll('SELECT * FROM `...', NULL)
#2 /home/torontot/public_html/stikimedia/clientsection/environment/classes/dataaccess/DataManager.class.php(182): DB::executeAll('SELECT * FROM `...')
#3 /home/torontot/public_html/stikimedia/clientsection/application/models/companies/base/BaseCompanies.class.php(101): DataManager->find(Array)
#4 /home/torontot/public_html/stikimedia/clientsection/environment/classes/dataaccess/DataManager.class.php(223): BaseCompanies->find(Array)
#5 /home/torontot/public_html/stikimedia/clientsection/application/models/companies/base/BaseCompanies.class.php(135): DataManager->findOne(Array)
#6 /home/torontot/public_html/stikimedia/clientsection/application/models/companies/base/BaseCompanies.class.php(137): BaseCompanies->findOne(Array)
#7 /home/torontot/public_html/stikimedia/clientsection/application/models/companies/Companies.class.php(33): BaseCompanies::findOne(Array)
#8 /home/torontot/public_html/stikimedia/clientsection/application/models/CompanyWebsite.class.php(62): Companies::getOwnerCompany()
#9 /home/torontot/public_html/stikimedia/clientsection/application/models/CompanyWebsite.class.php(45): CompanyWebsite->initCompany()
#10 /home/torontot/public_html/stikimedia/clientsection/application/models/CompanyWebsite.class.php(49): CompanyWebsite->init()
#11 /home/torontot/public_html/stikimedia/clientsection/application/application.php(21): CompanyWebsite::init()
#12 /home/torontot/public_html/stikimedia/clientsection/init.php(125): require_once('/home/torontot/...')
#13 /home/torontot/public_html/stikimedia/clientsection/index.php(9): require('/home/torontot/...')
#14 {main}
Let me know if you need me to post the Autoglobal Variables generated by the debug page.
PS: I don't know if this will help, but I have marked the "keep me logged in for 14 days" on the login screen", so I never have to go through the login screen, I'm always automatically forwarded to my dashboard page.
Thanks,
Igor
ERROR DETAILS (after setting debug to true):
==============================
ERROR PARAMS
-------------------
File: /home/torontot/public_html/stikimedia/clientsection/environment/library/database/adapters/AbstractDBAdapter.class.php
Line: 371
Sql: SELECT * FROM `ac_companies` WHERE `client_of_id` = '0'
Error number: 1033
Error message: Incorrect information in file: './torontot_collab1/ac_companies.frm'
BACKTRACE
---------------
#0 /home/torontot/public_html/stikimedia/clientsection/environment/library/database/adapters/AbstractDBAdapter.class.php(289): AbstractDBAdapter->prepareAndExecute('SELECT * FROM `...', NULL)
#1 /home/torontot/public_html/stikimedia/clientsection/environment/library/database/DB.class.php(171): AbstractDBAdapter->executeAll('SELECT * FROM `...', NULL)
#2 /home/torontot/public_html/stikimedia/clientsection/environment/classes/dataaccess/DataManager.class.php(182): DB::executeAll('SELECT * FROM `...')
#3 /home/torontot/public_html/stikimedia/clientsection/application/models/companies/base/BaseCompanies.class.php(101): DataManager->find(Array)
#4 /home/torontot/public_html/stikimedia/clientsection/environment/classes/dataaccess/DataManager.class.php(223): BaseCompanies->find(Array)
#5 /home/torontot/public_html/stikimedia/clientsection/application/models/companies/base/BaseCompanies.class.php(135): DataManager->findOne(Array)
#6 /home/torontot/public_html/stikimedia/clientsection/application/models/companies/base/BaseCompanies.class.php(137): BaseCompanies->findOne(Array)
#7 /home/torontot/public_html/stikimedia/clientsection/application/models/companies/Companies.class.php(33): BaseCompanies::findOne(Array)
#8 /home/torontot/public_html/stikimedia/clientsection/application/models/CompanyWebsite.class.php(62): Companies::getOwnerCompany()
#9 /home/torontot/public_html/stikimedia/clientsection/application/models/CompanyWebsite.class.php(45): CompanyWebsite->initCompany()
#10 /home/torontot/public_html/stikimedia/clientsection/application/models/CompanyWebsite.class.php(49): CompanyWebsite->init()
#11 /home/torontot/public_html/stikimedia/clientsection/application/application.php(21): CompanyWebsite::init()
#12 /home/torontot/public_html/stikimedia/clientsection/init.php(125): require_once('/home/torontot/...')
#13 /home/torontot/public_html/stikimedia/clientsection/index.php(9): require('/home/torontot/...')
#14 {main}
Let me know if you need me to post the Autoglobal Variables generated by the debug page.
PS: I don't know if this will help, but I have marked the "keep me logged in for 14 days" on the login screen", so I never have to go through the login screen, I'm always automatically forwarded to my dashboard page.
Thanks,
Igor
You are absolutely right, my database table is currupt. Repair didn't work. Will re-creating the table manually help.? if so, could you give me the DDL so i can run it and populate the ac_companies table manually.
I'm still looking up the error information on google, I'll post back here when I find something.
Thanks,
Igor
I'm still looking up the error information on google, I'll post back here when I find something.
Thanks,
Igor
Thanks for the quick response, but I just realized its worse then this. All my tables for this database are corrupt. I have other databases on my server and they are fine, its only the activeCollab DB thats been corrupted.
I guess a reinstall is in order, but would have any idea of why this might have happened? Would you recommended that I back up my activeCollab database in the future so that I can revert if a problem like this happends again untill you release version 1.
Thanks alot Ilija,
Igor
I guess a reinstall is in order, but would have any idea of why this might have happened? Would you recommended that I back up my activeCollab database in the future so that I can revert if a problem like this happends again untill you release version 1.
Thanks alot Ilija,
Igor
I read somewhere that this error message could be caused because the tmp directory on the MySql server had changed permissions automatically. I'm hosting using Cpannel and the rest of my databases are running fine.
- Does each database have its own tmp directory?
- Could this be the problem, should I contact my host?
Cheers,
Igor
- Does each database have its own tmp directory?
- Could this be the problem, should I contact my host?
Cheers,
Igor
I understand, and I'm very glad that you take time to answer all the posts.
Could you just tell me if there could be a bug in activeCollab that corrupted the database, or if you are pretty sure it had something to do with my host.
Could you just tell me if there could be a bug in activeCollab that corrupted the database, or if you are pretty sure it had something to do with my host.
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.



