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 `host` = 1 AND `endstamp` > 1337749808' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 514]
Code |
Context$sql = "SELECT count(id)+1 FROM `sweet_users` where `ninki` > AND `host` = 1 AND `endstamp` > 1337749808"
$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 `host` = 1 AND `endstamp` > 1337749808' at line 1"
$out = null
/home/hideking/www/remakesweet/cake/libs/debugger.php (line 517)
$out = null;
if ($error) {
trigger_error("<span style = \"color:Red;text-align:left\"><b>SQL Error:</b> {$this->error}</span>", E_USER_WARNING);
/home/hideking/www/remakesweet/cake/libs/debugger.php (line 520)
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 514
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 201
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 337
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 221
Model::query() - CORE/cake/libs/model/model.php, line 2285
Host::getrank() - APP/models/host.php, line 156
HostsController::view() - APP/controllers/hosts_controller.php, line 303
HostsController::m_view() - APP/controllers/hosts_controller.php, line 346
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 88
/home/hideking/www/remakesweet/cake/libs/model/datasources/dbo_source.php (line 518)Query: SELECT count(id)+1 FROM `sweet_users` where `ninki` > AND `host` = 1 AND `endstamp` > 1337749808
Warning (2): array_shift() [function.array-shift]: The argument should be an array [APP/models/host.php, line 162]
Code |
Context$int = null
$rank = array(
array(
null
)
)
/home/hideking/www/remakesweet/cake/libs/debugger.php (line 520)
array_shift - [internal], line ??
Host::getrank() - APP/models/host.php, line 162
HostsController::view() - APP/controllers/hosts_controller.php, line 303
HostsController::m_view() - APP/controllers/hosts_controller.php, line 346
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 88
Notice (8): Undefined index: birthday [APP/controllers/hosts_controller.php, line 305]
Code |
Context$id = "<pre class="
$data = array(
"rank" => null
)
$count = 609
/home/hideking/www/remakesweet/cake/libs/debugger.php (line 517)
$data['rank'] = $this->Host->getrank($data['ninki']);
$birthday = explode('-',$data['birthday']);
/home/hideking/www/remakesweet/cake/libs/debugger.php (line 520)
HostsController::view() - APP/controllers/hosts_controller.php, line 305
HostsController::m_view() - APP/controllers/hosts_controller.php, line 346
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 88
Notice (8): Undefined offset: 1 [APP/controllers/hosts_controller.php, line 306]
Code |
Context$id = "<pre class="
$data = array(
"rank" => null
)
$count = 609
$birthday = array(
""
)
/home/hideking/www/remakesweet/cake/libs/debugger.php (line 517)
$birthday = explode('-',$data['birthday']);
$birthday = $birthday[0].$birthday[1].$birthday[2];
/home/hideking/www/remakesweet/cake/libs/debugger.php (line 520)
HostsController::view() - APP/controllers/hosts_controller.php, line 306
HostsController::m_view() - APP/controllers/hosts_controller.php, line 346
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 88
Notice (8): Undefined offset: 2 [APP/controllers/hosts_controller.php, line 306]
Code |
Context$id = "<pre class="
$data = array(
"rank" => null
)
$count = 609
$birthday = array(
""
)
/home/hideking/www/remakesweet/cake/libs/debugger.php (line 517)
$birthday = explode('-',$data['birthday']);
$birthday = $birthday[0].$birthday[1].$birthday[2];
/home/hideking/www/remakesweet/cake/libs/debugger.php (line 520)
HostsController::view() - APP/controllers/hosts_controller.php, line 306
HostsController::m_view() - APP/controllers/hosts_controller.php, line 346
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 88
該当のホストは登録されていません
該当のホストは登録されていません
該当のホストは現在準備中です
該当のホストは現在準備中です