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 '' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 527]
Code |
Context$sql = "SELECT userid,fname,lname,email,phone,username,campaignid,roleid,createdby,addressid,createdon,modifiedon,lastlogin,isActive FROM users WHERE userid="
$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 '' 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 527
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 203
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 338
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 222
Model::query() - CORE/cake/libs/model/model.php, line 2360
User::GetUserDeatils() - APP/models/user.php, line 235
UsersController::account() - APP/controllers/users_controller.php, line 254
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 88
Query: SELECT userid,fname,lname,email,phone,username,campaignid,roleid,createdby,addressid,createdon,modifiedon,lastlogin,isActive FROM users WHERE userid=
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/isertive/cake/basics.php:109) [CORE/cake/libs/controller/controller.php, line 647]
Code |
Context$status = "Location: http://www.isertive.com"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 647
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 628
UsersController::account() - APP/controllers/users_controller.php, line 299
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 88