Special debug when there's an error!app/app_model.php (line 81)
Debugger Trace:app/app_model.php (line 82)
AppModel::setSource() - APP/app_model.php, line 82 Model::__construct() - CORE/cake/libs/model/model.php, line 474 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 142 Model::__constructLinkedModel() - CORE/cake/libs/model/model.php, line 658 Model::__createLinks() - CORE/cake/libs/model/model.php, line 629 Model::__construct() - CORE/cake/libs/model/model.php, line 482 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 142 Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 493 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - ROOT/httpdocs/index.php, line 65app/app_model.php (line 83)
model vs tableprefix+tablename:app/app_model.php (line 84)
Array
(
[0] => Project
[1] => projects
)
app/app_model.php (line 85)
db sources:app/app_model.php (line 86)
Array
(
[0] => contents
[1] => dbschema
[2] => debug
[3] => districts
[4] => drivetimes
[5] => flows
[6] => flows_overview
[7] => flows_potentials
[8] => flows_potentials_overview
[9] => geocodes
[10] => geocodes_fails
[11] => groups
[12] => groups_users
[13] => logs
[14] => methods
[15] => points
[16] => points_overview
[17] => postcodes
[18] => potentials
[19] => potentials_numeric
[20] => potentials_numeric_retailtiv
[21] => potentials_text
[22] => reports
[23] => reports_scenarios
[24] => scenarios
[25] => sectors
[26] => summary_potentials
[27] => tmp_flows
[28] => tmp_flows_overview
[29] => tmp_flows_potentials
[30] => tmp_flows_potentials_overview
[31] => tmp_points
[32] => tmp_points_overview
[33] => uploads
[34] => users
)
app/app_model.php (line 87)
this:app/app_model.php (line 88)
Project Object
(
[name] => Project
[displayField] => name
[belongsTo] => Array
(
[User] => Array
(
[className] => User
[foreignKey] => user_id
[conditions] =>
[fields] =>
[order] =>
)
)
[hasMany] => Array
(
[Report] => Array
(
[className] => Report
[foreignKey] => project_id
[dependent] =>
[conditions] =>
[fields] =>
[order] =>
[limit] =>
[offset] =>
[exclusive] =>
[finderQuery] =>
[counterQuery] =>
)
[Scenario] => Array
(
[className] => Scenario
[foreignKey] => project_id
[dependent] =>
[conditions] =>
[fields] =>
[order] =>
[limit] =>
[offset] =>
[exclusive] =>
[finderQuery] =>
[counterQuery] =>
)
)
[actsAs] => Array
(
[0] => Containable
[1] => Containable
)
[recursive] => -1
[useDbConfig] => default
[useTable] => projects
[id] =>
[data] => Array
(
)
[table] =>
[primaryKey] => id
[_schema] =>
[validate] => Array
(
)
[validationErrors] => Array
(
)
[tablePrefix] =>
[alias] => Project
[tableToModel] => Array
(
)
[logTransactions] =>
[cacheQueries] =>
[hasOne] => Array
(
)
[hasAndBelongsToMany] => Array
(
)
[Behaviors] => BehaviorCollection Object
(
[modelName] =>
[_attached] => Array
(
)
[_disabled] => Array
(
)
[__methods] => Array
(
)
[__mappedMethods] => Array
(
)
)
[whitelist] => Array
(
)
[cacheSources] => 1
[findQueryType] =>
[order] =>
[virtualFields] => Array
(
)
[__associationKeys] => Array
(
[belongsTo] => Array
(
[0] => className
[1] => foreignKey
[2] => conditions
[3] => fields
[4] => order
[5] => counterCache
)
[hasOne] => Array
(
[0] => className
[1] => foreignKey
[2] => conditions
[3] => fields
[4] => order
[5] => dependent
)
[hasMany] => Array
(
[0] => className
[1] => foreignKey
[2] => conditions
[3] => fields
[4] => order
[5] => limit
[6] => offset
[7] => dependent
[8] => exclusive
[9] => finderQuery
[10] => counterQuery
)
[hasAndBelongsToMany] => Array
(
[0] => className
[1] => joinTable
[2] => with
[3] => foreignKey
[4] => associationForeignKey
[5] => conditions
[6] => fields
[7] => order
[8] => limit
[9] => offset
[10] => unique
[11] => finderQuery
[12] => deleteQuery
[13] => insertQuery
)
)
[__associations] => Array
(
[0] => belongsTo
[1] => hasOne
[2] => hasMany
[3] => hasAndBelongsToMany
)
[__backAssociation] => Array
(
)
[__insertID] =>
[__numRows] =>
[__affectedRows] =>
[_findMethods] => Array
(
[all] => 1
[first] => 1
[count] => 1
[neighbors] => 1
[list] => 1
[threaded] => 1
)
)
Warning (2): Cannot modify header information - headers already sent by (output started at /srv/www/slicr.net/public_html/tmbgeo/cake1.3.13/cake/basics.php:139) [CORE/cake/libs/controller/controller.php, line 742]
Error: Database table projects for model Project was not found.
Notice: If you want to customize this error message, create app/views/errors/missing_table.ctp
| Message | Start Time (ms) | End Time (ms) | Duration (ms) |
|---|---|---|---|
| Core Processing (Derived) | 0 | 819 | 819 |
| Component initialization and startup | 819 | 1023 | 0 |
| Render Controller Action | 1000 | 1023 | 0 |
| Message | Start Time (ms) | End Time (ms) | Duration (ms) |
|---|---|---|---|
| Core Processing (Derived) | 0 | -1337508765830 | -1337508765830 |
| Component initialization and startup | 819 | 1024 | 0 |
| Render Controller Action | 1000 | 1024 | 0 |