Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2007
    Posts
    19
    Plugin Contributions
    0

    Default 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.zcObserverLogWriterDataba se.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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Data Base not complete on fresh install

    Correct. The code fix is posted here: http://www.zen-cart.com/showthread.p...57#post1268657
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v139g Cannot use the Sql install patch or import direct to data base
    By michelleodin in forum General Questions
    Replies: 1
    Last Post: 5 Jul 2014, 12:27 AM
  2. Complete fresh install = blank website
    By audiomandan in forum General Questions
    Replies: 7
    Last Post: 29 Nov 2010, 02:32 AM
  3. Fresh install but old data
    By hamid84 in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 4 Oct 2010, 09:55 AM
  4. Fresh 1.3.8 Install vs upgrading? How do I keep my old data?
    By Prophotoboy in forum Upgrading from 1.3.x to 1.3.9
    Replies: 8
    Last Post: 20 Feb 2008, 08:13 PM
  5. Data Base Issues - not connected - during install
    By hbtechguy in forum Installing on a Linux/Unix Server
    Replies: 25
    Last Post: 27 Sep 2007, 03:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR