All pastes #565090 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-13 21:29 UTC
rendered paste body
Warning: PDOStatement::execute() [function.PDOStatement-execute]: SQLSTATE[HY000]: General error: 2036 
#0 in system/classes/databaseconnection.php:245: PDOStatement->execute(array ( ))
#1 in system/classes/databaseconnection.php:498: DatabaseConnection->query('select round(360000.0 / (UNIX_TIMESTAMP(max(date)) - UNIX_TIMESTAMP(min(date))), 2) from (select date from habari__comments WHERE status = 2 order by date desc limit 10) as c3', array ( ))
#2 in system/classes/db.php:292: DatabaseConnection->get_value('select round(360000.0 / (UNIX_TIMESTAMP(max(date)) - UNIX_TIMESTAMP(min(date))), 2) from (select date from habari__comments WHERE status = 2 order by date desc limit 10) as c3', array ( ))
#3 in system/admin/moderate.php:23: DB->get_value('select round(360000.0 / (UNIX_TIMESTAMP(max(date)) - UNIX_TIMESTAMP(min(date))), 2) from (select date from habari__comments WHERE status = 2 order by date desc limit 10) as c3')
#4 in system/classes/rawphpengine.php:44: include('/path/to/myblog/htdocs/system/admin/moderate.php')
#5 in system/classes/theme.php:329: RawPHPEngine->display('moderate')
#6 in system/classes/adminhandler.php:511: Theme->display('moderate')
#7 in system/classes/adminhandler.php:73: AdminHandler->display('moderate')
#8 in system/classes/actionhandler.php:33: AdminHandler->act_admin()
#9 in system/classes/controller.php:124: ActionHandler->act('admin')
#10 in index.php:143: Controller::dispatch_request()