CodeIgniter Forums
Fail to install - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Fail to install (/showthread.php?tid=71692)



Fail to install - dannesweden - 09-13-2018

Im trying to install this script but when i come to page 6 this text comes up "Field 'profile_views' doesn't have a default value"

What and where to do?


RE: Fail to install - ciadmin - 09-13-2018

Er, what script are you trying to install, and what does page 6 refer to? The pattern "profile_views" does not seem to be in any CodeIgniter file.


RE: Fail to install - Layne - 09-25-2018

please tell my sizegenetics me the https://www.virtualpalomarwest.org/sizegenetics-review/ right question what script you are trying to install


RE: Fail to install - Susan Burling - 09-26-2018

The question was raised on 13 September and I think I am already late to reply. You might have resolved this issue but whoever will have this issue can try this.

This issue generally pops up when using WAMP setups due to the default mysql configuration but sometimes on other web hosts. Try the following in order to fix it:

1) This is caused by the STRICT_TRANS_TABLES SQL mode defined in the PROGRAMDATA \MySQL\MySQL Server 5.6\my.ini file. By removing that setting and restarting MySQL should fix the issue. Search for: sql_mode = “STRICT_TRANS_TABLE” And remove that setting. You may have multiple settings in this field, but just remove the STRICT_TRANS_TABLE setting and it should fix your issue.

2) Look at this https://www.farbeyondcode.com/Solution-for-MariaDB-Field--xxx--doesn-t-have-a-default-value-5-2720.html