We will be doing some site maintenance and need to take the site down for 10 minutes.

Site will go down at 19:00 UTC

Forums / Installing on a Windows Server / install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT

install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT

Started by tparmley2001 on 17 Jun 2012, 1:48 AM · Views: 3,616

Results 1 to 10 of 10
17 Jun 2012, 1:48 AM
#1
tparmley2001 avatar

tparmley2001

New Zenner

Join Date:
Jun 2012
Posts:
6
Plugin Contributions:
0

install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT

I have been trying to install zencart for last couple days. running apache, php, and I have phpmyadmin installed. all connected and working properly.

When I try to install zencart i get this following error.
[17-Jun-2012 01:38:34 UTC] PHP Fatal error: 1101:BLOB/TEXT column 'page_parameters' can't have a default value :: CREATE TABLE admin_activity_log ( log_id bigint(15) NOT NULL auto_increment, access_date datetime NOT NULL default '0001-01-01 00:00:00', admin_id int(11) NOT NULL default '0', page_accessed varchar(80) NOT NULL default '', page_parameters text default '', ip_address varchar(20) NOT NULL default '', flagged tinyint NOT NULL default '0', attention varchar(255) NOT NULL default '', gzpost mediumblob NOT NULL default '', PRIMARY KEY (log_id), KEY idx_page_accessed_zen (page_accessed), KEY idx_access_date_zen (access_date), KEY idx_flagged_zen (flagged), KEY idx_ip_zen (ip_address) ) ENGINE=MyISAM COLLATE utf8_general_ci; in C:\Webserver\htdocs\zencart\includes\classes\db\mysql\query_factory.php on line 101

This error I do not understand and cant get pass it no matter what i try. Any help would be great.

17 Jun 2012, 5:29 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT

That's a known problem with Windows servers.

Is this on your own PC? Or is it with a windows hosting account with a hosting company? Which company?
If it's your own PC, what steps did you take to put webserver support on your PC? It would help to have specific steps to take to recreate the problem.

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

17 Jun 2012, 2:50 PM
#3
tparmley2001 avatar

tparmley2001

New Zenner

Join Date:
Jun 2012
Posts:
6
Plugin Contributions:
0

Re: install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT

right now this is on my own pc trying to finish building my wifes website. Before I transfer it to the live godaddy account.

I first installed: Apache 2.2.22, php 5.4.3, mysql 5.5 and phpmyadmin

This part all works correctly I can use phpmyadmin to create databases and users. I have my phpinfo page that will come up.

Then I start the zencart installer. I get to the database settings. type those all in and click next. this is when I get the error message. I have triple check all of my settings. Cant imagine I am missing anything.

THanks again

17 Jun 2012, 3:41 PM
#4
tparmley2001 avatar

tparmley2001

New Zenner

Join Date:
Jun 2012
Posts:
6
Plugin Contributions:
0

Re: install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT

ok I was able to get it to install by removing the following:
page_parameters text default '', removed default ''
gzpost mediumblob NOT NULL default '', removed default ''

the homepage comes up but the admin gives me a Http 500 error. Starting research on this error. thanks for any help

17 Jun 2012, 3:56 PM
#5
tparmley2001 avatar

tparmley2001

New Zenner

Join Date:
Jun 2012
Posts:
6
Plugin Contributions:
0

Re: install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT

this is the new error in zencart

[17-Jun-2012 15:36:53 UTC] PHP Fatal error: 1364:Field 'gzpost' doesn't have a default value :: insert into admin_activity_log (access_date, admin_id, page_accessed, page_parameters, ip_address) values (now(), '0', 'Log found to be empty. Logging started.', '', '127.0.0.1') in C:\Webserver\htdocs\zencart\includes\classes\db\mysql\query_factory.php on line 101

I have seen post on having to find this in mysql to fix this problem can someone tell me how to do it. Thanks

17 Jun 2012, 4:19 PM
#6
tparmley2001 avatar

tparmley2001

New Zenner

Join Date:
Jun 2012
Posts:
6
Plugin Contributions:
0

