We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

upload destination mysql error

Development and Programming

c_k's avatar
c_k
98 posts
16 years ago
c_k's avatar c_k

I am trying to create a new upload destination on our website and each time I try to set it up I get this error:

MySQL ERROR:

Error Number: 1064

Description: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ON DUPLICATE KEY UPDATE id=values(id), key=values(key), val

Query: INSERT INTO exp_mh_file VALUES(”, 2, ‘allow_multiple’, ‘no’) ON DUPLICATE KEY UPDATE id=values(id), key=values(key), value=values(value)

Any idea what the problem is?

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

That is a problem with Mark Huot’s file extension, as you can see with the exp_mh_file. If you disable that you should be able to create a standard file upload destination.

Going to move this down to extensions for you as well.

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg

c_k– make sure you’re using the latest version of the extension. Are you on 3.1.1?

http://docs.markhuot.com/ee/extensions/file

       
c_k's avatar
c_k
98 posts
16 years ago
c_k's avatar c_k

yes I am using the most updated version..

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.