Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

MoPics Question


JoeWoodworker

Recommended Posts

I was hoping someone could give me a hand with this little issue regarding the MoPics contribution.

 

When I go add the new column info in MYPHPAdmin I get this error.

 

 

Error

 

SQL-query :

 

ALTER TABLE `catalog`.`products` ADD `products_subimage1` VARCHAR( 64 ) AFTER `products_bimage`

 

MySQL said:

 

 

alter command denied to user: 'joewood@localhost' for table 'products'

 

 

Any suggestions would be sincerely appreciated.

 

Thanks

Joe

Evil will always triumph over good...

Because good is dumb.

- D.H.

Link to comment
Share on other sites

I noticed that I was confused about the instructions where they read....

 

Insert a new column into the products table - products_bimage.

 

Obviously, I have to do that first. But now I dont quite get how to do that in MYPHPAdmin

 

Any ideas?

 

Thanks

Joe

Evil will always triumph over good...

Because good is dumb.

- D.H.

Link to comment
Share on other sites

This command includes a database name as well as the table and field:

ALTER TABLE `catalog`.`products` ADD `products_subimage1` VARCHAR( 64 ) AFTER `products_bimage`

 

Change that to read:

ALTER TABLE `products` ADD `products_subimage1` VARCHAR( 64 ) AFTER `products_bimage`

Link to comment
Share on other sites

Database weinerd_osc2 running on localhost

Error

 

SQL-query :

 

ALTER TABLE `products` ADD `products_subimage1` VARCHAR( 64 ) AFTER `products_bimage`

 

MySQL said:

 

 

Unknown column 'products_bimage' in 'products'

--------------------

I'm not sure how to add the new column for 'products_bimage'.

 

Any suggestions for such a fool?

Evil will always triumph over good...

Because good is dumb.

- D.H.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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