Notice (8): Undefined index: user_groupid [APP\controllers\users_controller.php, line 506]
Code function budgetplan(){
$this->checkExitsSession();
if ($_SESSION["user_groupid"] != 1){
UsersController::budgetplan() - APP\controllers\users_controller.php, line 506
Object::dispatchMethod() - CORE\cake\libs\object.php, line 114
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 259
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 213
[main] - APP\webroot\index.php, line 90
Notice (8): Undefined index: user_id [APP\controllers\users_controller.php, line 512]
Code }
$this->pageTitle = "<title>Cùng xây tổ ấm - Theo dõi chi phí xây nhà - Theo doi chi phi xay nha</title>";
$memId = $_SESSION["user_id"];
UsersController::budgetplan() - APP\controllers\users_controller.php, line 512
Object::dispatchMethod() - CORE\cake\libs\object.php, line 114
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 259
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 213
[main] - APP\webroot\index.php, line 90
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 'and isdel = 0 LIMIT 1' at line 1 [CORE\cake\libs\model\datasources\dbo_source.php, line 521]
Code |
Context$sql = "SELECT * FROM `hcd_budgetplans` AS `Budgetplans` WHERE member_id = and isdel = 0 LIMIT 1"
$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 'and isdel = 0 LIMIT 1' at line 1"
$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 521
DboSource::execute() - CORE\cake\libs\model\datasources\dbo_source.php, line 208
DboSource::fetchAll() - CORE\cake\libs\model\datasources\dbo_source.php, line 344
DboSource::read() - CORE\cake\libs\model\datasources\dbo_source.php, line 638
Model::find() - CORE\cake\libs\model\model.php, line 1822
Model::findAll() - CORE\cake\libs\model\model.php, line 2722
UsersController::checkExistBudgetPlan() - APP\controllers\users_controller.php, line 526
UsersController::budgetplan() - APP\controllers\users_controller.php, line 514
Object::dispatchMethod() - CORE\cake\libs\object.php, line 114
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 259
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 213
[main] - APP\webroot\index.php, line 90
Query: SELECT * FROM `hcd_budgetplans` AS `Budgetplans` WHERE member_id = and isdel = 0 LIMIT 1
Missing View
Missing View
Error:
The view for UsersController::budgetPlan() was not found.
Error:
Confirm you have created the file: D:\xampp\htdocs\cungxaytoam\web\app\views\users\budget_plan.ctp
Notice:
If you want to customize this error message, create app\views\errors\missing_view.ctp