TinyPortal

Development => Support => Topic started by: Lizzy Rose on April 22, 2010, 10:08:11 PM

Title: error in SQL syntax
Post by: Lizzy Rose on April 22, 2010, 10:08:11 PM
I am using
Forum version: SMF 2.0 RC3
Current SMF version: SMF 2.0 RC3
TinyPortal v1.0 beta 5-1

I was adding icons to two files in the downloads section in Tiny Portal when I received the following error. 

Quote
Database 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 's Uploaded Files' WHERE id=2' at line 1
File: /home/sisterho/public_html/Sources/TPdlmanager.php
Line: 2052

I was told
Quoteit seems to be a bug with TP itself.

I did a search, but the only results I received were from 2005 and 2006.
Any help would be greatly appreciated.
Title: Re: error in SQL syntax
Post by: IchBin on April 22, 2010, 10:09:39 PM
There have been some bugs regarding this. Are you using an apostrophe in any of the text titles or descriptions?
Title: Re: error in SQL syntax
Post by: Lizzy Rose on April 23, 2010, 09:45:53 AM
No, no apostropes in any of the titles or descriptions.
Title: Re: error in SQL syntax
Post by: ZarPrime on April 23, 2010, 10:20:19 AM
Lizzy Rose,

Can you duplicate this.  If so, can you give us the exact steps you went through to get this error so that I can try to duplicate it on my test site?

Thanks,
ZarPrime
Title: Re: error in SQL syntax
Post by: Freddy on April 23, 2010, 02:26:42 PM
Perhaps apostrophes are being used in the category name ?

Looks to me you might have a category called Someone's Uploaded Files..