Hi all,

I'm getting...

user warning: Unknown column 'hide_buynow_link' in 'field list' query: UPDATE ec_product SET nid = 8, vid = 26, ptype = 'tangible', sku = '', price = 49.90, hide_buynow_link = 0, hide_cart_link = 0 WHERE vid = 26 in /home/private.com/www/includes/common.inc on line 3422.

(See attached pic).

I'm using 6.x-4.0-rc6 and drupal latest stable release D6...

Sorry I posted this as critical because I think for most people it is if they can't put products up using ecommerce!

Thanks!

CommentFileSizeAuthor
error.jpg66.68 KBd------

Comments

gordon’s picture

Have you run update.php? If you have can you uninstall buynow, and reinstall it, this should Add the field to the database.

Let me know how it goes.

BTW, Nice looking site.

d------’s picture

Hi Gordon,

Thanks for your help & compliments... nice module! :) I'm following your advice but got this when reinstalling BuyNow module ...

user warning: ALTER command denied to user 'private'@'localhost' for table 'ec_product' query: ALTER TABLE ec_product ADD `hide_buynow_link` INT unsigned NOT NULL DEFAULT 0 in /home/private.com/www/includes/database.mysql-common.inc on line 298.

So I need to get the web host for this to give me ALTER permissions I guess then I can continue to fix this. I'll post back to confirm if it works or not.

Thanks again!

Dan

gordon’s picture

With Drupal this is generally required for when ever you are installing new modules or running the update.php

gordon’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.