file upload sql error- file extension
Posted: 17 June 2008 08:52 AM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  134
Joined  08-22-2007

When I attempt to click on File Upload Preferences in the CP I get the following 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 ‘’ at line 1

Query: SELECT * FROM exp_mh_file WHERE upload_id=

EDIT:  Correction…  when I click on Create New Upload Destination from within File Upload Preferences.

Please advise.

Thank you,

Rick

Profile
 
 
Posted: 17 June 2008 09:00 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

It looks like a third party extension throwing the error- Mark’s file extension, guessing based on the table name.  Try disabling all extensions- should eliminate the error.

To figure out why and how to fix it, you’d want to contact the author or check the extensions forum.  If you like, I can shift this one over there and tweak the title.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 17 June 2008 09:29 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  134
Joined  08-22-2007

ah…  I see the table name.  Sorry…  I was in such a hurry I didn’t even pay much attention.  I just posted for help.  I usually don’t do that.  Again, I apologize.

Thank you,

Rick

Profile
 
 
Posted: 17 June 2008 09:32 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

We’re here to help, so posting was a good thing!  Think I will go ahead and shift down to ‘extensions’- I’m pretty sure there’s a known way around this, but I don’t recall what it is.  Disable extensions, create the new field, re-enable.  Something along those lines.  But I don’t have it installed to test, so can’t swear.

Should be fixable, though.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64908 Total Logged-in Users: 30
Total Topics: 81852 Total Anonymous Users: 20
Total Replies: 440059 Total Guests: 235
Total Posts: 521911    
Members ( View Memberlist )