Closed (fixed)
Project:
e-Commerce
Version:
5.x-3.0-beta3
Component:
shipping
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2007 at 20:49 UTC
Updated:
25 Mar 2007 at 00:15 UTC
It looks like these two errors may be related.
First, when I go to create a fullfillment center:
# user warning: Table 'sassy_drpl1.ec_shipping_shipfrom' doesn't exist query: SELECT COUNT(*) FROM ec_shipping_shipfrom in /home/sassy/public_html/n/includes/database.mysql.inc on line 172.
# user warning: Table 'sassy_drpl1.ec_shipping_shipfrom' doesn't exist query: SELECT * FROM ec_shipping_shipfrom ORDER BY title ASC LIMIT 0, 25 in /home/sassy/public_html/n/includes/database.mysql.inc on line 172
Second, when I create a product:
* user warning: Table 'sassy_drpl1.ec_shipping_product' doesn't exist query: SELECT service, method FROM ec_shipping_product WHERE vid = 2 in /home/sassy/public_html/n/includes/database.mysql.inc on line 172.
* user warning: Table 'sassy_drpl1.ec_shipping_product_attribute' doesn't exist query: SELECT field, value FROM ec_shipping_product_attribute WHERE vid = 2 in /home/sassy/public_html/n/includes/database.mysql.inc on line 172.
Thanks for everyone's hard work on this incredible module.
Comments
Comment #1
simeis this a fresh install or an upgrade?
Comment #2
notarealperson commentedFresh install - running Drupal 5.1.
Comment #3
adshill commentedI'm getting a similar problem when adding a product, fresh install of drupal 5.1 and ecommerce:
If anyone can help it would be much appreciated!
Comment #4
adshill commentedSorry... I just ran update 1 on the shipping module on the update.php page and the error appears to have gone away! Hope that helps...
Comment #5
gordon commentedThis is fixed or you had a bad install
Comment #6
robertgarrigos commentedI just uninstalled my ecommerce package and installed the .dev tarball and got the same problem. It is a fresh 5.1 install and only ecommerce core modules activated
Comment #7
robertgarrigos commentedThe only way I could fix this was by deleting the entry for the shipping module in the system table. If you have a bad install, for whatever reason, this is the only way to uninstall the module as this module doesn't use the hook_uninstall (unless you use the dev module to re-install de module which should do the job I guess). I set this to fixed as the shipping module has really installed the tables after all.
Comment #8
Tedhere commentedCan some one just post the query code to install the table properly? I have phpMyAdmin.
Comment #9
swe3tdave commentedthis worked for me:
Comment #10
(not verified) commented