Im getting vbulletin database errors when people try to access non existent station ids:
Database error in vBulletin 3.7.1:
Invalid SQL:
SELECT cat_name FROM radiostation_category
WHERE categoryid =;
MySQL 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 '' at line 2
Error Number : 1064
Request Date : Saturday, July 5th 2008 @ 04:24:24 PM
Error Date : Saturday, July 5th 2008 @ 04:24:24 PM
Script :
http://xxxxxxxxxxxx.com/forum/radioa...?station=99999
why does this give a database error instead of vb error page or 404?
please fix, thanx