Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2005
    Posts
    460
    Plugin Contributions
    0

    Default [fixed] 1.5.0 BETA - PHP Fatal Error: 1101 - 'gzpost' can't have default value

    I thought I would have a look at the new 'beta' version, to see what we can look forward too but I am getting this error:

    Code:
    PHP Fatal Error: 1101 - BLOB/TEXT Column 'gzpost' can't have default value
    when trying to upgrade the database from 1.3.8 to 1.5.
    It seems its when upgrading 1.3.9 to 1.5 but also I get a white screen with 'WARNING: An Error occurred, please refresh the page and try again'
    between each database upgrade.

    PHP 5.3.1
    MySQL 5.1.39

    Beta version 07292011.

  2. #2
    Join Date
    Jan 2004
    Posts
    58,259
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: PHP Fatal Error: 1101 - 'gzpost' can't have default value

    Remove the " default ''" from line 56 of your /zc_install/sql/mysql_upgrade_zencart_139_to_150.sql file, so that the line looks like this:
    Code:
    ALTER TABLE admin_activity_log ADD COLUMN gzpost mediumblob NOT NULL;
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  3. #3
    Join Date
    Dec 2005
    Posts
    460
    Plugin Contributions
    0

    Default Re: PHP Fatal Error: 1101 - 'gzpost' can't have default value

    Thank you, installed OK.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 28 Jul 2011, 09:23 PM
  2. 1064 SQL Error on Zencart 1.3.9 RC1 (beta)
    By Decostyle in forum Installing on a Windows Server
    Replies: 3
    Last Post: 29 Apr 2010, 05:10 PM
  3. Fatal Error with other than default language
    By ellivir in forum General Questions
    Replies: 12
    Last Post: 3 Apr 2009, 10:01 PM
  4. 1101 BLOB/TEXT column can't have a default value
    By tkroh in forum Installing on a Windows Server
    Replies: 3
    Last Post: 27 Dec 2006, 10:28 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
  •