Guest Posted November 6, 2006 Share Posted November 6, 2006 HI, I am trying to use the Auspost contribution "auspost_v2[1].0.2_1" I get an error message when i try to run the SQL strings string: CREATE TABLE geo_zones ( geo_zone_id int(11) NOT NULL auto_increment, geo_zone_name varchar(32) NOT NULL default '', geo_zone_description varchar(255) NOT NULL default '', last_modified datetime default NULL, date_added datetime NOT NULL default '', PRIMARY KEY (geo_zone_id) ) TYPE=MyISAM; error message: #1067 - Invalid default value for 'date_added' I dont know SQL well enough to decipher what the problem may be can some please give me a hand with this. Kind regards, raph Quote Link to comment Share on other sites More sharing options...
MOBASS Posted November 7, 2006 Share Posted November 7, 2006 I had exactly the same problem today and I found the solution by searching the forum (it took a while) The answer is: You would need to remove the default '' from the date_added line to make that work Good Luck Simon Guest Quote Link to comment Share on other sites More sharing options...
♥John W Posted August 22, 2017 Share Posted August 22, 2017 try changing it to this date_added datetime NOT NULL, or you can put a real date in for the default like below, but I would try the first one. date_added datetime DEFAULT '1970-01-01 00:00:01' NOT NULL, Quote I'm not really a dog. Link to comment Share on other sites More sharing options...
tgely Posted August 22, 2017 Share Posted August 22, 2017 set session sql_mode=""; Quote osCommerce based shop owner with minimal design and focused on background works. When the less is more.Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store. Link to comment Share on other sites More sharing options...
Dan Cole Posted August 22, 2017 Share Posted August 22, 2017 You guys know that this post is from 2006 right? Otherwise the update seems to be a shameless plug. Dan Quote Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
♥John W Posted August 22, 2017 Share Posted August 22, 2017 No Dan, I missed that I was looking at unread posts and this one was in the list. I guess lucas must have dug this up. Quote I'm not really a dog. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.