CashBuggers Posted June 19, 2010 Share Posted June 19, 2010 I'm using a script (AuroraGPT MRV4 Script) for a website that I own. When I try to visit some things it always shows up like the following: Database error: Invalid SQL: ERROR SHOWS UP HERE MySQL Error: 1364 (Field 'clicks' doesn't have a default value) Session halted. The field "clicks" is just one of them... there are more but all of them show up as "(Field 'example' doesn't have a default value)" How am I supposed to fix this error? Link to comment https://forums.phpfreaks.com/topic/205285-doesnt-have-a-default-value/ Share on other sites More sharing options...
fenway Posted June 20, 2010 Share Posted June 20, 2010 Change the default for that column with ALTER. Link to comment https://forums.phpfreaks.com/topic/205285-doesnt-have-a-default-value/#findComment-1074486 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.