Zen Cart Logo
Forums / Bug Reports / Data Base not complete on fresh install

Data Base not complete on fresh install

Views: 1,021

Results 1 to 2 of 2
12 Feb 2015, 5:28 PM
#1
mitchcecg avatar

mitchcecg

New Zenner

Join Date:
Feb 2007
Posts:
19
Plugin Contributions:
0

Data Base not complete on fresh install

system config
sbs 2011
iis7
php ver5.6.0
MySQL 5.6 64 bit
zencart v1.5.4 Fresh install

after completing zc_install successfully I could not get the admin screens at all server 500 error even though the empty store opens fine. after doing some troubleshooting I found the following error in the log

[12-Feb-2015 11:28:48 America/New_York] PHP Fatal error: 1101:BLOB/TEXT column 'logmessage' can't have a default value :: ALTER TABLE hi_admin_activity_log ADD COLUMN logmessage mediumtext NOT NULL default '' ==> (as called by) C:\inetpub\igethigh\admin\includes\classes\class.admin.zcObserverLogWriterDatabase.php on line 90 <== in C:\inetpub\igethigh\includes\classes\db\mysql\query_factory.php on line 155

I then manually added to the table hi_admin_activity_log ADD COLUMN logmessage mediumtext NOT NULL
and restarted iis now everything is fine.

Just thought o would want to know the installer did not create that db properly