News: TinyPortal Release Schedule. Please read this update for More Info.

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

February 21, 2020, 02:50:37 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189508
  • Total Topics: 20801
  • Online Today: 195
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 0
Guests: 182
Total: 182

Author Topic: Syntax Error Conflict  (Read 1383 times)

0 Members and 1 Guest are viewing this topic.

Celedor

  • Guest
Syntax Error Conflict
« on: April 04, 2010, 09:54:48 AM »
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
« Last Edit: April 05, 2010, 08:26:48 AM by ZarPrime »

Celedor

  • Guest
Re: Syntax Error Conflict
« Reply #1 on: April 04, 2010, 11:00:04 AM »
Reply from the Die Roller Mod Author:

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.

Offline bloc

  • Founder
  • *
  • Posts: 5217
    • Bloc
Re: Syntax Error Conflict
« Reply #2 on: April 04, 2010, 02:08:51 PM »
Was the description text large? Or had any apostrophes in it?

Celedor

  • Guest
Re: Syntax Error Conflict
« Reply #3 on: April 04, 2010, 04:35:02 PM »
It did indeed have an apostrophe in it, removed it, tried again, and it worked properly.

Offline bloc

  • Founder
  • *
  • Posts: 5217
    • Bloc
Re: Syntax Error Conflict
« Reply #4 on: April 05, 2010, 04:17:26 AM »
Ah, ok. Then i will also add a check for that in the update.

Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: Syntax Error Conflict
« Reply #5 on: April 05, 2010, 08:27:14 AM »
Marked solved. O0