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
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    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.

  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. v154 fatal error 1101 on fresh local install of 1.5.4
    By keneso in forum Installing on a Windows Server
    Replies: 6
    Last Post: 4 Jan 2015, 01:50 AM
  2. v151 Fatal error: 1054:Unknown column 'gzpost' in 'field list'
    By dellaenterprises in forum Upgrading to 1.5.x
    Replies: 11
    Last Post: 22 Jan 2013, 12:29 AM
  3. v150 install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT
    By tparmley2001 in forum Installing on a Windows Server
    Replies: 9
    Last Post: 6 Aug 2012, 04:22 AM
  4. BLOB/TEXT column 'products_options_values' can't have a default value ??
    By quantumfusion in forum Installing on a Windows Server
    Replies: 16
    Last Post: 26 Jan 2008, 01:40 AM
  5. 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR