It may be the case that your application is old enough to don’t use the queries considered as *standard* nowadays.
For the most instances it’s about the order of tables, which can be corrected by updating the query code.
For example, your query looks like this:
SELECT f.* from forums f ,categories c LEFT JOIN admin m
ON (f.id=m.forum_id) WHERE f.category=c.id
The error you’d receive: unknown column “f.id” on…
To fix it, we need to change the order of table references ie
SELECT f.* from categories c,forums f LEFT JOIN admin m
ON (f.id=m.forum_id) WHERE f.category=c.id
It’s still strongly recommended to review the details at
http://dev.mysql.com/doc/refman/5.0/en/join.html
to understand all differences in JOIN syntax for newer versions of Mysql.
