Well the only thing I saw wrong in your classifieds directory is two things and neither one had to do with a query issue
1. You did not specify the
vb license number in config file
2. You placed the wrong path to the forum on the last step of install