Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

header tags controler


seanpaul

Recommended Posts

Hi All,

 

I am attempting to add the header tags controler but strangley I get an error in mysql syntax when inputing this ALTER TABLE products_description ADD products_head_desc_tag LONGTEXT(300) NULL;

ALTER TABLE products_description ADD products_head_keywords_tag LONGTEXT(300) NULL;

 

the error is 'You have an error in your SQL syntax near '( 300 ) NULL ' at line 1'

 

I am running a heavily modified osCommerce Release 2.2-CVS

 

If anyone can shed any light on this I would greatly appreciate it

 

Thanks

Link to comment
Share on other sites

I am going to assume you are pasting the query into phpmyadmin from a text editor - there are spaces between the brackets and number here:

 

( 300 )

 

Matti

Link to comment
Share on other sites

you can use the following for sql from phpadmin

 

ALTER TABLE products_description ADD products_head_title_tag VARCHAR(80) NULL;

ALTER TABLE products_description ADD products_head_desc_tag LONGTEXT NULL;

ALTER TABLE products_description ADD products_head_keywords_tag LONGTEXT  NULL;

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