grinder
grinder copied to clipboard
crashes.note field created with NOT NULL but not being used in INSERT
I saw the issue https://github.com/stephenfewer/grinder/issues/41, but in my case I got a 404 error
.
I gave a look on the code, and in my case it seems that the problem is the table crashes
has a field note
with NOT NULL
, and the INSERT
query in status.php
don't provide this field.
-
https://github.com/stephenfewer/grinder/blob/master/server/install.php#L48
-
https://github.com/stephenfewer/grinder/blob/master/server/status.php#L141
I've solved it removing the NOT NULL
, but I think @stephenfewer can provide a better solution.
Best regards.