Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

headertagscontroller v2 , help please


Guest

Recommended Posts

Posted

Hi,

 

Can't seem to get past the sable changes bit.

 

products_head_title_tag varchar 50

 

goes in fine, but the next 2:-

 

products_head_desc_tag longtext 300

products_head_keywords_tag longtext 300

 

both come up with :-

 

ALTER TABLE products_description ADD products_head_desc_tag LONGTEXT (300) not null

MySQL said: You have an error in your SQL syntax near '(300) not null ' at line 1

 

Any idea what I'm doing wrong?

 

regards

 

len

Posted

Ref: http://www.mysql.com/doc/en/BLOB.html

 

I remember that I also had problems since MySQL-Front wouldn't let me do this. I eventually created the 2 fields as

lontext not null

 

I did not find any references that stated that I could not specify the field length.

 

HTH

Posted

hi kent,

thanks a lot, will give it a try

 

regards

 

len

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...