Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Canada Post crash

Locked

Started by soxophoneplayer on 22 Feb 2008, 7:54 PM · Views: 1,101

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
22 Feb 2008, 7:54 PM
#1
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Post #1 by soxophoneplayer

Sorry I posted this elsewhere first - couln't find how to start a question.

I'm on 1.3.7 via Dreamhost. I got to point of succesfully processing CanadaPost Shipping and Paypal processing. I made some kind of boo boo while customizing apperance (saved english.php in wrong folder) the mucked up the works. I had backups of all my customized files.

I stripped and re-installed 1.3.7 via Dreamhost and copied over my customized files. Everything worked including all the customized stuff.

But when I tried to set up a test product I got as far as the product showing in the admin panel, but when I hit 'insert' I get a 1054 Unknown_column_weight_type' in 'field list' [insert into zen_products.....long list of stuff] I confirmed that the shipping_units/php files have kgs and cm.

Unistalled whole works again, and elminated mysql database.

Reinstaled from Dreamhost again, with new clean bd. Reset config files and in the admin panel only set my country, currency, tax zone. I did not copy over any of my customizd files. Did a test product and it created fine and inserted fine.

I installed Canada Post 1.3.7. and then had same error result. I uninstalled the 1.3.7 and installed the 1.3.8 with the same result again.

Please help!

22 Feb 2008, 10:00 PM
#2
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Post #2 by soxophoneplayer

addendum:

the error refers to admin/inludes/modules/copy_tp_confirm line 36, seventh field, and down the entry a bit where the data from my test product are listed, the 7th field is kgs

I checked

admin/includes/extra_configures/shipping_units.php and
includes/extra_configures/shipping_units.php

both have SYSTEM and TEXT as kgs, cm

I also tried re-keying the test product toggling the weights and dimensions to lbs/inches and I stil got the error message.

All the other shipping modules are uninstalled (which I did before I installed Can Post) Only Canada Post is active.

What's driving me nuts is that it was working before:frusty:

23 Feb 2008, 5:14 AM
#3
drbyte avatar

drbyte

Sensei

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

Post #3 by drbyte

soxophoneplayer:

1054 Unknown_column_weight_type' in 'field list' [insert into zen_products.....long list of stuff]This suggests that you've not applied the SQL patch for the module you installed.

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

23 Feb 2008, 3:03 PM
#4
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Post #4 by soxophoneplayer

Thank you for answering.

I see the file mysqul_canpost_dim... in the downloaded CanPost folder. I'd not done anything with it as the Readme file didn't mention it.

I'm not tech savy.

I went into phpMyAdmin via my server panel (Dreamhost). I see a place to import a file. That place has a browse window to select the file, a field called Character Set of File that has a drop down list of greekish looking choices, and a check off box that the file is .sql.

To install the patch do I just import that file as above?

Thanks.

23 Feb 2008, 3:19 PM
#5
drbyte avatar

drbyte

Sensei

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

Post #5 by drbyte

From the Canada Post installation instructions, Install_CP.txt:> 2. Using Admin->Tools->Install SQLPatch, choose Browse, and select the SQL File: mysql_canpost_dimensional_13x.sql

Click on Send, and the adjustments will be made to the products table.

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

23 Feb 2008, 4:59 PM
#6
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Post #6 by soxophoneplayer

Well is my face red. I was so stressed with crashing I didn't see what was in front of my face.
Thanks from an embarassed soxophone player...

23 Feb 2008, 5:00 PM
#7
drbyte avatar

drbyte

Sensei

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

Post #7 by drbyte

No worries ... we've all been there ... :blush:

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

1 Jan 2009, 7:47 PM
#8
lava avatar

lava

New Zenner

Join Date:
Oct 2007
Posts:
16
Plugin Contributions:
0

Post #8 by lava

I'm trying to install the canada post module right now... haven't gotten very far. I cannot find Admin-->tools-->install sqlpatch anywhere!?! maybe i'm not looking in the right spot?? can someone please tell me exactly where to find this?

i've managed to upload all the rest of the files into the respective folders, but doing a search in my control panel for "tools" or "install sqlpatch" comes up with nothing.

thanks in advance, kelly :wacko:

LAVA - Leather Alternatives & Vegan Accessories
https://www.veganslovelava.ca

1 Jan 2009, 7:53 PM
#9
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Post #9 by charmedbytina2

LAVA,

Look at your admin panel not your cPanel.

Tina

1 Jan 2009, 8:10 PM
#10
lava avatar

lava

New Zenner

Join Date:
Oct 2007
Posts:
16
Plugin Contributions:
0

Post #10 by lava

thank you. i knew it was something incredibly easy that i was missing... :oops:

thanks! :clap:

LAVA - Leather Alternatives & Vegan Accessories
https://www.veganslovelava.ca