The 2 SQL errors appear to be someone visiting showflat and they don't have a limit set for the number of topics per page. I'm guessing since the config file wasn't working, it couldn't use the config default.

As for the the Forbidden errors. What permissions are set on the scripts giving those errors. I know you said you can't see any issues, but just checking if they are the same as the ones that are working.