Unhandled Error!
Error applying validation to templating_engine column. Column type is unknown. Probably this is a calculated column. Please call the "type" method to set the column type.
| Document |
/phproad/modules/db/classes/db_columndefinition.php |
| Document type |
PHP document
|
| Line |
246 |
| Exception class |
Phpr_SystemException |
Code Highlight
return $this;
}
public function validation($customFormatMessage = null)
{
if (!strlen($this->type))
throw new Phpr_SystemException('Error applying validation to '.$this->dbName.' column. Column type is unknown. Probably this is a calculated column. Please call the "type" method to set the column type.');
if ($this->_validationObj)
return $this->_validationObj;
$dbName = $this->isReference ? $this->referenceForeignKey : $this->dbName;
| # |
Call Stack Code |
Document |
Line |
| 15 |
Db_ColumnDefinition->validation() |
/modules/cms/models/cms_theme.php |
33 |
| 14 |
Cms_Theme->define_columns('') |
/phproad/modules/db/classes/db_activerecord.php |
2317 |
| 13 |
Db_ActiveRecord->init_columns_info('') |
/phproad/modules/db/classes/db_activerecord.php |
345 |
| 12 |
Db_ActiveRecord->find() |
/modules/cms/models/cms_theme.php |
402 |
| 11 |
Cms_Theme->get_default_theme() |
/modules/cms/models/cms_theme.php |
382 |
| 10 |
Cms_Theme->get_active_theme() |
/modules/cms/models/cms_page.php |
376 |
| 9 |
Cms_Page->findByUrl('/listings', '') |
/controllers/application.php |
36 |
| 8 |
Application->resolve_page('') |
/controllers/application.php |
72 |
| 7 |
Application->On404() |
/phproad/modules/phpr/classes/phpr_controller.php |
161 |
| 6 |
Phpr_Controller->executeAction(array, array) |
/phproad/modules/phpr/classes/phpr_controller.php |
84 |
| 5 |
Phpr_Controller->_run('On404', array) |
/phproad/modules/phpr/classes/phpr_response.php |
79 |
| 4 |
Phpr_Response->open404('On404', array) |
/phproad/modules/phpr/classes/phpr_response.php |
52 |
| 3 |
Phpr_Response->open() |
/phproad/system/phproad.php |
31 |
| 2 |
include('/home/lvg5/public_html/phproad/system/phproad.php') |
/boot.php |
107 |
| 1 |
require_once('/home/lvg5/public_html/boot.php') |
/index.php |
3 |