Notice (8): Use of undefined constant VALID_NOT_EMPTY - assumed 'VALID_NOT_EMPTY' [CORE/cake/libs/class_registry.php, line 141]Code | Contextif (class_exists($class) || App::import($type, $pluginPath . $class)) {${$class} =& new $class($settings);$class = "Category" $type = "Model" $_this = ClassRegistry ClassRegistry::$__objects = array ClassRegistry::$__map = array ClassRegistry::$__config = array $false = false $id = false $true = true $objects = array( array( "class" => "Category", "alias" => "Category", "id" => false ) ) $defaults = array() $count = 1 $settings = array( "class" => "Category", "alias" => "Category", "id" => false ) $key = 0 $pluginPath = null $plugin = null $alias = "Category" $model = falseClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141 Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 641 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 497 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83
Notice (8): Use of undefined constant VALID_NUMBER - assumed 'VALID_NUMBER' [CORE/cake/libs/class_registry.php, line 141]Code | Contextif (class_exists($class) || App::import($type, $pluginPath . $class)) {${$class} =& new $class($settings);$class = "Comment" $type = "Model" $_this = ClassRegistry ClassRegistry::$__objects = array ClassRegistry::$__map = array ClassRegistry::$__config = array $false = false $id = false $true = true $objects = array( array( "class" => "Comment", "alias" => "Comment" ) ) $defaults = array() $count = 1 $settings = array( "class" => "Comment", "alias" => "Comment" ) $key = 0 $pluginPath = null $plugin = null $alias = "Comment" $model = falseClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141 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 141 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 141 Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 641 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 497 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83
Notice (8): Use of undefined constant VALID_EMAIL - assumed 'VALID_EMAIL' [CORE/cake/libs/class_registry.php, line 141]Code | Contextif (class_exists($class) || App::import($type, $pluginPath . $class)) {${$class} =& new $class($settings);$class = "User" $type = "Model" $_this = ClassRegistry ClassRegistry::$__objects = array ClassRegistry::$__map = array ClassRegistry::$__config = array $false = false $id = false $true = true $objects = array( array( "class" => "User", "alias" => "User" ) ) $defaults = array() $count = 1 $settings = array( "class" => "User", "alias" => "User" ) $key = 0 $pluginPath = null $plugin = null $alias = "User" $model = falseClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141 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 141 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 141 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 141 Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 641 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 497 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'findAll' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 681]Code | Context$out = null;if ($error) {trigger_error('<span style="color:Red;text-align:left"><b>' . __('SQL Error:', true) . "</b> {$this->error}</span>", E_USER_WARNING);$sql = "findAll" $error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'findAll' at line 1" $out = nullDboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 681 DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266 DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410 DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 364 Model::call__() - CORE/cake/libs/model/model.php, line 502 Overloadable::__call() - CORE/cake/libs/overloadable_php5.php, line 50 Category::findAll() - APP/controllers/categories_controller.php, line 12 CategoriesController::index() - APP/controllers/categories_controller.php, line 12 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83
Query: findAll
Warning (2): Invalid argument supplied for foreach() [APP/views/categories/index.ctp, line 5]Code | Context<ul><?php foreach($categories as $cat): ?>$___viewFn = "/home/sites/knopper.tk/www/app/views/categories/index.ctp" $___dataForView = array( "categories" => false ) $loadHelpers = true $cached = false $form = FormHelper FormHelper::$helpers = array FormHelper::$fieldset = array FormHelper::$__options = array FormHelper::$fields = array FormHelper::$requestType = NULL FormHelper::$defaultModel = NULL FormHelper::$_inputDefaults = array FormHelper::$base = "" FormHelper::$webroot = "/" FormHelper::$theme = NULL FormHelper::$here = "/categories/" FormHelper::$params = array FormHelper::$action = "index" FormHelper::$plugin = NULL FormHelper::$data = NULL FormHelper::$namedArgs = NULL FormHelper::$argSeparator = NULL FormHelper::$validationErrors = NULL FormHelper::$tags = array FormHelper::$__tainted = NULL FormHelper::$__cleaned = NULL FormHelper::$Html = HtmlHelper object $session = SessionHelper SessionHelper::$helpers = array SessionHelper::$__active = true SessionHelper::$valid = false SessionHelper::$error = false SessionHelper::$_userAgent = "8a9cd07c04b7ed6d9f038327a2c19d44" SessionHelper::$path = "/" SessionHelper::$lastError = NULL SessionHelper::$security = "high" SessionHelper::$time = 1283996366 SessionHelper::$sessionTime = 1283997566 SessionHelper::$cookieLifeTime = 0 SessionHelper::$watchKeys = array SessionHelper::$id = NULL SessionHelper::$host = NULL SessionHelper::$timeout = NULL SessionHelper::$base = "" SessionHelper::$webroot = "/" SessionHelper::$here = "/categories/" SessionHelper::$params = array SessionHelper::$action = "index" SessionHelper::$data = NULL SessionHelper::$theme = NULL SessionHelper::$plugin = NULL $bbcode = BbcodeHelper BbcodeHelper::$helpers = NULL BbcodeHelper::$base = "" BbcodeHelper::$webroot = "/" BbcodeHelper::$theme = NULL BbcodeHelper::$here = "/categories/" BbcodeHelper::$params = array BbcodeHelper::$action = "index" BbcodeHelper::$plugin = NULL BbcodeHelper::$data = NULL BbcodeHelper::$namedArgs = NULL BbcodeHelper::$argSeparator = NULL BbcodeHelper::$validationErrors = NULL BbcodeHelper::$tags = array BbcodeHelper::$__tainted = NULL BbcodeHelper::$__cleaned = NULL $html = HtmlHelper HtmlHelper::$tags = array HtmlHelper::$_crumbs = array HtmlHelper::$__includedScripts = array HtmlHelper::$_scriptBlockOptions = array HtmlHelper::$__docTypes = array HtmlHelper::$helpers = NULL HtmlHelper::$base = "" HtmlHelper::$webroot = "/" HtmlHelper::$theme = NULL HtmlHelper::$here = "/categories/" HtmlHelper::$params = array HtmlHelper::$action = "index" HtmlHelper::$plugin = NULL HtmlHelper::$data = NULL HtmlHelper::$namedArgs = NULL HtmlHelper::$argSeparator = NULL HtmlHelper::$validationErrors = NULL HtmlHelper::$__tainted = NULL HtmlHelper::$__cleaned = NULL $categories = falseinclude - APP/views/categories/index.ctp, line 5 View::_render() - CORE/cake/libs/view/view.php, line 723 View::render() - CORE/cake/libs/view/view.php, line 419 Controller::render() - CORE/cake/libs/controller/controller.php, line 913 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83
Copyright 2004-2010 Sander Knopper, powered by Knopper ICT