user warning

Project: 
Ubercart
Category: 
bug report
Priority: 
normal
Status: 
closed

i'm using the bzr version of uc, last updated this past friday.

i'm able to get the file associated with the sku/product, but after editing the file download feature at node/2/edit/features/file/2 ...the following is generated

user warning: Unknown column 'pfid' in 'where clause' query: SELECT * FROM uc_file_products as p INNER JOIN uc_files as f ON p.fid = f.fid WHERE pfid = 2 in /home/bc_pec33d9i2x/public_html/includes/database.mysql.inc on line 172.

i've also got paypal wps enabled as gateway and it generates the following issues stated here

http://www.ubercart.org/forum/support/1437/new_order_status_or_something...

moreover, the file is not available for download after successful paypal payment, even after manually updating the order status to completed.

Re: user warning

These issues are related. If you are using the core uc_file module, you need to disable / uninstall the old Contrib, since it uses a database table with the same name as what's used in the new, Core module.

Re: Re: user warning

sweeeeet... that was it. i ran the uninstall but got a weird error at admin/modules that said i should contact the site admin! lol

anyway, after disabiling the *file* modules and dropping all uc*file* tables, then enabling the core file download mod, it worked...

tyvm