Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
error - How do I fix this?
Avatar
fiddlerman
Member
Free Members
sp_UserOfflineSmall Offline
Feb 12, 2014 - 6:17 am

February 11, 20149:59 am | spaErrError | 1 | database


file: /problem-with-post-edit-buttonome/fiddlerm/public_html/wp-content/sp-resources/forum-plugins/report-post/library/sp-report-post-components.php

line: 73

function: spdb_table

error: 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

SELECT post_content FROM wp_sfposts WHERE post_id=

Thanks laugh

"The richest person is not the one who has the most, but the one who needs the least."


Learn to Play Violin for Free - http://www.fiddlerman.com

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 12, 2014 - 6:41 am

Did this error happen when you were actually reporting a post - i.e., did you see the 'Invalid Database Query' message? Or get a report from another user?

I am guessing that someone ran an old url that had no POST variables. Yes - it would be best if we checked for those being empty and I can address that but it would be useful to know the circumstances of the error happening.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620