Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi,

I would like to delete products from catalog, but when i press delete button i get this error message

 

1054 - Unknown column 'products_id' in 'where clause'

 

select popup_images from additional_images where products_id = '51'

 

I suppose i have to add or change something in database but dont know what :(

please,please help.

 

Regards,

Yvette

Posted

I'm using OSC v2.2 rc2a & getting this exact same error when I've completed a PayPal payment & am redirected back to my store

1054 - Unknown column 'os.downloads_flag' in 'where clause'

select date_format(o.date_purchased, '%Y-%m-%d') as date_purchased_day, opd.download_maxdays, op.products_name, opd.orders_products_download_id, opd.orders_products_filename, opd.download_count, opd.download_maxdays from orders o, orders_products op, orders_products_download opd, orders_status os where o.customers_id = '2' and o.orders_id = '118' and o.orders_id = op.orders_id and op.orders_products_id = opd.orders_products_id and opd.orders_products_filename != '' and o.orders_status = os.orders_status_id and os.downloads_flag = '1' and os.language_id = '1'

[TEP STOP]

 

Otherwise the page looks correct. Below this message, I have the regular "Your order has been processed!" message.

 

I can imagine this doesn't inspire confidence in my customers.

 

And I don't know if this is related, but the PayPal Standard payment module isn't transferring the purchased items to PayPal - just the total price - the item shows up as my store name. I can look at the order in the admin panel & see which items were ordered, but my PayPal account only shows the total purchase as a lump sum.

 

Any help would be greatly appreciated!

Posted

Oops - mine is similar, not the same. But this thread helped to point me in the right direction!

Posted

This should be a Mysql 5 related error.

 

 

So modify sql query looking into mysql 5 patches.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

  • 2 months later...
Posted

I have the same problem

 

1054 - Unknown column 'os.downloads_flag' in 'where clause'

select date_format(o.date_purchased, '%Y-%m-%d') as date_purchased_day, opd.download_maxdays, op.products_name, opd.orders_products_download_id, opd.orders_products_filename, opd.download_count, opd.download_maxdays from orders o, orders_products op, orders_products_download opd, orders_status os where o.customers_id = '1060' and o.orders_id = '767' and o.orders_id = op.orders_id and op.orders_products_id = opd.orders_products_id and opd.orders_products_filename != '' and o.orders_status = os.orders_status_id and os.downloads_flag = '1' and os.language_id = '5'

 

Don't know what to do...

  • 1 month later...
Posted

If you are NOT offering downloadable products a simple fix is to comment out the inclusion of the downloads.php file.

 

On a stock install, around line 148, change

 

<? php if (DOWNLOAD_ENABLED == 'true') include(DIR_WS_MODULES . 'downloads.php'); ?>

 

to

 

<?

//php if (DOWNLOAD_ENABLED == 'true') include(DIR_WS_MODULES . 'downloads.php');

?>

 

Checkout success page should look beautiful.

  • 9 months later...
Posted
Oops - mine is similar, not the same. But this thread helped to point me in the right direction!

 

oh hi there, i got the same problem as you. i was wondering how you solve this problem. any help very much appreciated by me thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...