TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 577
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 590
  • Total: 590

Change behaviour, when item isn't found.

Started by GTS, June 27, 2006, 07:55:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GTS

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)

bloc



This website is proudly hosted on Crocweb Cloud Website Hosting.