TinyPortal

Development => Feedback => Topic started by: GTS on June 27, 2006, 07:55:58 PM

Title: Change behaviour, when item isn't found.
Post by: GTS on June 27, 2006, 07:55:58 PM
I get pretty often errors in my error-log, that relates to items that aren't there anymore.


http://www.gts-stuff.com/index.php?action=tpmod;dl=item10

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 'AND type = 'dlcat' LIMIT 1' at line 1
File: /***/www/Sources/TPdlmanager.php
Line: 419


It should say something like "requested item not found" or something, instead of throwing a database error.

(i'm using tp 0.86)
Title: Re: Change behaviour, when item isn't found.
Post by: bloc on June 28, 2006, 05:51:36 PM
Fixed for v0.9.5.
Title: Re: Change behaviour, when item isn't found.
Post by: GTS on June 28, 2006, 06:22:45 PM
Alright, thanks ^^