I get the following message when i click on submit for a post with an attachment. The post succeeds but the attachments doesnt. Mod version 2.3.6
Couldn't store Attachment.
Your post has been stored.
Quote:
DEBUG MODE
SQL Error : 1064 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 ' 0)' at line 1
I have this same error with the same mod and wondering what else could be an issue.
-=Kraft=-
Kraftwerk Nuke Cadet
Joined: Oct 25, 2005
Posts: 5
Posted:
Fri Nov 09, 2007 10:10 am
By the By.
I fixed this error - only by taking a posting_attachments.php from another website I set up years ago and it worked. I don't know why - but it did. There was nothing in the posting.php or posting_body.tpl that needed to be fixed, there was a line of code in posting_attachments.php that was giving me an error.
I don't know what the rules are here on posting links to stuff, but this is the posting_attachments.php in an .rar format. There's no viruses or anything, it is just my php file in an rar on my website - so if you are getting this problem, backup your files, and try this one.. What's the worst that can happen? It's already broke! lol
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum