Warning (512): SQL Error: 145: Table './vietnom_db/vnh_hitcounters' is marked as crashed and should be repaired [CORE/cake/libs/model/datasources/dbo_source.php, line 525]
Code |
Context$sql = "DESCRIBE `vnh_hitcounters`"
$error = "145: Table './vietnom_db/vnh_hitcounters' is marked as crashed and should be repaired"
$out = null
$out = null;
if ($error) {
trigger_error("<span style = \"color:Red;text-align:left\"><b>SQL Error:</b> {$this->error}</span>", E_USER_WARNING);
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 525
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 201
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 336
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 220
DboMysql::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 449
Model::schema() - CORE/cake/libs/model/model.php, line 900
Model::setSource() - CORE/cake/libs/model/model.php, line 757
Model::__construct() - CORE/cake/libs/model/model.php, line 414
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 507
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 461
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 90
Query: DESCRIBE `vnh_hitcounters`
Warning (2): Invalid argument supplied for foreach() [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 451]
Code |
Context$model = Hitcounter
Hitcounter::$name = "Hitcounter"
Hitcounter::$primaryKey = "id"
Hitcounter::$useDbConfig = "default"
Hitcounter::$useTable = "hitcounters"
Hitcounter::$displayField = NULL
Hitcounter::$id = NULL
Hitcounter::$data = array
Hitcounter::$table = "hitcounters"
Hitcounter::$_schema = NULL
Hitcounter::$validate = array
Hitcounter::$validationErrors = array
Hitcounter::$tablePrefix = "vnh_"
Hitcounter::$alias = "Hitcounter"
Hitcounter::$tableToModel = array
Hitcounter::$logTransactions = false
Hitcounter::$transactional = false
Hitcounter::$cacheQueries = false
Hitcounter::$belongsTo = array
Hitcounter::$hasOne = array
Hitcounter::$hasMany = array
Hitcounter::$hasAndBelongsToMany = array
Hitcounter::$actsAs = NULL
Hitcounter::$Behaviors = BehaviorCollection object
Hitcounter::$whitelist = array
Hitcounter::$cacheSources = true
Hitcounter::$findQueryType = NULL
Hitcounter::$recursive = 1
Hitcounter::$order = NULL
Hitcounter::$__exists = NULL
Hitcounter::$__associationKeys = array
Hitcounter::$__associations = array
Hitcounter::$__backAssociation = array
Hitcounter::$__insertID = NULL
Hitcounter::$__numRows = NULL
Hitcounter::$__affectedRows = NULL
Hitcounter::$_findMethods = array
Hitcounter::$_log = NULL
$cache = null
$fields = false
$cols = false
$cols = $this->query('DESCRIBE ' . $this->fullTableName($model));
foreach ($cols as $column) {
DboMysql::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 451
Model::schema() - CORE/cake/libs/model/model.php, line 900
Model::setSource() - CORE/cake/libs/model/model.php, line 757
Model::__construct() - CORE/cake/libs/model/model.php, line 414
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 507
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 461
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 90
Query: DESCRIBE `vnh_hitcounters`
Query: DESCRIBE `vnh_hitcounters`
Query: DESCRIBE `vnh_hitcounters`
Query: DESCRIBE `vnh_hitcounters`
Query: DESCRIBE `vnh_hitcounters`
Query: DESCRIBE `vnh_hitcounters`
Query: DESCRIBE `vnh_hitcounters`
Query: DESCRIBE `vnh_hitcounters`
Query: DESCRIBE `vnh_hitcounters`
Query: DESCRIBE `vnh_hitcounters`
Query: DESCRIBE `vnh_hitcounters`
Query: DESCRIBE `vnh_hitcounters`
Query: DELETE FROM vnh_hitcounters WHERE (vnh_hitcounters.activity < "1328527949")
Query: SELECT COUNT(*) AS `count` FROM `vnh_hitcounters` AS `Hitcounter` WHERE 1 = 1
Warning (2): Cannot modify header information - headers already sent by (output started at /home/vietnom/domains/vietnamheadhunter.com/public_html/cake/basics.php:109) [CORE/cake/libs/controller/controller.php, line 644]
Code |
Context$status = "Location: http://www.vietnamheadhunter.com/jobseekers/login"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 644
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 625
JobseekersController::my_resume() - APP/controllers/jobseekers_controller.php, line 793
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 90