Re: install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT

using phpmyadmin to change gzpost in my database. But I cant leave it blank or change it to null. Am I doing something wrong.

17 Jun 2012, 4:29 PM
#7
tparmley2001 avatar

tparmley2001

New Zenner

Join Date:
Jun 2012
Posts:
6
Plugin Contributions:
0

Re: install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT

thanks to everyone. I was able to access the admin panel today just to to change the file names and delete the files. before I can continue. Thanks again
This should be on the main site. It is very easy to install once you know all the steps to correct the bugs.

18 Jun 2012, 7:29 AM
#8
wezelvis avatar

wezelvis

New Zenner

Join Date:
Sep 2011
Posts:
1
Plugin Contributions:
0

Re: install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT

Hi
I am having exactly the same problem installing version 1.5 on my windows 7 PC at home - I am using apache 2.2.20, PHP 5.3.5, mysql 5.5.15, and phpmyadmin 3.4.4. My setup works well for many other php based web applications.

Can you provide more details on how you solved the problem? What steps did you follow to correct the bugs?

many thanks

25 Jun 2012, 3:29 AM
#9
cmcm avatar

cmcm

New Zenner

Join Date:
Jun 2012
Posts:
4
Plugin Contributions:
0

Re: install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT

Local install on Windows 7 Pro with PHP5.3.13, MySQL 5.5, and IIS 7 and ZenCart 1.5
The zc_install would not complete. Checking the logs in 'cached' showed the install built the first few tables, but bombed out with errors including the "1101:BLOB/TEXT". I too spent several days searching the Internet trying to find source of problem and was finally led to actually looking at the install sql script and found that database engine for ZenCart is MyISAM. However, when using phpMyAdmin to create the empty database prior to the ZenCart install, MySQL was using a default engine of 'InnoDB'. The only place I could find to change this was to use MySQL's Workbench, and open the Server administration. There is a configure tab where the 'default-storage-engine' can be set to MyISAM. Once I made this change to MySQL and again created an empty database file for ZenCart, the zc_install worked flawlessly.

6 Aug 2012, 3:22 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT

tparmley2001:

I have been trying to install zencart for last couple days. running apache, php, and I have phpmyadmin installed. all connected and working properly.

When I try to install zencart i get this following error.
[17-Jun-2012 01:38:34 UTC] PHP Fatal error: 1101:BLOB/TEXT column 'page_parameters' can't have a default value :: CREATE TABLE admin_activity_log ( log_id bigint(15) NOT NULL auto_increment, access_date datetime NOT NULL default '0001-01-01 00:00:00', admin_id int(11) NOT NULL default '0', page_accessed varchar(80) NOT NULL default '', page_parameters text default '', ip_address varchar(20) NOT NULL default '', flagged tinyint NOT NULL default '0', attention varchar(255) NOT NULL default '', gzpost mediumblob NOT NULL default '', PRIMARY KEY (log_id), KEY idx_page_accessed_zen (page_accessed), KEY idx_access_date_zen (access_date), KEY idx_flagged_zen (flagged), KEY idx_ip_zen (ip_address) ) ENGINE=MyISAM COLLATE utf8_general_ci; in C:\Webserver\htdocs\zencart\includes\classes\db\mysql\query_factory.php on line 101

This error I do not understand and cant get pass it no matter what i try. Any help would be great.

tparmley2001:

this is the new error

[17-Jun-2012 15:36:53 UTC] PHP Fatal error: 1364:Field 'gzpost' doesn't have a default value :: insert into admin_activity_log (access_date, admin_id, page_accessed, page_parameters, ip_address) values (now(), '0', 'Log found to be empty. Logging started.', '', '127.0.0.1') in C:\Webserver\htdocs\zencart\includes\classes\db\mysql\query_factory.php on line 101

I have seen post on having to find this in mysql to fix this problem can someone tell me how to do it. Thanks

http://www.zen-cart.com/showthread.php?197182-Known-Bugs-%28and-fixes%29-with-v1-5-0&p=1142409#post1142409

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