Open analytys opened 9 years ago
@analytys how do you fix it?
could you check whether this problem also appears on the maintained for at https://github.com/staabm/xhprof.io
@staabm It does also appear on that fork
1.open your mysql command prompt 2.(replace the dbname to yours, my mysql database name is xhprof) use xhprof; 3.execute sql(set COLUMN request_caller_id default to 0): _ALTER TABLE requests CHANGE COLUMN request_caller_id request_caller_id INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER request_methodid;
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1364 Field 'request_caller_id' doesn't have a default value' in /web/xhprof.io/xhprof/classes/data.php:185 Stack trace: #0 /web/xhprof.io/xhprof/classes/data.php(185): PDOStatement->execute() #1 /web/xhprof.io/inc/append.php(26): ay\xhprof\Data->save(Array) #2 [internal function]: {closure}() #3 {main} thrown in /web/xhprof.io/xhprof/classes/data.php on line 185