TinyPortal

Development => Support => Topic started by: Celedor on April 04, 2010, 04:54:48 PM

Title: Syntax Error Conflict
Post by: Celedor on April 04, 2010, 04:54:48 PM
Beta 5 Installed into 2.0 RC 3, everything works, except if I try to upload a file into the download manager I get this error after entering all the data and hitting the save/send button:

Quote
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 's Die Roller Ap', '

', 'http://rpgfreelancers.org/smf/tp-downloads/icons/blan' at line 3
File: /home/celedor/public_html/smf/Sources/TPdlmanager.php
Line: 221

Which I believe indicates a cross issue with this mod:

http://custom.simplemachines.org/mods/index.php?mod=2032
Title: Re: Syntax Error Conflict
Post by: Celedor on April 04, 2010, 06:00:04 PM
Reply from the Die Roller Mod Author:

Quote from: Arantor on April 04, 2010, 05:12:31 PM
That's nothing to do with this mod; there are no changes whatsoever in TPdlmanager.php on account of the last version I did I hadn't used TP at all. I'd be asking TP about it.

Even if I uninstall the die roller mod, the same error pops up whenever I hit the save button attempting to upload a file.
Title: Re: Syntax Error Conflict
Post by: bloc on April 04, 2010, 09:08:51 PM
Was the description text large? Or had any apostrophes in it?
Title: Re: Syntax Error Conflict
Post by: Celedor on April 04, 2010, 11:35:02 PM
It did indeed have an apostrophe in it, removed it, tried again, and it worked properly.
Title: Re: Syntax Error Conflict
Post by: bloc on April 05, 2010, 11:17:26 AM
Ah, ok. Then i will also add a check for that in the update.
Title: Re: Syntax Error Conflict
Post by: ZarPrime on April 05, 2010, 03:27:14 PM
Marked solved. O0